Brandon's Blog

3/30/2007

Hacks

I never got the chance to express fully my interest in being involved with Meta’s dream game project.  Especially if there’s embedded scripting, database backend, or a big XML parsing job somewhere in there.  But, pretty much anything but graphics.  I did enough BitBlt(...) swinging back in my anti-heyday.

I’m sure now even the mention of BitBlt would evoke mocking laughter from the modern era of DirectX and various goodies.  But, it was a good way to do the job from VB 4.0 32-bit (…I know…) with pretty much only one function.

Many people may not know that VB, when sweet-talked, will expose the entire W32API for your masochistic enjoyment, using something on the order of:

Declare Function EPS48_Receive Lib "bkeps48.dll" (ByVal RecvData As String, ByVal MaxLength As Integer) As Integer

In the .NET era, I’m sure this is the ultimate of “unmanaged” code.