dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Visual Basic
Expertise: Advanced
Jul 30, 1997

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


The Address of a Variable

THE ADDRESS OF A VARIABLE VB5 includes a built-in VarPtr function (see tip "Use the Object Browser to Discover Undocumented Features"), but this function isn't available in VB4. The VB4 runtime library does include this function, but you must declare it first: #If Win16 Then Declare Function VarPtr Lib _ "VB40016.DLL" (variable As Any) _ As Long #Else Declare Function VarPtr Lib _ "VB40032.DLL" (variable As Any) _ As Long #End If This function is useful when passing an external API routine a Type structure, and one of its fields is the address of another variable or record.
Francesco Balena
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date