473,883 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

After conversion to 2005 now I get an error on exit

I got my 2003 code to compile in (old syntax) 2005. It runs, except I now
HAVE to set my Form to DoubleBuffered or else my drawn primitive graphics
flicker like crazy (which I had handled in 2003 via manual double buffering,
which I now removed).

Anyway, the application works, but now exits with some sort of exception:

First-chance exception at 0x0097a0e6 in PAO_Tools.exe: 0xC0000005: Access
violation writing location 0x00000011.
The thread 'Win32 Thread' (0xbb4) has exited with code -1073740791
(0xc0000409).

The thread 'Win32 Thread' (0xc08) has exited with code -1073740791
(0xc0000409).

The thread 'Win32 Thread' (0x264) has exited with code -1073740791
(0xc0000409).

The thread 'Win32 Thread' (0xdac) has exited with code -1073740791
(0xc0000409).

The program '[1644] PAO_Tools.exe: Managed' has exited with code -1073740791
(0xc0000409).

The program '[1644] PAO_Tools.exe: Native' has exited with code -1073740791
(0xc0000409).

I have no idea how to go about tracking this, especially since my code
worked fine in 2003...

[==P==]

Nov 17 '05 #1
1 3117
I have more information. It turns ut my program exits without error if I
allow it to bring up the black console screen ala using the following:

int _main(void)
{
//application
}

for my main call. But if I disable it, ala:

int __stdcall WinMain(void)
{
// application
}

then it exits with an exception error. Why should bringing up the console
change whether it exits with an exception or not? Is there a new form to
'int stdcall WinMain()", a main() call that disables the console, which
replaces it? Note that I'm using 2005 express with old syntax turn on.

[==P==]

"Peter Oliphant" <po*******@Roun dTripInc.com> wrote in message
news:uq******** ******@TK2MSFTN GP11.phx.gbl...
I got my 2003 code to compile in (old syntax) 2005. It runs, except I now
HAVE to set my Form to DoubleBuffered or else my drawn primitive graphics
flicker like crazy (which I had handled in 2003 via manual double
buffering, which I now removed).

Anyway, the application works, but now exits with some sort of exception:

First-chance exception at 0x0097a0e6 in PAO_Tools.exe: 0xC0000005: Access
violation writing location 0x00000011.
The thread 'Win32 Thread' (0xbb4) has exited with code -1073740791
(0xc0000409).

The thread 'Win32 Thread' (0xc08) has exited with code -1073740791
(0xc0000409).

The thread 'Win32 Thread' (0x264) has exited with code -1073740791
(0xc0000409).

The thread 'Win32 Thread' (0xdac) has exited with code -1073740791
(0xc0000409).

The program '[1644] PAO_Tools.exe: Managed' has exited with
code -1073740791 (0xc0000409).

The program '[1644] PAO_Tools.exe: Native' has exited with
code -1073740791 (0xc0000409).

I have no idea how to go about tracking this, especially since my code
worked fine in 2003...

[==P==]

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2240
by: Janick Bernet | last post by:
After updating to FP10, everytime i want to execute a stored procedure it gives me an error "Java or .NET interpreter startup or communication failed". In the db2diag.log there is an info just bevore the error saing that it attempts loading "libjvm.so" and also there is something about an SQL08023 which I could not find any information about. Anyone had similar problems? Would appreciate any help/tips which could lead to a solution.
6
9005
by: Shyguy | last post by:
I have a form where one of the entries is "Contact". On BeforeUpdate I check the table for the existance of that Contact. A mesage box informs the user that the name is already in the table and cancels the event. What I want to do is clear the text from the text box to allow the user to enter another name without deleting it. I have tried to set focus, set value to "" etc. but nothing works. Any help is appreciated.
3
2709
by: ET | last post by:
I don't know whats the problem, but after I added functions to first verify, then relink linked tables if not found, now I can't convert that database to MDE format. I can split the database, but can't convert part of the database with forms, reports, queries to MDE format. Can somebody advice on this? References, in the order, from the top:
14
9343
by: junky_fellow | last post by:
Can anybody please explain this: When a value with integer type is converted to another integer type other than _Bool, if the new type is unsigned, the value is converted by repeatedly adding or subtracting one more than the maximum value that can be represented in the new type until the value is in the range of the new type.
10
3106
by: Robert | last post by:
I have an app that was originally 1.1, now migrated to 2.0 and have run into some sporadic viewstate errors...usually saying the viewstate is invalid, eventvalidation failed or mac error. My web config does specify a machinekey setting: <machineKey validationKey="447C05E8B3A71401CC4CAE5513A7F1A3494A3618EE819316AAD1D58433F236A759D66FB4154500E01EB4E1BC1DE42046E2D652D391CB8367A1649438867A02EB"...
1
1771
by: musosdev | last post by:
Hi I've got a project I've just run through the conversion wizard, and it's giving me a few headaches. I've got a user control which has controls referrenced from its calling page (usercontrol1.textbox1.text etc). All worked fine in V2003, but 2005 is giving me a "usercontro1.textbox1 is inaccessible due to it's protection level" error. Obviously, with it now
0
1642
by: Rich | last post by:
I am converting my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 Professional (.NET v2.0.50727). The entire solution currently uses the following technologies - Windows Server 2003 Windows Mobile 2003 Windows XP Professional SP2 Windows 2000 Professional SP4 SQL Server 2000 Active Directory C#
5
4065
by: Martin JÝrgensen | last post by:
Hi, I'm using this alloc_mem-function (by Michael Mair): - - - - - - - - - - - - - - - - - - - - - - - - void *alloc_mem (size_t num_elems, size_t elem_size, char *filename, int line, size_t *total_mem) {
3
2279
by: sony.m.2007 | last post by:
Hi, Iím new to ASP.NET I have written a function with a return value. If the arguments to the functions are invalid means Iím giving exit(0) Else means do some process and return a value. When I compile the above code, it throws error and asked for a return value in the IF part Error 1 : not all code paths return a value Example Code(just to describe)
0
9933
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
11128
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10408
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7964
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Duprť who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7119
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5794
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.