From: <Wol...@t-...> - 2001-09-28 13:04:05
|
Mally schrieb: > Can I ask what you had to do to compile it under win2k > (assuming MSVC6)? > > Mally 1. Read Dave Whiteside text, from http://easy.to/patch 2. If you don't have 4Dos or 4NT yet, get it from http://www.jpsoft.com/ There is a 21 days test version 3. You need ml. This is included in: http://msdn.microsoft.com/vstudio/downloads/ppack/default.asp 4. I think these effects are due to me using Windows 2000: 4a) in the projects lEngCln, lFreCln, lGerCln, lItaCln, lRusCln, lSpaCln you have to explicitely call 4NT. 4b) in mLangCln.bat you have to add "exit" at the end 4c) in the project "projects", there is a "tee", a 4NT/4Dos command. I don't know in this case how to get MSVC to call 4NT, so I deleted the tee and replaced it by a redirection (">"). This should just mean I don't get certain output to stdout. 5) I get \BOB\src\h\WorldInc.h(355) : error C4716: 'EventLogPtr: perator=' : must return a value As a kludge, to get on with compiling, I added a return 0 6) I still have some instances where MSVC calls cmd.exe instead of 4NT.exe Addendum: This now seems to me to be a directory problem I have. 7) In fullpsys.cpp, line 38, replace #include <streams.h> with: #include <strmif.h> #include <control.h> #include <uuids.h> #include <evcode.h> 8) In fullpsys.cpp, line 765 pivw->put_Visible(OAFALSE); OAFALSE is undefined and I don't know where to get it from :-( Addendum: Rowan said I need Windows Media SDK for this. If anyone can help me with this, I would be grateful. 9) in scontrol.cpp, look at the line static SetDZCombo(SController::CRCombo* combo,int level,int midlevel) I added a void before SetDZCombo. 10) So that you see that your new exe is used, in mainfrm.cpp, line 108, add ::MessageBox(0, "Exe", "Hello Wolfram!", 0); 11) copy the bob.exe over from drive:\bob\release\exe to drive:\bob\game 12) Test it. Starting the game, it should say "Hello Wolfram!". 13) Since you have created an improvement, the license says you have to put it up on a website now. Bye bye, Wolfram. |