Search found 6 matches

by tan9p
Fri Mar 21, 2025 1:27 pm
Forum: 3D Programming
Topic: OpenWindowedScreen() must be called before using any 3D
Replies: 6
Views: 1557

Re: OpenWindowedScreen() must be called before using any 3D

Thanks!It says could not open windowed screen on this graphic card. So I think the machine does not support PureBasic 6.20.
by tan9p
Fri Mar 21, 2025 9:20 am
Forum: 3D Programming
Topic: OpenWindowedScreen() must be called before using any 3D
Replies: 6
Views: 1557

Re: OpenWindowedScreen() must be called before using any 3D

Hello miso!
I installed the DirectX, But the program still reports an error. Is it because the driver doesn't support it? There is no folder named "opengl" under the "subsystem" folder. Does the blank mean the default is OpenGL? Can it be understood that PureBasic 6.20 doesn't support the graphics ...
by tan9p
Thu Mar 20, 2025 3:57 pm
Forum: 3D Programming
Topic: the 3D example compiles/runs well,but the exe created executable displayed black and exit shortly
Replies: 4
Views: 1486

Re: the 3D example compiles/runs well,but the exe created executable displayed black and exit shortly

to miso:
thanks! actually the engine3d.dll is the cause of my problem. I went in the wrong direction because Waponez II is a 2D example.
by tan9p
Thu Mar 20, 2025 2:55 pm
Forum: 3D Programming
Topic: the 3D example compiles/runs well,but the exe created executable displayed black and exit shortly
Replies: 4
Views: 1486

Re: the 3D example compiles/runs well,but the exe created executable displayed black and exit shortly

thanks for the reply.
how to link the dll?
I tested the example sources Advanced Waponez II.
If the exe is in the folder,it works well.but if it is moved to other location. it also gave a black window, but did not auto exit. So I guess it is not a dll issue.
by tan9p
Thu Mar 20, 2025 2:11 pm
Forum: 3D Programming
Topic: OpenWindowedScreen() must be called before using any 3D
Replies: 6
Views: 1557

OpenWindowedScreen() must be called before using any 3D

On my other older machine, when running the same 3D example, the following error occurs. (Strangely enough, it runs without any issues on my current machine.)
OpenWindowedScreen() must be called before using any 3D
After searching, some posts suggest that the problem might be due to the absence of ...
by tan9p
Thu Mar 20, 2025 2:01 pm
Forum: 3D Programming
Topic: the 3D example compiles/runs well,but the exe created executable displayed black and exit shortly
Replies: 4
Views: 1486

the 3D example compiles/runs well,but the exe created executable displayed black and exit shortly

I tested the water.pb file located in the ./Example/3D/ directory. In PureBasic, it functions properly when I compile or run it. However, when I create an executable .exe file, the .exe runs without any error messages, but all it shows is a black window.
I suspect that the file location is the root ...