VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

A simple directX engine. Allows the loading and painting of images much easier that normal usage of

Walter Eigner  (15 Submissions)   Graphics   VB 6.0   Unknown Difficulty   Sat 15th May 2004   Mon 8th February 2021

A simple directX engine. Allows the loading and painting of images much easier that normal usage of direct X. Requires Direct X7 runtimes to

API Declarations



Dim DX7 As New DirectX7
Dim DD7 As DirectDraw7
Dim Primary As DirectDrawSurface7
Dim BackBuffer As DirectDrawSurface7
Dim ddsdPrimary As DDSURFACEDESC2
Dim ddsdScreen As DDSURFACEDESC2
Dim bRestore As Boolean
Dim bInit As Boolean

Dim Surfaces() As DirectDrawSurface7
Dim ddsdSurfaces() As DDSURFACEDESC2

Dim Loading As DirectDrawSurface7
Dim ddsdLoading As DDSURFACEDESC2

Dim BmpPath As String
Dim LoadPercent As Single

Dim ParentPath As String

Dim lForeColor As Long
Dim lFillColor As Long

Public HasInit As Boolean

Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
Private Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
Private Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpString As Any, ByVal lpFileName As String) As Long


Rate A simple directX engine. Allows the loading and painting of images much easier that normal usage of (2(2 Vote))
A simple directX engine. Allows the loading and painting of images much easier that normal usage of.bas

A simple directX engine. Allows the loading and painting of images much easier that normal usage of Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters