Solved

static build exe problem

Posted on 2002-04-07
6
207 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
ID: 6924577
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
ID: 6924747
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
ID: 6925069
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
ID: 6925092
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 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

15 Experts available now in Live!

Get 1:1 Help Now