D2HI Module Maker - Compilation Question Here!

sam_the_man

Premium Member
Joined
Oct 2, 2003
Messages
509
Reaction score
2
Location
Boston
Hey (This is mainly directed towards sf .. he made it)

The tut is great, but im having one minor (turning into major)
problem. I have a source file that uses WinAPI. The souce file works when i run it as an exe, but now im trying to untegrate it into a D2H file.

So I copied the source folder and put it into a folder. (TEST for example.)
Then i put the original.cpp (code to add to the empty dll project) in the TEST folder. Same folder the folder SOURCE is located.)

The Header file in my original says
Code:
#include ".../ClientCore.cpp"
The source.cpp is in that folder, and so is the D2HI source, and when i compile it i get the error:

Code:
fatal error C1083: Cannot open include file: '...\ClientCore.cpp': Invalid argument
Does it want me to put the D2HI source folder in the dir that the empty DLL file is in? Im so confused, and i READ the tut. I didnt have any problems about 6 months ago, but apparantly i forgot how to compile a friggin D2H module.

IF anyone could help me id greatly appreciate it.

THANK A TON

~Sam
 

sam_the_man

Premium Member
Joined
Oct 2, 2003
Messages
509
Reaction score
2
Location
Boston
the code is more or less a 'secret'. Would having WinAPI functions in my code affect compilation? Im gonna try some more things.
 

NewPosts

New threads

Top