[soft_radio] Re: Winrad DLL with visual basic. Anyone had experience success/prob

2008-01-10 Thread Andy Talbot
Pointers are accessible in VB via the VARPTR instruction.
eg  addr_of_data = VARPTR(This_Data#

-- 
Andy  G4JNT
www.scrbg.org/g4jnt


RE: [soft_radio] Re: Winrad DLL with visual basic. Anyone had experience success/prob

2008-01-10 Thread Chuck Hutton
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: soft_radio@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Talbot
Sent: Thursday, January 10, 2008 4:46 AM
To: soft_radio@yahoogroups.com
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