By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,615 Members | 1,961 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,615 IT Pros & Developers. It's quick & easy.

Application error in vc++

100+
P: 105
Hi all,

I have a console application in vc++ and I wanted to generate an executable of 32 bit on 64 bit machine (windows). I dont get any compile or linking errors, but when I try to run the excutable I get the error as :

"The application failed to initialize properly (0XC000007b).Click on OK to terminate the application. "

When i am running the same code on 32 bit machine it works fine.

Could anyone give any suggestion why I am getting this error or anyway I can solve it?

Thanks in advance.
Aug 11 '07 #1
Share this Question
Share on Google+
2 Replies


weaknessforcats
Expert Mod 5K+
P: 9,197
I would be suspicious of generating 32-bit programs on a 64-bit machine.

My inclination would be to compile 32-bit programs on a 32-bit machine and compile the same code as 64-bit on a 64-bit machine.

However, when you compile the code on a 32-bit machine, are there any warnings?? Like the ones you always ignore about 64-bit portability issues.
Aug 12 '07 #2

100+
P: 105
It works well without any warning when I run on 32 bit machine, the 32 bit code.
But I just tried compiling simple example like just a cout statement it works fine.
Aug 13 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.