Moderator: MacroQuest Developers

did this, it works fine, but i get 26 errors (i'll post them if needed), they are all from ""inconsistent dll linkage. dllexport assumed.""For the VC60 compiler, you must:
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.
can you explain this further?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.
10. Switch back to the main project.
11. Add the sources in the MacroQuest directory to this project.
12. Press F7 and pray.

6 is more than is needed. Just goto microsoft and download the 8.1 SDK. You do not have to install it, just unzip it and goto the include file and grab the file dinput.h. Find the path to the dinput file. It should look something like6. 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
Code: Select all
C:\dxsdk\includesee my previous post and feel around from there for the place to put it in.5. Add the CINTERFACE definition to the Preprocess definitions.
Code: Select all
Compiling...
EQLib.cpp
c:\src-20030308\eqlib\eqlib.cpp(21) : fatal error C1189: #error : /DCINTERFACE
Error executing cl.exe.
EQLib.obj - 1 error(s), 0 warning(s) Code: Select all
--------------------Configuration: macroquest - Win32 Release--------------------
Linking...
LIBC.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Release/macroquest.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
macroquest.exe - 2 error(s), 0 warning(s)

