ok i fixed as much as possible in the source except for a function no longer provided by mfc namely InvertSysMenu();
i can compile it but it dies instantly it seems fun thing first time i started it it bitched about a missing pak file hmm ?
sound issues
ah ok took the pak from the official build and i can start it but its a bit wonky executing qoole99.exe itself does absolutly nothing i need to drag the pakfile on it
i suspect theres some needed registry entries to be done.
if i replace the official one with mine it works allthough it crashed when trying to save
if you want i can upload the fixed source code ?
if i replace the official one with mine it works allthough it crashed when trying to save
if you want i can upload the fixed source code ?
ouch well most of the problems seem to originate from it using an ancient version of mfc.
to be blunt the exception handling uses something like a sigtrap system (unixy at its best) instead of try[] catch[] also the code does no cleanup so newer mfc dlls get quite pissy about it
it compiles now but its far from stable i left the fixed source on my ftp under the name Qoole99.7z
to be blunt the exception handling uses something like a sigtrap system (unixy at its best) instead of try[] catch[] also the code does no cleanup so newer mfc dlls get quite pissy about it
it compiles now but its far from stable i left the fixed source on my ftp under the name Qoole99.7z
Code: Select all
class LConfig {
public:
LConfig(char *name);
~LConfig(void);
void RegisterVar(char *name, void *ptr, int type);
void SaveVars(void);
static void Init(int curVer, int reqVer);
static void Exit(void);
private:
// heres where most of the problems begin ...
static struct LVar {
char name[32];
void *ptr;
int type;
};
char sectionName[32];
int numLVars;
LVar *lvars[256];
static int currentVer, requiredVer, registryVer;
};the LVar struct goes bonkers on us interresting thing is i can actually use a union instead and then it starts no problem but saving crashes us with the struct it newer starts and if i hook it into the debugger it tells me that LVar->whatever is a bad pointer
-
frag.machine
- Posts: 2126
- Joined: Sat Nov 25, 2006 1:49 pm
Re: sound issues
this thread is now old but i have some news.
source updated to msvc100 (visual studio 10) took me some time as i still needed to learn the quirks of c++
its stable though so i think i managed to get somewhere 
unfortunatly its not possible (atleast not without replacing all the mfc code with something like wxwidgets or QT) to build it with mingw or any other freeware compiler.
source here http://code.google.com/p/realm/download ... z&can=2&q=
application here http://code.google.com/p/realm/download ... z&can=2&q=
source updated to msvc100 (visual studio 10) took me some time as i still needed to learn the quirks of c++
unfortunatly its not possible (atleast not without replacing all the mfc code with something like wxwidgets or QT) to build it with mingw or any other freeware compiler.
source here http://code.google.com/p/realm/download ... z&can=2&q=
application here http://code.google.com/p/realm/download ... z&can=2&q=
Productivity is a state of mind.