Page 1 of 1

Compile Injection with Mingw 1.0

Posted: 2004-06-28 13:07:52
by LordX
How I compile dll with Mingw?

thanks

Posted: 2004-06-28 14:52:19
by Yoko
try compile.txt
i myself not succeeded this

Posted: 2004-06-28 17:27:46
by LordX
1)I have compiled the project with VC++ 6.0 but I have found the following error:
Linking...
Creating library Debug/Injection.lib and object Debug/Injection.exp
injection.obj : error LNK2001: unresolved extern symbol __imp__sndPlaySoundA@8

Debug/Injection.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
The question is like makes to resolve it?

2)I do not find sources of script.dll on http://sourceforge.net/. where
I can find them just?

Posted: 2004-06-28 20:05:28
by Yoko
on sourceforge sources of script.dll comes in the original injection source zip

Posted: 2004-06-30 13:48:37
by Lem
LordX wrote:1)I have compiled the project with VC++ 6.0 but I have found the following error:
Linking...
Creating library Debug/Injection.lib and object Debug/Injection.exp
injection.obj : error LNK2001: unresolved extern symbol __imp__sndPlaySoundA@8

Debug/Injection.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
The question is like makes to resolve it?

2)I do not find sources of script.dll on http://sourceforge.net/. where
I can find them just?


for the first question:
i think you forgot including the Winmm.lib library into the project

Posted: 2004-07-01 22:56:22
by Henry
LordX wrote:1)I have compiled the project with VC++ 6.0 but I have found the following error:
Linking...
Creating library Debug/Injection.lib and object Debug/Injection.exp
injection.obj : error LNK2001: unresolved extern symbol __imp__sndPlaySoundA@8

Debug/Injection.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

the same it happens with me

Lem wrote:i think you forgot including the Winmm.lib library into the project

how I make to include the library of Winmm.lib in the project?

Posted: 2004-07-08 19:37:28
by Lem
Henry wrote:
LordX wrote:1)I have compiled the project with VC++ 6.0 but I have found the following error:
Linking...
Creating library Debug/Injection.lib and object Debug/Injection.exp
injection.obj : error LNK2001: unresolved extern symbol __imp__sndPlaySoundA@8

Debug/Injection.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

the same it happens with me

Lem wrote:i think you forgot including the Winmm.lib library into the project

how I make to include the library of Winmm.lib in the project?


in vc++ 6
menu project
add to project -> files
set filter to lib and search for winmm.lib

or you can try by using preprocessor directives.