Yoko

All sides of Injection
It is currently 2026-03-14 13:24:41

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
 Post subject: compile injection
PostPosted: 2004-06-10 04:35:18 
Offline

Joined: 2004-06-10 04:31:06
Posts: 9
What I need to compile injection with visual c++?


Top
   
PostPosted: 2004-06-10 07:28:00 
Offline

Joined: 2004-06-09 05:20:02
Posts: 10
Download:
---------
1) To compile Injection you'll need to get the latest version of STL.
Download it From: http://www.sgi.com/tech/stl/stl.zip

2) And download VC version of expat
File: expat_win32bin_1_95_7.exe
From: http://keihanna.dl.sourceforge.net/sour ... 1_95_7.exe
Or Home: http://expat.sourceforge.net/

Install:
--------
Unpack stl.zip and Install expat_win32bin_1_95_7.exe.

Add Injection, STL and Expat directories to
Options-> Directories->Include files in VC IDE.
STL directory should be topmost in the list (even before standart include dirs).


Compile:
--------
Create: File->New->Workspace->BlankWorkspace File: injection.dsw
Create: File->New->Projects->Win32DinamicLinkLibrary: injection.dsp

Add Source files to project: *.c, *.cpp, *.h, *.def.
Add Header files to project: *.h
Add resource files to project: injection.rc

Goto: Project->Settings-> (select Injection project, and select "Link" tab in right window)
Edit "Object/Library modules:" must have libraries: "libexpatw.lib comctl32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib"
Do it for Debug and Release configurations!

Save All.
Close Workspace.
See injection.dsp, and be sure it contains for Debug and Release configurations:
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
# ADD LINK32 libexpatw.lib comctl32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386

It's all.
Now your injection project will be compiled ok. :=)

If no - then show me compiled error messages :-)

_________________
Be Force With You.


Top
   
 Post subject:
PostPosted: 2004-06-11 20:53:06 
Offline

Joined: 2004-06-10 04:31:06
Posts: 9
--------------------Configuration: injection - Win32 Debug--------------------
Compiling resources...
Compiling...
common.cpp
crypt.cpp
debug.cpp
equipment.cpp
extdll.cpp
generic_gump.cpp
gui.cpp
hooks.cpp
hotkeyhook.cpp
hotkeys.cpp
iconfig.cpp
c:\projeto injection\source 305.01\iconfig.cpp(27) : fatal error C1083: Cannot open include file: 'expat.h': No such file or directory
ignition.cpp
igui.cpp
injection.cpp
ld_main.cpp
c:\projeto injection\source 305.01\injection.cpp(4837) : warning C4715: 'easyuolist' : not all control paths return a value
menus.cpp
patch.cpp
runebook.cpp
skills.cpp
spells.cpp
target.cpp
TWOFISH2.C
uo_huffman.cpp
vendor.cpp
world.cpp
Error executing cl.exe.

injection.dll - 1 error(s), 1 warning(s)

do you know whats this?


Top
   
 Post subject: Ok.
PostPosted: 2004-06-12 00:00:46 
Offline

Joined: 2004-06-09 05:20:02
Posts: 10
Henry wrote:
c:\projeto injection\source 305.01\iconfig.cpp(27) : fatal error C1083: Cannot open include file: 'expat.h': No such file or directory

do you know whats this?


Yes, I know...
Add Expat\Source\Lib directory to
Tools->Options-> Directories->Include files
Add Expat\LIB directory to Tools->Options->Directories->LibraryFiles.
in VC IDE.

_________________
Be Force With You.


Top
   
 Post subject:
PostPosted: 2004-06-13 20:03:41 
Offline

Joined: 2004-06-10 04:31:06
Posts: 9
Linking...
injection.obj : error LNK2001: unresolved external symbol __imp__sndPlaySoundA@8
Debug/injection.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

injection.dll - 2 error(s), 0 warning(s)

do you know whats this?


Top
   
 Post subject:
PostPosted: 2004-07-30 19:23:27 
Offline

Joined: 2004-07-15 02:18:29
Posts: 2
I get that error too ://


Top
   
 Post subject:
PostPosted: 2004-08-03 12:11:16 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
I saw this error (about sound) in other cases...interesting.
But in injection i got other error - can't find hash_map (in #include <hash_map>). What is it?

_________________
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...


Top
   
 Post subject:
PostPosted: 2004-08-03 21:33:01 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
part of STL (standart types library)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited