Solved

static build exe problem

Posted on 2002-04-07
6
208 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error on moodle after upgrade 3 130
Generic progress indicator 6 117
substring method in java 1 119
wordcount challenge 11 121
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‚Ķ
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.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 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