Hi All, I have a C library that I am using that has a function that returns an array of 12 bytes as a character array.
I have wrapped this like: void* mywrap(stringin) char *stringin CODE: RETVAL = myFunction(stringin); OUTPUT: RETVAL Why do I get different answers if the return type is defined as char *? How do I use the pointer within perl? I need to loop through each byte and print it's value (in hex or binary). OT: I need to prove I'm getting back the 12 bytes correctly. Should I convert the value to binary (96 bits) using pack and unpack? If so, what TEMPLATES should I use? I'm almost there, just need a push in the right direction. Thanks for any help, Chris __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/