Solved

static build exe problem

Posted on 2002-04-07
6
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 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