Trouble with CDLL()
- 
				FRED_EMMERICH_(Guest)
- Posts: 170
- Joined: Tue Oct 10, 2017 12:44 pm
Trouble with CDLL()
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?__