CDLL

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

CDLL

Post by SSchmidt_(Guest) » Mon Jul 08, 2002 10:33 am

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

SMcNaughton
Posts: 29
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: CDLL

Post by SMcNaughton » Mon Jul 08, 2002 11:15 pm

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

Steve_Schmidt_(Guest)
Posts: 2
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: CDLL

Post by Steve_Schmidt_(Guest) » Thu Aug 08, 2002 6:06 pm

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. ____

Post Reply