PC Review


Reply
Thread Tools Rate Thread

32bit application compiles in 64bit mode but errors in runtime

 
 
Chill Pill
Guest
Posts: n/a
 
      19th Mar 2010
I have two C++ applications that was originally written for 32bit
systems using visual studio 2008 under windows xp, I am doing some
research to port these applications into 64bit machine under windows
7. So I got both code to compile with x64 configuration in visual
studio 2008, however when I try to run these programs under window 7
pro 64bit they both bombed out at loading windows dll. below is
exactly what happened in VS output window, I tried to look for this
particular problem online but there seems to be no solution to this
problem, I'd imagine this would be a common error in trying to get
32bit program compile in x64mode and running it, any help would be
appreciated.

'xxx.exe': Loaded 'C:\SVN\xxx\trunk\xxx\x64\Release\xxx.exe', Symbols
loaded.
'xxx.exe': Loaded 'C:\Windows\System32\ntdll.dll'
'xxx.exe': Loaded 'C:\Windows\System32\kernel32.dll'
'xxx.exe': Loaded 'C:\Windows\System32\KernelBase.dll'
'xxx.exe': Loaded 'C:\Windows\System32\version.dll'
'xxx.exe': Loaded 'C:\Windows\System32\msvcrt.dll'
'xxx.exe': Loaded 'C:\Windows\winsxs
\amd64_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.30729.4148_none_04480933ab2137b1\mfc90.dll'
'xxx.exe': Loaded 'C:\Windows\winsxs
\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_08e1a05ba83fe554\msvcr90.dll'
'xxx.exe': Loaded 'C:\Windows\System32\user32.dll'
'xxx.exe': Loaded 'C:\Windows\System32\gdi32.dll'
'xxx.exe': Loaded 'C:\Windows\System32\lpk.dll'
'xxx.exe': Loaded 'C:\Windows\System32\usp10.dll'
'xxx.exe': Loaded 'C:\Windows\System32\shlwapi.dll'
The program '[1020] xxx.exe: Native' has exited with code -1073741701
(0xc000007b).
 
Reply With Quote
 
 
 
 
fallenidol
Guest
Posts: n/a
 
      23rd Mar 2010
are you referencing any non .net components? if these are 32-bit then
you will get errors when they are loaded into a 64-bit process.


On 19/03/2010 15:16, Chill Pill wrote:
> Native' has exited with code -1073741701
> (0xc000007b).

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win7/Vista printing from 32bit to 64bit or 64bit to 32bit Patrick Windows Vista Print / Fax / Scan 1 25th Jan 2010 06:12 PM
It compiles OK in Debug mode, but fails in Release mode Author Microsoft C# .NET 0 19th Jun 2008 06:18 PM
OEM 32bit to OEM 64bit Riggs Windows Vista General Discussion 9 7th Dec 2007 10:00 PM
switching from 64bit to 32bit now then back to 64bit later =?Utf-8?B?UCBSZW50b24=?= Windows Vista Installation 4 12th Feb 2007 03:17 AM
V++6 compiles OK but VS2005 gives errors Franky Microsoft VC .NET 4 26th Dec 2006 09:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:42 PM.