[plt-scheme] Problen with MzScheme/examples/bitmatrix.c under win32

From: Harry Reed (doon at infoscientific.com)
Date: Mon Dec 16 18:10:42 EST 2002

    I am going through the ffi examples located in plt\collects\mzscheme\examples. Under Win32 the examples seem to work generally OK with the exception of bitmatrix.c. Has anyone gotten the bitmatrix example extension in the examples directory to work under Win32? The debugger tells me that the Scheme_Object *'s  add & mult (etc.), after having been initialized in scheme_initialize(...). are NULL They, therefore, crash MxScheme/MrEd whenever add/mult/etc. are dereferenced. Being a real Scheme newbie I cannot tell if the initialization calls in scheme_initialize() are correct etc., but I assume that at one time bitmatrix.c was functional under win32. If anybody has a solution I would appreciate knowing how to fix this.

Harry W. Reed                       | Never ascribe to malice that which can
doon at infoscientific.com             | adequately be explained by stupidity.
"Of all tyrannies a tyranny sincerely  exercised for the good of its victims 
 may be the most  oppressive.  It may be better to live under  robber barons 
 than  under  omnipotent  moral busybodies,  The robber baron's  cruelty may 
 sometimes sleep,  his cupidity may at some point be satiated; but those who 
 torment us for own good  will torment us  without end,  for they do so with
 the approval of their own conscience."    -   C.S. Lewis, _God in the Dock_
"Truth often suffers more by the heat of its defenders than the arguments 
of its opponents." -- Sir William Penn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20021216/ae87ac78/attachment.html>

Posted on the users mailing list.