I'm working on adding some calls out to a JAVA-wrapped FORTRAN dll using platform functions. I can initialize the PlatformFunction without problem (at least, it returns a valid address), but any attempts to call the function are resulting in "Primitive failed in: PlatformFunction>>#call due to General protection fault - read from invalid memory location". We do call various other dlls without a problem, so it's not just PlatformFunctions in general. I've now observed this for a few different functions with various (or no) parameters, in VA7 on WinXP and VA6.02 on Win2K.
Has anyone experienced (and hopefully worked around) anything like this with a JAVA-based (or other) dll?
Also, the "primary" dll may be making calls out to several other dlls, so I'm not sure if that could be an issue.
Thanks in advance.
-----------------------
Brian O'Connell
Simulation Domain
Joint Analysis System (JAS)