Click here to Skip to main content
15,886,806 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralI really need help here! guru plz help Pin
YaronNir16-Dec-03 21:48
YaronNir16-Dec-03 21:48 
GeneralRe: I really need help here! guru plz help Pin
sam India16-Dec-03 22:06
sam India16-Dec-03 22:06 
GeneralRe: I really need help here! guru plz help Pin
YaronNir16-Dec-03 22:13
YaronNir16-Dec-03 22:13 
GeneralRe: I really need help here! guru plz help Pin
sam India16-Dec-03 22:48
sam India16-Dec-03 22:48 
GeneralRe: I really need help here! guru plz help Pin
YaronNir16-Dec-03 22:54
YaronNir16-Dec-03 22:54 
GeneralRe: I really need help here! guru plz help Pin
sam India16-Dec-03 23:58
sam India16-Dec-03 23:58 
GeneralRe: I really need help here! guru plz help Pin
YaronNir17-Dec-03 1:10
YaronNir17-Dec-03 1:10 
GeneralProblems recompiling under VC.Net Pin
James Spibey16-Dec-03 21:32
James Spibey16-Dec-03 21:32 
Hey Guys,

Yesterday I recompiled an MFC application in Visual C++.NET which had previously been built using VC6. Aside from a few casting issues, the compile seemed to work OK. However, the app will not execute. When I execute the app, the error I get is 0xC0000005: Access violation. The problem is that this exception is thrown before my app even gets into WinMain. The stack trace when the exception is raised is:-
<br />
NTDLL.DLL!_RtlRaiseStatus@4()  + 0x24	<br />
NTDLL.DLL!_LdrpInitialize@12()  + 0x15276	<br />
NTDLL.DLL!_KiUserApcDispatcher@20()  + 0x7


When I take a look in the output Window after execution I get.

First-chance exception at 0x77f92373 (NTDLL.DLL) in WMSClient.exe: 0xC0000005: Access violation writing location 0x00000010.<br />
First-chance exception at 0x7c59ba9d in WMSClient.exe: 0x000003E6: Invalid access to memory location.<br />
First-chance exception at 0x77f92373 (NTDLL.DLL) in WMSClient.exe: 0xC0000005: Access violation writing location 0x00000010.<br />
First-chance exception at 0x77fb17a4 (NTDLL.DLL) in WMSClient.exe: 0xC0000005: Access violation.<br />
Unhandled exception at 0x77fb17a4 (NTDLL.DLL) in WMSClient.exe: 0xC0000005: Access violation.<br />
The program '[1968] WMSClient.exe: Native' has exited with code 128 (0x80).


At first I thought it was maybe caused by one of the global variables causing problems but most of them are basic types. Those which are classes, I put a breakpoint in the constructor but it never gets called.

Can anyone suggest anything else to look at?

Cheers

James
GeneralRe: Problems recompiling under VC.Net Pin
Prakash Nadar16-Dec-03 21:42
Prakash Nadar16-Dec-03 21:42 
Generalmany if else if Pin
Jerome Conus16-Dec-03 21:23
Jerome Conus16-Dec-03 21:23 
GeneralRe: many if else if Pin
jhwurmbach16-Dec-03 21:32
jhwurmbach16-Dec-03 21:32 
GeneralRe: many if else if Pin
Prakash Nadar16-Dec-03 21:35
Prakash Nadar16-Dec-03 21:35 
GeneralRe: many if else if [modified] Pin
Marek Grzenkowicz16-Dec-03 23:44
Marek Grzenkowicz16-Dec-03 23:44 
GeneralRe: many if else if Pin
Ian Darling17-Dec-03 0:17
Ian Darling17-Dec-03 0:17 
GeneralRe: many if else if Pin
Ian Darling17-Dec-03 0:16
Ian Darling17-Dec-03 0:16 
General&quot;sys/ioctl.h&quot; Pin
zhaopzhi16-Dec-03 21:20
zhaopzhi16-Dec-03 21:20 
GeneralRe: &quot;sys/ioctl.h&quot; Pin
forjer16-Dec-03 22:21
forjer16-Dec-03 22:21 
GeneralCMemDc help Pin
satadru16-Dec-03 21:17
satadru16-Dec-03 21:17 
GeneralRe: CMemDc help Pin
Monty216-Dec-03 21:46
Monty216-Dec-03 21:46 
GeneralRe: CMemDc help Pin
satadru17-Dec-03 21:27
satadru17-Dec-03 21:27 
GeneralConnect network drive Pin
AnTri16-Dec-03 21:14
AnTri16-Dec-03 21:14 
Questionhow to get the absolute path(full path) for the file which is printed ??? Pin
skpanda16-Dec-03 21:12
skpanda16-Dec-03 21:12 
GeneralWaiting for thread closure Pin
Anonymous16-Dec-03 20:31
Anonymous16-Dec-03 20:31 
GeneralRe: Waiting for thread closure Pin
geo_m16-Dec-03 21:30
geo_m16-Dec-03 21:30 
GeneralMFC dialogs without a resource. Pin
Janovetz16-Dec-03 18:15
Janovetz16-Dec-03 18:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.