I notice that when I call a DLL in a function that rtns a string in FORMSHOW of a form I get memory reference errors. Has anyone seen this b4 ? any clues ?
Did you write the DLL yourself ? If so, Delphi needs 'ShareMem' as the first unit in both your library and project's uses list if you return strings from functions in your DLL. When you create a new DLL project, Delphi actually includes a warning about this in the project. Hope this helps.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.