Compile Injection with Mingw 1.0

Ask for help

Moderators: Murderator+, Murderator

Post Reply
LordX
Posts: 2
Joined: 2004-06-28 12:54:14

Compile Injection with Mingw 1.0

Post by LordX »

How I compile dll with Mingw?

thanks
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

try compile.txt
i myself not succeeded this
LordX
Posts: 2
Joined: 2004-06-28 12:54:14

Post 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?
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

on sourceforge sources of script.dll comes in the original injection source zip
Lem
Posts: 49
Joined: 2004-05-23 18:31:26

Post 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
Henry
Posts: 9
Joined: 2004-06-10 04:31:06
Contact:

Post 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?
Lem
Posts: 49
Joined: 2004-05-23 18:31:26

Post 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.
Post Reply