-
May 9th, 2014, 12:41 AM
#1
[RESOLVED] Run Time Error
Hi,
I'm using Windows 8 Enterprise 64 bit with VS 2012.
I was developed an application. It was runs in the same PC(Win 8) with out any error.
I like to run this application in Windows 7 64 bit PC. This Win 7 Pc doesn't have Visual Studio.
When i was run the application, run time error occured.
ERROR:
"The application was unable to start correctly 0xc000007b. Click Ok to close the application"
How to solve this problem? pls help me.
Regards,
SaraswathiSrinath
-
May 9th, 2014, 02:09 AM
#2
Re: Run Time Error
Maybe a DLL file is missing, try installing Visual C++ 2012 redistributable package from Microsoft.
Nobody cares how it works as long as it works
-
May 9th, 2014, 05:27 AM
#3
Re: Run Time Error
Already tried, but same error.
You are correct. Finally i am found, the problem where occurs.
I was saved the CDC as a bitmap file using Imageload.dll.
I was removed that part of code, then my application was run in the win7 PC.
how can i use Imageload.dll, or any other way to save CDC as a bitmap.
What is the solution for this problem?
Regards,
SaraswathiSrinath
-
May 9th, 2014, 09:10 AM
#4
Re: Run Time Error
Nobody cares how it works as long as it works
-
May 9th, 2014, 10:52 PM
#5
Re: Run Time Error
Problem identified. Problem was not occur using CImage & CImage objects.
I'm using my child dialog as Modeless in my application.
If i hide this code and compiled, then run in win 7 PC means, no error occured.
any restrictions for use the below code.
Code:
ChildOpen* m_pModeless = NULL;
if (!m_pModeless)
m_pModeless = new ChildOpen;
if (!::IsWindow(m_pModeless->GetSafeHwnd()))
m_pModeless->Create(ChildOpen::IDD, this);
m_pModeless->ShowWindow(SW_SHOW);
Then i tried the below code for modeless, problem solved.
Code:
ChildOpen *m_pmodeless = new ChildOpen(this);
m_pmodeless->Create(ChildOpen::IDD);
m_pmodeless->ShowWindow(SW_SHOW);
Last edited by saraswathisrinath; May 10th, 2014 at 12:03 AM.
Reason: update solution
Regards,
SaraswathiSrinath
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|