I have a problem that I find a little bit strange. I want to create a DirectX9 Device. This works fine:
hLib=OpenLibrary(1,"D3D9.dll")
If hLib = 0
Error_Msg("Cannot load d3d9.dll")
EndIf
D3D = CallFunction(1,"Direct3DCreate9",#D3D_SDK_VERSION)
But this:
D3D = Direct3DCreate9_(#D3D_SDK_VERSION)
crash my system. Is there any difference between these two methods?
I am using Purebasic 3.92 BETA
