Discussion:
stony brook modula 2 for winxp
(too old to reply)
rob solomon
2011-03-06 17:07:48 UTC
Permalink
I had to reinstall my stony brook modula 2 environment (build 31, the
last one) into a freshly installed winxp sp3 virtual machine (virtual
box 4.04). The problem I'm having is that the environment isn't linking
properly. I use the BasicDialogs module a lot (actually trying to write
an equivalent using gm2) but now it's not linking properly. The
compiler allows me to use a module but when the program is run, the
BasicDialog procedure is not called. Stepping in the debugger shows an
immediate return from the procedure and its return value is FALSE
indicating failure.

The project lists the res files for BasicDialogs and WinShell, so I
don't know what to do.

Any ideas?

Thanks,
Rob
Chris Burrows
2011-03-07 20:21:45 UTC
Permalink
Post by rob solomon
I had to reinstall my stony brook modula 2 environment (build 31, the
last one) into a freshly installed winxp sp3 virtual machine (virtual
box 4.04).
I assume from what you say that the underlying operating system you are
using is Windows 7 - am I right?

Is this the first time you have been using SBM2 in this environment or have
you had it working before?

Regards,
Chris

Chris Burrows
CFB Software
http://www.cfbsoftware.com
rob solomon
2011-03-08 03:35:22 UTC
Permalink
Post by Chris Burrows
Post by rob solomon
I had to reinstall my stony brook modula 2 environment (build 31, the
last one) into a freshly installed winxp sp3 virtual machine (virtual
box 4.04).
I assume from what you say that the underlying operating system you are
using is Windows 7 - am I right?
Is this the first time you have been using SBM2 in this environment or have
you had it working before?
I should have been clearer. I'm using Win XP SP3. But I found the
solution deep in the recesses of my memory. In the project compiler
settings on the debug tab I had to deselect Initialize Data.

Don't know why this is needed, but I've been bitten by this one before
and I just forgot about it.

The old computer on which SBM2 was installed is no more.

Loading...