Hi everybody.
I tried the following DLL work in PB, but if I call the DLL-Commands PB Crashes without giving an error.
The DLL+ Source and documentation is available here: http://www.esquadro.com.br/md5bas.zip
and that is my source:
Code: Select all
res=OpenLibrary(0,"aamd532.dll")
; Check if function is available
If IsFunction(0,"MDFile")>0
MessageRequester("","Command found!",0)
EndIf
*pointer=CallFunction(0,"MDFile","c:\ntdetect.com") ; Crashes, but why!?
MessageRequester("",PeekS(*pointer),0)
CloseLibrary(0)
Cheers Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
System: Windows 2000 Server, 512 MB Ram, GeForce4200 TI 128 MB DDR, Hercules Theater 6.1 DTS Sound
