Page 1 of 1

CDLL

Posted: Mon Jul 08, 2002 10:33 am
by SSchmidt_(Guest)
Can You post example code for CDLL. ____I cannot get my functions to work properly with the CDLL call. Hoping to look at examples to determine what I am doing wrong. ____Steve

=> RE: CDLL

Posted: Mon Jul 08, 2002 11:15 pm
by SMcNaughton
May I suggest you post what language you are using? operating system? RR version??____Before I got mine working, the part I was missing was that this was pointer to an 8000 byte string that was being passed. make sure you are returning an identical size pointer. ____I would also suggest you do something simple-stupid. like send HI and get back HELLO before trying to fill the 8000 byte block with data.____Once I had it working, the other not-so-clear instructions came from Kathleen when she helped me the other day....this is from her post____...The solution was to pre-load the DLL on the command line. In the Report Designer you use the switch /D<dllname> and for runtime the switch is /AL<dllname>.____BTW, I read somewhere that some o/s^s are case sensitive to the DLL name. ____HTH____-Steve

==> RE: CDLL

Posted: Thu Aug 08, 2002 6:06 pm
by Steve_Schmidt_(Guest)
I am using RR 9.09 Windows XP. I would like to see examples in C. But would also like to see others if available, ASM, Force?? etc. With the C example, I could look at asm output and determine if I could pass the parameters from other languages. ____