by Dmitry Apukhtin (3 Submissions)
Category: Coding Standards
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (50 Votes)
Well, guys, are you ready for real speed? Real-time TRUECOLOR software-only picture pixel-by-pixel processing (no hardware accelerator stuff) in BACKGROUND, 50+ FPS of truecolor 640x480 image fade in/out with transparent full-area text scrolling - all in VB source, no DLL/OCX's - is it possible? Of course NOT :) Until you inject some assembler (machine codes) into it;-) Yes, hell working machine codes drive this sample, as well as some tricks abount DIB-images processing. Although nothing special in app itself (just slide show fading pics in and out) and you could get more fascinating stuff from DirectX, BUT! It's all in VB and works in IDE almost as fast as in compiled EXE.
So, take a look at this stuff. And I hope you won't vote it "poor" just because "I don't f@%$ understand how the hell it could be!" :-) The code is real VB hardcore. So, gimme ur "wow!" ;-)
BTW, that FPS was on my PII-400/RIVA TNT2. I wonder what's yours? Let me know!
Inputs
place your JPG's in its folder - it could eat them as well.
Assumes
RTFM! MSDN RULEZ!
Code Returns
?
Side Effects
going mad not understanding how it could work ;-)
API Declarationsa "couple"
Download ASM+VB = VB Hardcore. REALTIME Picture Fade In/Out (232 KB)