Not run (dll and window3d)
Posted: Sat May 03, 2014 12:33 pm
Create DLL
Use in prog.
Run -> [ERROR] Invalid memory access. (Write error at adress 9)
how to solve the problem?
Code: Select all
ProcedureDLL win3d(Height.i, Width.i, Title.s)
If OpenWindow3D(0, 100,100,Height.i,Width.i,Title.s)
Repeat
Event = WaitWindowEvent()
If Event = #PB_Event3D_CloseWindow
Quit =1
EndIf
Until Quit = 1
EndIf
EndProcedure
Code: Select all
If OpenLibrary(0, "win3d.dll")
CallFunction(0, "win3d", 800, 600, @"3D View")
CloseLibrary(0)
EndIf
how to solve the problem?