Page 1 of 1
ASC()
Posted: Wed May 22, 2002 7:46 am
by Dave_Francis_(Guest)
I have a problem with RR version 6 to 9. I need to get the actual ASCII or HEX values of some bytes within a string. The ASC() function appears to react to RRW.SRT settings and cannot be relied upon. Tried external DLL with CDLL() but I read here that this does not work with 8.1 up. Anyone any ideas how to solve this?____TIA____Dave Francis
=> RE: ASC()
Posted: Thu May 23, 2002 8:45 am
by kfleming
CDLL() should work.____Kathleen__R&R Support
==> RE: ASC()
Posted: Thu May 23, 2002 10:57 am
by Dave_Francis_(Guest)
Kathleen,____Thanks for the reassurance on CDLL(). I^m willing to bet money that the problem is my ability to write the DLL correctly. Just to confirm, I^m doing this right -____The 8000 byte buffer is passed by reference to my function; that is I receive one parameter that is the pointer to the start of this buffer.__I write to the buffer then return a logical true. I should be able to parse the buffer back in RR____TIA____Dave Francis
===> RE: ASC()
Posted: Fri May 24, 2002 7:50 am
by kfleming
sounds correct to me.____Kathleen__R&R Support
====> RE: ASC()
Posted: Fri May 24, 2002 8:14 am
by Dave_Francis_(Guest)
Hi Kathleen,____Thanks for the vote of confidence, but it was me all the time!!! (Always is,actually). I had some dependencies from my dll to other dlls and in my haste to test had not put them in the right place. ____As you say, Works a treat!. Thanks for the help - just needed to talk it through...____Dave Francis