Hello,
I have a notes database that makes use of a Delphi dll. The database exports a function of the Delphi dll which is declared using c-style.
The function has a string parameter, so as stated in Delphi’s help I used the SharedMem instruction on the top of my dpr.
The databe was functioning properly, until we upgraded to Delphi 7. Now everytime I leave the database a memory violation occurs.
If I remove the ShareMem from the Delphi dlls everything works fine again, unfortunatelly I can remove this instruction since the dll is used by other programs.
Have anyone any idea of what is happenig?
Thanks a lot.