Hello all,
While I'm waiting for the coffee to engage my brain, I thought I'd pose the following:
I'm writing a hardware I/O DLL in PB that will be used by both PB & VB 6. Some
of these functions require that an array of DWORDs be passed back and forth. In
the PB Help it shows how to pass the array from VB to PB:
All well and good and I've used this method with VB before without difficulty.
Can I also use this method when calling from PB? At first glance I would
say yes, but since PB & VB use different array descriptors I'm not so sure.
Thanks!
------------------
Mark Newman
While I'm waiting for the coffee to engage my brain, I thought I'd pose the following:
I'm writing a hardware I/O DLL in PB that will be used by both PB & VB 6. Some
of these functions require that an array of DWORDs be passed back and forth. In
the PB Help it shows how to pass the array from VB to PB:
Code:
SUB SortLong(BYVAL FirstElem AS LONG, Total AS LONG) EXPORT DIM A(1 to Total) AS LONG AT FirstElem ARRAY SORT A&() END SUB
Can I also use this method when calling from PB? At first glance I would
say yes, but since PB & VB use different array descriptors I'm not so sure.
Thanks!
------------------
Mark Newman
Comment