Global b3ddll = OpenLibrary(#PB_Any, "C:\Windows\System32\b3d.dll")
If b3ddll = 0
MessageRequester ("Fatal error!", "Failed to open b3d.dll")
End
EndIf
The OpenLibrary() statement always returns 0.
Redownloading the SDK package made no difference.
I am using version 104 beta 2 of the SDK package under Windows ME and PureBasic 4.30.
Can anyone else with Windows ME/98 get the DLL file to open?
Last edited by akj on Sun Jan 25, 2009 1:18 am, edited 1 time in total.
Global b3ddll = OpenLibrary(#PB_Any, "b3d.dll")
If b3ddll = 0
err=GetLastError_()
MessageRequester ("Fatal error!", "Failed to open b3d.dll"+Chr(13)+"Error code "+Str(err))
End
EndIf
Unfortunately the 'Experts Exchange' website does not help me because in order to see the solution I am required to enter my credit card details, but I am not willing to do this.
This error occurs if the dll you want to load uses any function from another dll (i.e. any MFC dll or C-runtime dll) which cannot be be found in this dll. This may happen if you have different versions of this dll (i.e. running a application developed with VC6 on a machine which has the MFC DLLs for VC4.x installed).
You should use dependency walker (depends.exe) to check versions of the imported dlls. With this tool you can see also from which path the dlls will be loaded.
you used to be able to disable cookies and scoll past all the categories to see the solution. (thats how googlebot can see them)
But they appear to have removed that - so use google's cache!
Demonio Ardente
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Unfortunately the 'Experts Exchange' website does not help me because in order to see the solution I am required to enter my credit card details, but I am not willing to do this.