I've created various DLLs in PureBasic to be used by Blitz3D. Unfortunately, Blitz3D seems to become unstable when using these DLLs.
I'm using the latest 1.87 B3D update and PureBasic 3.90.
The types of problems I am having are:
1. Sometimes - for no reason, Blitz3D will claim 'UserLibs not found' - but if I cut and paste the same code in a new file - it will work. This problem occurs on two PCs I have tested this with.
2. Calling the DLL will sometimes caused a 'Memory Access Violation Error' also - about 1 in 500 times the DLL is called.
3. Calling the DLL without opening a screen buffer (e.g. Graphics3D 640,480,16,2) will reduce the likelihood of a 'Memory Access Violation' when calling a DLL.
4. The type of code in the DLL built in PureBasic accesses the Serial COM ports (via MVCOM) and also allocates memory (RAM).
5 The same scenario occurs on Win XP Home as well as Win 98 SE.
Does anyone else have the same problems ?
Is there some incompatibility with Blitz3D and PureBasic DLLs ?
I'm using the latest 1.87 B3D update and PureBasic 3.90.
The types of problems I am having are:
1. Sometimes - for no reason, Blitz3D will claim 'UserLibs not found' - but if I cut and paste the same code in a new file - it will work. This problem occurs on two PCs I have tested this with.
2. Calling the DLL will sometimes caused a 'Memory Access Violation Error' also - about 1 in 500 times the DLL is called.
3. Calling the DLL without opening a screen buffer (e.g. Graphics3D 640,480,16,2) will reduce the likelihood of a 'Memory Access Violation' when calling a DLL.
4. The type of code in the DLL built in PureBasic accesses the Serial COM ports (via MVCOM) and also allocates memory (RAM).
5 The same scenario occurs on Win XP Home as well as Win 98 SE.
Does anyone else have the same problems ?
Is there some incompatibility with Blitz3D and PureBasic DLLs ?