Click here to Skip to main content
15,918,303 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
Dear all

I have a program which is currently working on Win xp 32bit OS and using VS2005.
But now i have SONY VAIO laptop Win7 home basic, 64 bit OS with VS2008.
THe project compile ok,on visual studio VS2008.But when i try to run this application it shows the following two error:

R6034 An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.

When i press the OK button ,it shows another new error:

The application was unable to start correctly (0xc0000142). Click OK to close the application.

I try a lot search on MSDN and Google but could not get right answer.
Please suggest me how to resolve it.

Sergey Alexandrovich Kryukov 28-Jan-12 3:00am    
Do you think there is only one way to screw up things? How can we help you without having any idea of what your code does?
GAJERA 28-Jan-12 6:02am    
This is simple dialog base application bind with my custom .dll.

1 solution

Best guess from the limited information provided: change your project settings from "Any CPU" to "x86".
If it is running as a 64 bit app, and it tries to load a 32/16 bit C library, it may cause a problem.
Share this answer
GAJERA 28-Jan-12 6:33am    
This is MFC application.Please let me know which kind of information you need.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900