CDLL Not working for me
Posted: Wed Oct 15, 2003 3:03 pm
I^m trying to use the CDLL function, but am having problems. Am using Report Writer 8. I create my dll with the single exported function: ____BOOL my_func ( LPSTR s )__{___strcpy ( s, "Hello there" );___return TRUE;__}____But when I create my UDF DLLTEST(C_s) = CDLL(^my.dll^, ^my_func^, s), then create my calculated field which calls DLLTEST(^junk string^), all I get on my report are asterisks in that field. Obviously I am doing something wrong in the creation of my dll.____Do I have the function signature right?__Where do I place the dll file so it can be found?__CDECL or STDCALL?____Can someone post a simple sample example to help me get going? __