How to use REAL10 variables as parameters in DLL's both receiving and returning. Any help is appreciated(do i have to say that?:grin: )
How about providing its memory address.:grin:
Raymond
Raymond
Passing memory addresses of doubles in VB, how?
If VB had been mentionned in the original posting, I would not have ventured a reply; I know nothing about VB.
I still have to assume that the Windows APIs can be accessed from VB. And a lot of those require parameters in the form of memory addresses (i.e. long pointers) to all sorts of data. The same should be possible for using functions within a DLL.
The target should be the DLL itself.
How does it expect the data to be transferred to/from its functions?
Is it a DLL specific to VB?
Is it a DLL you intend to write yourself?
Is there a help file for the functions of that DLL?
So many questions about that DLL!!!!
Raymond
I still have to assume that the Windows APIs can be accessed from VB. And a lot of those require parameters in the form of memory addresses (i.e. long pointers) to all sorts of data. The same should be possible for using functions within a DLL.
The target should be the DLL itself.
How does it expect the data to be transferred to/from its functions?
Is it a DLL specific to VB?
Is it a DLL you intend to write yourself?
Is there a help file for the functions of that DLL?
So many questions about that DLL!!!!
Raymond
I think you pass parameter ByRef instead of ByVal.