A forum for feature requests/discussions and user submitted patches that improve MQ2
Moderator: MacroQuest Developers
-
KungFuHamster
- a snow griffon

- Posts: 337
- Joined: Wed Oct 02, 2002 7:47 am
Post
by KungFuHamster » Fri Nov 01, 2002 8:10 am
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
-
Valerian
- a grimling bloodguard

- Posts: 709
- Joined: Sun Jul 28, 2002 3:29 am
Post
by Valerian » Fri Nov 01, 2002 9:46 am
I've tried, can't get it to compile... As far as I can tell, it ONLY compiles properly under VS.NET.
-
rizwank
- Huggle Police

- Posts: 524
- Joined: Tue Jul 23, 2002 12:07 am
-
Contact:
Post
by rizwank » Fri Nov 01, 2002 5:53 pm
the readme is wrong.
VS6 + Macroquest + Detours = DNC (Do not combine :) )
sorry...
#macroquest op
Macroquest Official Documentarion
Macroquest Board Moderator
All around cool guy
[img]http://medicomuerte.users.btopenworld.com/images/fairy_bounce08.gif[/img]
-
Valerian
- a grimling bloodguard

- Posts: 709
- Joined: Sun Jul 28, 2002 3:29 am
Post
by Valerian » Thu Nov 14, 2002 12:30 pm
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?
-
rizwank
- Huggle Police

- Posts: 524
- Joined: Tue Jul 23, 2002 12:07 am
-
Contact:
Post
by rizwank » Fri Nov 15, 2002 5:33 am
capser...
did your vs6 compile WORK in game?
#macroquest op
Macroquest Official Documentarion
Macroquest Board Moderator
All around cool guy
[img]http://medicomuerte.users.btopenworld.com/images/fairy_bounce08.gif[/img]
-
Valerian
- a grimling bloodguard

- Posts: 709
- Joined: Sun Jul 28, 2002 3:29 am
Post
by Valerian » Sun Nov 17, 2002 8:29 pm
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.
-
rizwank
- Huggle Police

- Posts: 524
- Joined: Tue Jul 23, 2002 12:07 am
-
Contact:
Post
by rizwank » Tue Nov 19, 2002 12:30 pm
.. nice!
-
Vendor001
- Cheezily Banned

- Posts: 78
- Joined: Wed Nov 13, 2002 1:37 pm
Post
by Vendor001 » Mon Nov 25, 2002 1:17 pm
Can you attach the workspace/project files you used? Maybe we could get them check into CVS also.
-
SingleServing
- a hill giant

- Posts: 195
- Joined: Tue Dec 17, 2002 11:00 pm
Post
by SingleServing » Fri Dec 27, 2002 10:02 pm
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 !
[color=DarkBlue]Everything,[/color] [color=DarkBlue][b]is[/b][/color] [color=black]black[/color] [color=DarkBlue]and[/color] [color=white]white[/color][color=DarkBlue], when you zoom out it looks[/color] [color=gray]grey[/color][color=DarkBlue].[/color]
-
gameboy
- a lesser mummy

- Posts: 64
- Joined: Fri Nov 08, 2002 12:28 pm
Post
by gameboy » Tue Dec 31, 2002 11:42 am
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 :-)
-
Animus
- decaying skeleton

- Posts: 5
- Joined: Sat Jan 11, 2003 6:46 pm
Post
by Animus » Sat Jan 11, 2003 6:50 pm
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
-
Valerian
- a grimling bloodguard

- Posts: 709
- Joined: Sun Jul 28, 2002 3:29 am
Post
by Valerian » Sat Jan 11, 2003 10:14 pm
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.
-
AMadMonk
- a lesser mummy

- Posts: 77
- Joined: Tue Sep 24, 2002 9:16 pm
Post
by AMadMonk » Wed Jan 15, 2003 9:59 pm
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.
-
Valerian
- a grimling bloodguard

- Posts: 709
- Joined: Sun Jul 28, 2002 3:29 am
Post
by Valerian » Thu Jan 16, 2003 12:14 am
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.