Trouble with CDLL()

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
FRED_EMMERICH_(Guest)
Posts: 170
Joined: Tue Oct 10, 2017 12:44 pm

Trouble with CDLL()

Post by FRED_EMMERICH_(Guest) » 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?__

Post Reply