Hi All,

I'm compiling the Crystal modules (XTM) for OpenDX under Windows, and
its ImportStructure module compiles and runs but causes later modules to
crash. The ImportStructure code looks good, so I tried making very
simple import modules, and even the simplest import module under Windows
fails to run correctly. For instance, I copied the source for the dxexec
Construct module into a version called MyConstruct. When I run it as a
dynamically-loaded dll module under Windows, the module runs, but dxexec
crashes some time later when other modules try to read the data
generated by MyConstruct.

I've written a few dynamic modules for OpenDX using Windows before.
Generally, they were output modules, so they read OpenDX data structures
and write files or write to sockets. These work fine. However, I've now
made three or four versions of modules using MakeGridPositions and
MakeGridConnections or simply adding arrays called "positions" and
"connections" following the simpleimport.c example file, and these types
of modules produce fine-looking output according to Print -rd and
Verify, but they cause the pipeline to crash later in various places,
like Mark or Image.

Has anyone seen something like this before? It's very strange.

I'm using Visual Studio 2005 on Windows XP Professional and OpenDX
4.3.2000 from 28 Oct 2003.

Drew Dolgert
Cornell Theory Center

Reply via email to