Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Could this lead to problems with the array reference?
I don't see any reason that should lead to any problems. There are other approaches (apart from Win32::API) that you can take - eg XS or Inline::C. I personally prefer either of those (especially the latter) over Win32::API as I've always found Win32::API difficult to get right - though it's possible that the deficiency is in me, as opposed to Win32::API. For XS/Inline::C you'll need the header file (which it seems you already have), the dll (which you definitely already have) and a suitable import library (which you might not have). To create the import library ( let's call it libAID.a), place a copy of AID.dll in the cwd and run: I would then install Inline::C and access the dll functionality using it. (You'll want to first run perldoc Inline::C-Cookbook for some basic instructions on how to successfully use the module.) Cheere, Rob In reply to Re^3: How to pass a pointer to an array of 'unsigned char' C data type with Win32::API ("U0")
by syphilis
|
|