| | |
Description | Compatibility | Level/ Author | Views/ Date Submitted | User Rating |
| |
| |
 |
Call CDECL DLL's - impossible? | VB 5.0, VB 6.0 | Intermediate / Paul Caton | 14958 since 11/29/2007 10:38:35 AM |
By 40 Users 40 Excellent Ratings
|
| |
Updated November 2007, fix a DEP problem.
CDECL DLL functions cannot be called from Visual Basic... or so they'll tell you... such dll's use a incompatible technique for parameter stack cleanup. The included class uses VB+ASM to slay the "impossible" cdec ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Copy memory FAST using MMX/SSE. Updated | VB 6.0 | Intermediate / Paul Caton | 6539 since 11/10/2003 8:59:41 AM |
By 26 Users 26 Excellent Ratings
|
| |
I was wondering whether MMX/SSE instructions could be employed to improve on the performance of CopyMemory for large blocks of data. Well, as you can from the screenshot, in some scenarios huge benefits can be wrought. Though I have to state, overall, the ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Fastest, safest subclasser, no module! | VB 5.0, VB 6.0 | Advanced / Paul Caton | 27668 since 7/20/2002 8:53:07 AM |
By 85 Users 83 Excellent Ratings
|
| |
***
Update: See my new submission here...
http://www.exhedra.com/vb/scripts/ShowCode.asp?txtCodeId=42918&lngWId=1
If you do want the original zip then email me at Paul_Caton@hotmail.com
***
cSuperClass.cls is i believe the fastest, safest compiled in wi ...(description truncated) |
| |
| |
| |
 |
Read the cpu clock cycle count for sub-microsecond timing. VB+ASM (Updated 07/05) | VB 5.0, VB 6.0 | Intermediate / Paul Caton | 5747 since 7/1/2003 6:18:09 AM |
By 15 Users 15 Excellent Ratings
|
| |
Pentium class cpu's include a 64 bit register that increments from power-on at the CPU clock frequency. With a 2GHz processor, you have in effect, a 2GHz clock. The cCpuClk class allows the user to retrieve the 64 bit CPU clock cycle count into a passed c ...(description truncated) (ScreenShot) |
| |
Please support the site by visiting our
sponsor:
|
| |
| |
 |
Self-subclassing Controls/Forms - NO dependencies. Updated 09/10 | VB 5.0, VB 6.0 | Advanced / Paul Caton | 23043 since 6/1/2004 4:58:34 AM |
By 70 Users 70 Excellent Ratings
|
| |
VB makes it easy to compile controls into an application if you have the source. It's much more convenient for users if the only file that needs to be added to the project is just the control’s ctl file. If the Control uses subclassing, then you're out of ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
SelfSub 2.1 updates and additions. Apr 13 | VB 6.0 | Intermediate / Paul Caton | 18202 since 4/13/2006 5:34:17 PM |
By 49 Users 48 Excellent Ratings
|
| |
What: the latest version of my subclassing components. Why: this update fixes DEP (Data Execution Prevention) issues on 64bit Windows and XP SP2 with NX/XD cpu support. Additionally, I’ve eliminated the public callback; here the self-sub callback is ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Universal dll function caller, CDECL & stdcall with .bas/.cls/.frm/.ctl callbacks | VB 6.0 | Advanced / Paul Caton | 15151 since 3/10/2008 6:42:36 PM |
By 21 Users 20 Excellent Ratings
|
| |
I received a report recently that my 2003 CDECL submission had generated DEP errors on Server 2003. I've updated that submission, but whilst doing so, I saw the potential for some improvements. Enhancements that really needed a new submission. Features: T ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Universal dll function caller, update | VB 5.0, VB 6.0 | Intermediate / Paul Caton | 9581 since 3/18/2008 8:26:15 AM |
By 22 Users 22 Excellent Ratings
|
| |
Just an update responding to previous user requests. Added fastcall support, call by pointer and every return type I could think of: Byte, Integer, Long, 64bit, Single, Double and none. March 10: two asm optimizations and some comments fixed. March 17: La ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
UPDATED 10/21/03 - Detect cpu make, model, features, cache, speed etc. | VB 6.0 | Advanced / Paul Caton | 31235 since 10/7/2003 12:54:00 PM |
By 53 Users 52 Excellent Ratings
|
| |
x86 cpu's have the ability to self-report their make, model, family, features, cache details etc. The included cCPUID class allows the programmer to execute this instruction and retrieve the results. To abstract the complexities of decoding the CPUID data ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Updated 3/07 - VB+ASM Subclass, Hook, Timer, Api-Window class thunks, w/ Form fade/shadow sample | VB 5.0, VB 6.0 | Intermediate / Paul Caton | 86916 since 2/3/2003 5:25:46 AM |
By 71 Users 71 Excellent Ratings
|
| |
Superceded by this submission
http://www.planet-source-code.com/vb/scripts/showcode.asp?txtCodeId=51403&lngWId=1
Updated 3/07 - Just minor stuff --- My cSuperClass submission's download link appears broken so I thought it was about time I made a new entr ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
VB+ASM - How to break into the Visual Studio debugger. | VB 5.0, VB 6.0 | Advanced / Paul Caton | 17694 since 10/4/2003 9:04:28 AM |
By 30 Users 24 Excellent Ratings
|
| |
The included cDebug.cls class allows the user to break their application (or the VB IDE if run from there, not recommended) into the Visual Studio debugger. Make the sample project, run the executable, click the 'Break into debugger' button, a dialog will ...(description truncated) |
| |
| |
| |
 |
WinSubHook2 Thunks - updated 2/13 | VB 5.0, VB 6.0 | Advanced / Paul Caton | 24199 since 2/1/2004 6:05:41 AM |
By 40 Users 38 Excellent Ratings
|
| |
Version 2 of my funky thunks. Teaser: check out the global keyboard hook sample as the basis of a spy app... with active app tracking. Update 2/13 minor enhancement to cTimer.cls (ScreenShot) |
| |