Solved

static build exe problem

Posted on 2002-04-07
6
206 Views
Last Modified: 2013-11-20
Hi experts,
I compiled my project (use static library) and run it in my PC and it looks fine. Now, I try to run
the exe file in another PC.
when i start the exe i get
Debug Asserting Failed
Program ....exe
File: daocore.cpp and afxdao.inl and winocc.cpp

but when i install vc++ i do not get this error.

but my requirement is not to run vc++ in the target system.how can i do it.

0
Comment
Question by:mimd
6 Comments
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 25 total points
Comment Utility
I think your database driver is not in that machine or not upgraded.

GOOD LUCK
0
 
LVL 1

Assisted Solution

by:pkreddy
pkreddy earned 25 total points
Comment Utility
Hi,
 Check the dependencies for your app using 'Depends.exe' and ship the necessary dll's as part of application installation. So now on a PC just ensure that the all the dlls on which your application depend are available. This should clear the problem which your application is facing when run on some other PC.
bye
Pavan
0
 
LVL 2

Assisted Solution

by:Chandra V
Chandra V earned 25 total points
Comment Utility
The problem may be with your DSN settings, you must add the DSN name and associate with the database on the destination machine also.

-chandu
0
 
LVL 32

Assisted Solution

by:jhance
jhance earned 25 total points
Comment Utility
Are you trying to run the DEBUG build on the other machine?  

I suspect so since you are getting a "Debug Asserting Failed" message.  The DEBUG libraries are ONLY available on machines with VC++ installed.  Please make a RELEASE BUILD of your application and try running it on the target machine.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Turn a spreadsheet into a vba executable. 2 66
Generic progress indicator 6 109
Expand data scrubbing tool 13 29
EvenOdd challenge 10 81
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now