Trouble with CDLL()
Posted: Thu Apr 04, 2002 11:44 am
I wrote a test .dll to see how it worked with R&R XBASE 8.1. I created a simple report with 1 calculated field on it:__CDDD("rsdll.dll","Swap_Strings","test string")____Here is my .dll function:__extern "C" bool __declspec(dllexport) Swap_Strings(char *szName)__ {__ String ABC="this is a test";__ strcpy(szName,ABC.c_str());__ return true;__ }____When I run the report all I get are **************__What am I doing wrong?__