Moderator: MacroQuest Developers
but this confuses me, i have the 9.0 dinput.h. i'm thinking it'll still work so i went into that directory, eqlib, and cannot locate the makefile to make the appropriate changes to point to where dinput.h is located....4. cd macroquest\eqlib
5. if using VC60, modify the makefile line 1 to point to the 8.1 dinput.h
Code: Select all
--------------------Configuration: eqlib - Win32 Debug--------------------
Compiling resources...
Compiling...
EQLib.cpp
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(179) : warning C4273: 'TelnetServer_AddToChatQueue' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(459) : warning C4273: 'ListConnections' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(1631) : warning C4273: 'Delay' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(1829) : warning C4273: 'VarCalc' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(1910) : warning C4273: 'VarSet' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2003) : warning C4273: 'MyVarAdd' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2100) : warning C4273: 'MyVarSub' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2197) : warning C4273: 'MyVarAnd' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2276) : warning C4273: 'MyVarOr' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2355) : warning C4273: 'VarRShift' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2435) : warning C4273: 'VarLShift' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2515) : warning C4273: 'Echo' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2534) : warning C4273: 'ListMacros' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2597) : warning C4273: 'Items' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2667) : warning C4273: 'ItemTarget' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2746) : warning C4273: 'Doors' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(2794) : warning C4273: 'DoorTarget' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(3402) : warning C4273: 'CharInfo' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(3516) : warning C4273: 'ZoneDelay' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(3536) : warning C4273: 'Click' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(3586) : warning C4273: 'MouseTo' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(7700) : warning C4273: 'Goto' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(7743) : warning C4273: 'ZapVars' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(7783) : warning C4273: 'EndMacro' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(8143) : warning C4273: 'If' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(8163) : warning C4273: 'Call' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(8261) : warning C4273: 'DoEvents' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(8333) : warning C4273: 'Return' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(8390) : warning C4273: 'MemSpell' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(8434) : warning C4273: 'Macro' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(8516) : warning C4273: 'FindItem' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(8630) : warning C4273: 'Merchant' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(8685) : warning C4273: 'Help' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(8720) : warning C4273: 'MacroBeep' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(8749) : warning C4273: 'Filter' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(9036) : warning C4273: 'DebugSpewFile' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(9065) : warning C4273: 'Identify' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(9208) : warning C4273: 'Location' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(9226) : warning C4273: 'SendKey' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(9272) : warning C4273: 'Press' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(9294) : warning C4273: 'Cleanup' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(9311) : warning C4273: 'For' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(9353) : warning C4273: 'Next' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(9607) : warning C4273: 'Alert' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(9749) : warning C4273: 'Breakin' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10021) : warning C4273: 'SuperWhoTarget' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10045) : warning C4273: 'SuperWho' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10148) : warning C4273: 'SetError' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10172) : warning C4273: 'MQMsgBox' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10192) : warning C4273: 'MacroLog' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10252) : warning C4273: 'Face' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10426) : warning C4273: 'Where' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10484) : warning C4273: 'DoAbility' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10548) : warning C4273: 'Cast' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10596) : warning C4273: 'Target' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10863) : warning C4273: 'HSlider' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10892) : warning C4273: 'Skills' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10947) : warning C4273: 'MacroPause' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(10993) : warning C4273: 'Alias' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(11074) : warning C4273: 'Unload' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(11446) : warning C4273: 'InjectEnable' : inconsistent dll linkage. dllexport assumed.
c:\documents and settings\xecros\desktop\eq\macroquest\src-20030308\eqlib\eqlib.cpp(11452) : warning C4273: 'InjectDisable' : inconsistent dll linkage. dllexport assumed.
events.cpp
PerlMod.cpp
PerlModCore.cpp
stdafx.cpp
timers.cpp
Linking...
Creating library Debug/eqlib.lib and object Debug/eqlib.exp
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/eqlib.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
eqlib.exe - 2 error(s), 62 warning(s)At step 2, you didn't specify what to name the project so i named it mq.1. Compile the detours source and move lib and pdb file into appropriate directory
2. Create a blank win32 application project pointing at the MQ directory.
3. Add a win32 dll project to the project in step 2. Call it eqlib
4. Add all the sources in the eqlib directory to the eqlib project.
5. Add the CINTERFACE definition to the Preprocess definitions.
6. Add the DX8.1 include path to the Additional include directories.
7. Add ws2_32.lib to the Object/library modules.
8. Add ..\Detours\lib (where you put the objects from 1.) to Additional library path
9. Press F7 and cross your fingers.



Clawed wrote:I believe I am using the detours.lib directly from the distribution. No problems. I never compiled it or perl56. Nor did I have to get any new DX header files. (VS.Net) /shrug but my computer often works in mysterious ways...