Ian,
Some more clues....
- #close returns true.
- executing the test code below twice in succession works first time gives
memory error on second time.
- MyLibrary>>versionStore
<stdcall: lpstr version>
^self invalidCall
- test code
x := DataLibrary default.
[
Transcript show: (x versionStore); cr.
] ensure: [
Transcript show: 'close result : '; show: (x close) printString; cr.
].
x := nil.
"Ian Bartholomew" <
[hidden email]> wrote in message
news:vYR5a.6674$Lq.509442@stones...
> Geoffrey,
>
> Can't help a lot. I do remember similar sounding problems in the past
when
> I was developing a dll and Dolphin code in tandem but I can't remember the
> details.
>
> Have you checked the value returned by the #close operation. According to
> the comment in ExternalLibrary>>close (which is worth a read if you
haven't
> already seen it) that might indicate where the problem lies.
>
> Can you also post the code for the Dolphin MyLibrary>>versionStore method.
> That could be a cause of "Invalid memory access" errors and might be worth
> checking.
>
> As I said though, I can't help a lot :-)
>
> --
> Ian
>
>
>