Yes and no!

 

Varptr is not an officially supported function (it is not documented) and
doesn't appear in Help or MSDN Library. Also, it exists only in VB6 I
believe.

 

But it's just too useful to ignore so I use it sometimes, but only after
carefully testing that it works like I expect. Never had a problem with
simple stuff like ints, chars, longs, etc.

 

 

 

Chuck

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Talbot
Sent: Thursday, January 10, 2008 4:46 AM
To: [email protected]
Subject: [soft_radio] Re: Winrad DLL with visual basic. Anyone had
experience success/prob

 

Pointers are accessible in VB via the VARPTR instruction.

eg  addr_of_data& = VARPTR(This_Data#

-- 
Andy  G4JNT
www.scrbg.org/ <http://www.scrbg.org/g4jnt> g4jnt 

 

Reply via email to