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:
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.
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.