0xc000007b on startup in 64bit debug mode, log file???, how to check which DLL ?
I'm converting a 32bit app to 64bit in VS2008 and i'm having a startup issue when debugging in 64bit mode, how can you find what DLL it is aborting on? is there a log somewhere? it's not getting to the InitInstance in the app. thanks for your help.
'test.exe': Loaded 'C:\Windows\System32\rpcrt4.dll'
'test.exe': Loaded 'C:\Windows\System32\psapi.dll'
'test.exe': Loaded 'C:\Windows\System32\comdlg32.dll'
'test.exe': Loaded 'C:\Windows\System32\shlwapi.dll'
The program ' test.exe: Native' has exited with code -1073741701 (0xc000007b).
I have loaded the exe in 64bit dependency walker and all shows 64bit except for the usual comdlg32.dll
Re: 0xc000007b on startup in 64bit debug mode, log file???, how to check which DLL ?
Originally Posted by hobnob
ok, done a windbg and found possibly something - looks to be loading x86 common controls, but how do I fix that?
Windows will always attempt to load the first DLL it finds that matches the name, regardless of whether the DLL is 32-bit or 64-bit. So no magic is being done by Windows to figure out if the DLL is 32-bit or 64-bit -- if the name matches, the OS attempts to load it.
So the answer to your question will be no different than answering "How do I get Windows to load my DLL from this directory instead of that directory?".