Author Topic: 32 Bit Dll Example  (Read 1739 times)

0 Members and 2 Guests are viewing this topic.

Peter

  • Guest
32 Bit Dll Example
« on: July 24, 2012, 05:13:53 AM »
Deleted
« Last Edit: April 14, 2015, 04:04:10 AM by Peter »

Charles Pegge

  • Guest
Re: 32 Bit Dll Example
« Reply #1 on: July 24, 2012, 07:44:54 AM »

Yes, it passes my simple test anyway.

Code: [Select]
extern lib "a.dll"
! LoadBmp(sys hdc, string sFile, sys x,y) As long
! DrawBmp(sys hdc, iNum, x1, y1) as long
! LoadSprite(sys hdc, string sFile, sys sWidth, sHeight) As Long
! DrawSprite(sys hdc, Num, x1, y1, zx, zy, Frame) as long
! FreeGraphics() As Long
! SetFps(sys Frame) as long   
! WaitFps() as long
end extern

SetFps 1
for i=1 to 3
WaitFps
next
print "ok"

Charles