ComputerForum.com ComputerForum.com  
Go Back   Computer Forum > Computer Software > Operating Systems

Reply
 
LinkBack Thread Tools Display Modes
Old 03-05-2006, 04:17 PM   #1 (permalink)
New Member
 
Join Date: Nov 2005
Posts: 19
Default using command prompt

I need to use the command prompt to use an exe, but I don't know how to do this. I need to open pexports.exe in the command prompt and execute a command with it. This is exactly what I need to do:

Quote:
Hi.

Try with Dev-Cpp

download pexports-043 (search in google) I don't know the site.

... and execute ...

1. pexports libmysql.dll > libmysql.def
2. dlltool comes with dev-cpp
dlltool -k --input-def libmysql.def --dll-name libmysql.dll --output-lib libmysql.a
3. create a project (with a source code), in project menu->project options->parameters->linker-> add -lmysql
4. compile and link your program
5. a error ocorred

a unrecognized ... mysql_init@4

or something like this.
6. edit limysql.def and add @number in front of the function. Example:
a unrecognized ... mysql_init@4
in libmysql.def
(you find like this)
...
...
mysql_init
...
...
(so)
...
...
mysql_init@4
...
...

save the file. execute dlltool again, and try compile/link,


Bye
I was told by someone that 1 and 2 need to be done with the command prompt and need to be executed from there. So if anyone can tell me what I need to do I'd really appreciate it. Thank you for your time.
yahn is offline   Reply With Quote


Old 03-05-2006, 10:34 PM   #2 (permalink)
Silver Member
 
Join Date: Jan 2006
Age: 18
Posts: 240
Default

You need to change to the directory of the binaries you want to execute. Use CD to change directory. Then enter the commands as directed above.
Veurruckte is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT +1. The time now is 02:35 AM.


Powered by: vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 Computer Forum and Web Design Forum