Techically savvy Visual Basic programmers for long have had to deal with VB's limited type system and lack of support for casting and pointer manipulation. Although type-safety generally is a very good thing, when you need to call the windows API or optimize a piece of code the strict type checking mechanism only tends to get in the way. Unfortunately, apart from a couple of unsupported low-level statements (i.e. VarPtr, ObjPtr, StrPtr and AddressOf) the language simply does not like untyped data and does a good job of discouraging you to use it. Most VB programmers eventually learn to live with this and unwillingly resort to the far from elegant but seemingly omnipresent abuse of an otherwise obscure API function exported by kernel32.dll, the discovery - and for that matter also first application in this context - of which should be contributed to Hardcore Visual Basic author and (classic) VB guru Bruce McKinney, although the entry point is actually quite useful for VB programmers when used to do what it was meant for in the first place.
Michael Rutten has wrote this article for you: "Hidden Gems for Free, Exposing undocumented memory access functions in Visual Basic 6".
Right here you will found and allow to pull the same low-level tricks in Visual Basic as in any given programming language.
Read article...
www.xbeat.net
Previous Post
The Lazy Admin
The Lazy Admin
Next Post
Access to IDE with vbAdvance
Access to IDE with vbAdvance
Related Posts
VB Code: Validate Credit Card NumberThis is just a small VB code to validate credit cards number, all credit cards work with
Optimize your code: Size & SpeedHere are some tips for optimizing your code mainly for speed.I found some tips by Billy&a
The Benefits Of CRM SoftwareCRM software, often called customer relationship management software, is becoming much mo
What is CRM Software?A lot of individuals have heard the term CRM, and they have heard CRM software mentioned
Book Microsoft VB 2005 for DevelopersGet a focused, first look at the features and capabilities in Microsoft Visual Basic 2005
How to create app manifest for VB in winXPThis is a brief tutorial on creating an application manifest in Windows XP. Like we all k