Visual Basic Stats:

How to support the site


Site Wide Message: (current site time 7/29/2010 9:08:57 PM EDT)
  • We want your input! One of our sponsors wants to know your opinion about development related issues. Click here to tell us what you think.
  • Are you an emerging/young developer (aged 18-30)? If so, would you like the chance to affect future developer tools and products?
    If so, then click here to give your feedback.
 
Other Entries by Paul Caton.

Search Results: Page 1 of 1 found. Entries 1 - 12 of 12 found
  Description
Compatibility
Level/
Author
Views/
Date
Submitted
User Rating
 
  Call CDECL DLL's - impossible?Call CDECL DLL's - impossible?VB 5.0, VB 6.0Intermediate /
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)Click here to see a screenshot of this code!(ScreenShot)
 
 
  Copy memory FAST using MMX/SSE. UpdatedCopy memory FAST using MMX/SSE. UpdatedVB 6.0Intermediate /
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)Click here to see a screenshot of this code!(ScreenShot)
 
 
  Fastest, safest subclasser, no module!Fastest, safest subclasser, no module!VB 5.0, VB 6.0Advanced /
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)Read the cpu clock cycle count for sub-microsecond timing. VB+ASM (Updated 07/05)VB 5.0, VB 6.0Intermediate /
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)Click here to see a screenshot of this code!(ScreenShot)
 
Please support the site by visiting our sponsor:
 
  Self-subclassing Controls/Forms - NO dependencies. Updated 09/10Self-subclassing Controls/Forms - NO dependencies. Updated 09/10VB 5.0, VB 6.0Advanced /
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)Click here to see a screenshot of this code!(ScreenShot)
 
 
  SelfSub 2.1 updates and additions. Apr 13SelfSub 2.1 updates and additions. Apr 13VB 6.0Intermediate /
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)Click here to see a screenshot of this code!(ScreenShot)
 
 
  Universal dll function caller, CDECL & stdcall with .bas/.cls/.frm/.ctl callbacksUniversal dll function caller, CDECL & stdcall with .bas/.cls/.frm/.ctl callbacksVB 6.0Advanced /
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)Click here to see a screenshot of this code!(ScreenShot)
 
 
  Universal dll function caller, updateUniversal dll function caller, updateVB 5.0, VB 6.0Intermediate /
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)Click here to see a screenshot of this code!(ScreenShot)
 
 
  UPDATED 10/21/03 - Detect cpu make, model, features, cache, speed etc.UPDATED 10/21/03 - Detect cpu make, model, features, cache, speed etc.VB 6.0Advanced /
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)Click here to see a screenshot of this code!(ScreenShot)
 
 
  Updated 3/07 -  VB+ASM Subclass, Hook, Timer, Api-Window class thunks, w/ Form fade/shadow sampleUpdated 3/07 - VB+ASM Subclass, Hook, Timer, Api-Window class thunks, w/ Form fade/shadow sampleVB 5.0, VB 6.0Intermediate /
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)Click here to see a screenshot of this code!(ScreenShot)
 
 
  VB+ASM - How to break into the Visual Studio debugger.VB+ASM - How to break into the Visual Studio debugger.VB 5.0, VB 6.0Advanced /
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/13WinSubHook2 Thunks - updated 2/13VB 5.0, VB 6.0Advanced /
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.clsClick here to see a screenshot of this code!(ScreenShot)
 


Search Results: Page 1 of 1 found. Entries 1 - 12 of 12 found

xxx
Compatibility Filter Profile:

VB 3.0
VB 4.0 (16-bit)
VB 4.0 (32-bit)
VB 5.0
VB 6.0
VB Script
ASP (Active Server Pages)
VBA MS Access
VBA MS Excel