Click to See Complete Forum and Search --> : How to get a variables address (for passing it to a dll's function inside an userdef type, NOT byref


Watz
March 14th, 1999, 04:31 PM
Hi happy coders !


I got some problem (as most ppl here..).


I want to pass the address (pointer) of a vb's variable

to a function inside a (VC++) dll.


The problem is that i will have to pass it INSIDE an array of

user defined types (this is why i cannot just pass it as an argument byref).


Maybe some of you got any suggestion ??


thanks :)


Watz

Vinayak Sapre
March 14th, 1999, 09:19 PM
Try varptr , objptr , strptr function.

Watz
March 15th, 1999, 03:24 AM
Many thanks !!!


Strangely enough these functions work but obviously

they are completely undocumentated.....


:-)