Page 1 of 2
VC6 compiling
Posted: Fri Nov 01, 2002 8:10 am
by KungFuHamster
Hiya,
I'm trying to get MQ compiled under Visual C++ 6.0, and was wondering if someone else has already created a project file that I could just download, instead of trying to figure out all the dependencies etc on my own.
Thanks,
KFH
Posted: Fri Nov 01, 2002 9:46 am
by Valerian
I've tried, can't get it to compile... As far as I can tell, it ONLY compiles properly under VS.NET.
Posted: Fri Nov 01, 2002 5:53 pm
by rizwank
the readme is wrong.
VS6 + Macroquest + Detours = DNC (Do not combine :) )
sorry...
Posted: Thu Nov 14, 2002 1:01 am
by Casper
I compiled this for VC6 a while ago. Here's a link:
"
http://groups.msn.com/TheCasper/page.ms ... Lib&fc_a=0"
Posted: Thu Nov 14, 2002 12:30 pm
by Valerian
Ok, well I can almost get it to compile in VC6, but it errors tremendously on any line containing "IDirectInputDevice8A". Any ideas? Am I missing a header file somewhere?
Posted: Fri Nov 15, 2002 5:33 am
by rizwank
capser...
did your vs6 compile WORK in game?
Posted: Sun Nov 17, 2002 8:29 pm
by Valerian
I just succeeded in compiling in VC6 (after downloading 3 SDKs) and it does, indeed, work in-game. I don't think I absolutely needed the .NET framework SDK, but I got it anyway, along with the Microsoft Core SDK and DirectX SDK.
Posted: Tue Nov 19, 2002 12:30 pm
by rizwank
.. nice!
VC6 Compiling
Posted: Mon Nov 25, 2002 1:17 pm
by Vendor001
Can you attach the workspace/project files you used? Maybe we could get them check into CVS also.
Posted: Fri Dec 27, 2002 10:02 pm
by SingleServing
http://groups.msn.com/TheCasper/page.ms ... Lib&fc_a=0
for us lazy people who don't like to copy and paste =)
Nice stuff !
Posted: Tue Dec 31, 2002 11:42 am
by gameboy
Hi, sorry for this totally newbish question, but I'm a unix programmer and this MS stuff has got me a little confused. This is what I did:
Installed Visual C++ 6.0
Installed Microsoft Core SDK
Installed DirectX SDK
Tried to install .NET SDK but ran out of room (above post said it wasnt really needed)
Got the latest Macroquest source code
Downloaded Casper's Detour's .h and .lib file and put it in the detours directory.
Started up Visual C++ 6.0
Created a new project of Win32 Dynamic-Link Library (is this correct?)
Selected empty .dll project.
Added to the project all of the source and header files.
When I try to build it I get a slew of errors. The first couple are "IDirectInputDevice8A" errors. Did I not install the DirectX SDK correctly? Is there a way to check this?
Any advice? or maybe just a .zip file :-)
Libraries
Posted: Sat Jan 11, 2003 6:50 pm
by Animus
Did you link in the libraries? big problem I know most people have when compiling dx code is that they don't link in the dx libraries.
in vc6
got to Project->Settings
then under link, add the correct libraries to "Object/Library Modules"
disclaimer: haven't tried compiling the code, since I am a noob here and came after mq was broken. Just a common problem I know some people used to have when new to dx/vc
Posted: Sat Jan 11, 2003 10:14 pm
by Valerian
the directx sdk generally puts the .h file where your compiler can find it, but apparently didn't on your system. look for the dinput.h file the sdk installed, and place it in your compiler's default header files. should fix that problem right up.
vc6
Posted: Wed Jan 15, 2003 9:59 pm
by AMadMonk
there's no qualitative reason MQ shouldn't compile under VC6. It does not use the .Net framework in any way, shape, or fashion. Once you have a working project for VC6 it should work just fine there.
Posted: Thu Jan 16, 2003 12:14 am
by Valerian
I have a working project for VC6, if anyone wants it, feel free to send me a private message with an e-mail address to send it to.