Problem with Purebasic v6.00
Re: Problem with Purebasic v6.00
I tested by putting DirectX11 in compiler options subsystem.
I set the resolution to 800x600 and now the display is correct.
I have Windows 11 professional, Purebasic v6.00 64 bit.
I set the resolution to 800x600 and now the display is correct.
I have Windows 11 professional, Purebasic v6.00 64 bit.
Re: Problem with Purebasic v6.00
There is always an error, now the sprite of the ball does not display any more whatever the resolution chosen!!!
Frankly, it's hopeless v6.00, I'm uninstalling it!!!
Frankly, it's hopeless v6.00, I'm uninstalling it!!!
Re: Problem with Purebasic v6.00
it works very well with DirectX 9
Re: Problem with Purebasic v6.00
I am with Windows 11 and we can only have DirectX11 and in this case, the display is incorrect in 800x600.
Re: Problem with Purebasic v6.00
Are you saying your admin does not allow you to download and install DirectX9 runtimes?
That is to bad. I have always had good results with PB using DirectX9. With PB using DirectX11 I have had Sprites not displaying correctly (even with latest & greatest hardware) and with OpenGL I have always had issues, especially when it comes to scaling.
Re: Problem with Purebasic v6.00
Hello Paul,
It's my personal computer in Windows 11 and I don't know if I can install DirectX9 when there is already DirectX11.
If I can, how to install DirectX9?
Thanks
It's my personal computer in Windows 11 and I don't know if I can install DirectX9 when there is already DirectX11.
If I can, how to install DirectX9?
Thanks
Re: Problem with Purebasic v6.00
Yes you can have both installed at the same time. Lots of games that still use DirectX9 will auto install it.
You can Google "DirectX9 download" and get a link to download directly from Microsoft website.
Re: Problem with Purebasic v6.00
1) I downloaded DirectX from the Microsoft site (http://www.microsoft.com/en-us/download ... px?id=8109)
2) I unzipped it in a folder
3) I ran DXSETUP.exe
4) I restarted my computer
5) I put "DirectX9" in subsystem in Purabasic Compiler Options
I have the message DirectX9 subsystem not found!!!
2) I unzipped it in a folder
3) I ran DXSETUP.exe
4) I restarted my computer
5) I put "DirectX9" in subsystem in Purabasic Compiler Options
I have the message DirectX9 subsystem not found!!!
Re: Problem with Purebasic v6.00
I programmed several games on Windows 11 and DirectX11 with Purebasic v5.73 without any issues.
With Purebasic v6.00, I have display problems with its games, I conclude that it is not Directx which is in question but the V6.00 of Purebasic.
With Purebasic v6.00, I have display problems with its games, I conclude that it is not Directx which is in question but the V6.00 of Purebasic.
Re: Problem with Purebasic v6.00
When compiling, are you using the PureBasic 6.00 IDE and compiling with v6.00 compiler or do you have v5.73 compiler set?
If you have 5.73 set then DirectX9 is used by default so specifying DirectX9 will give an error.
Just like if you have v6.00 compiler set you can't specify OpenGL since OpenGL is used by default in v6.00
v6.00 allows DirectX9 and DirectX11 to be specified. Leaving blank uses OpenGL by default. Specifying OpenGL will give "subsystem not found"
v5.73 or lower allows DirectX11 or OpenGL to be specified. Leaving blank uses DirectX9 by default. Specifying DirectX9 will give "subsystem not found"
Re: Problem with Purebasic v6.00
OK, I tested with V5.73!
I uninstalled v5.73 and installed v6.00 and putting DirectX9 in compiler options subsystem is OK.
Should have known!!!
Thanks to you
To summarize :
V5.73 put nothing in subsystem
V6.00 put DirectX9 in subsystem
If we use DirectX, of course.
I uninstalled v5.73 and installed v6.00 and putting DirectX9 in compiler options subsystem is OK.
Should have known!!!
Thanks to you
To summarize :
V5.73 put nothing in subsystem
V6.00 put DirectX9 in subsystem
If we use DirectX, of course.
Re: Problem with Purebasic v6.00
I spoke too soon...
With v6.00, some of my programs no longer work correctly (whether I put DirectX9, DirectX11 or nothing) while they worked perfectly with v5.73!!!
I'm fed up because I spent a lot of time trying everything and I'm uninstalling v6.00 because, for me, it's v6.00 that contains bugs!
With v6.00, some of my programs no longer work correctly (whether I put DirectX9, DirectX11 or nothing) while they worked perfectly with v5.73!!!
I'm fed up because I spent a lot of time trying everything and I'm uninstalling v6.00 because, for me, it's v6.00 that contains bugs!
Re: Problem with Purebasic v6.00
What are your compiler options?
ASM, C backend, +optimizer?, threaded, etc.
ASM, C backend, +optimizer?, threaded, etc.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Problem with Purebasic v6.00
Hello,
I have no compilation option, I just check these 2 boxes:
Enable modern theme suppport (for Windows XP and above)
Enable DPI aware executable (Windows)
And I tested by putting in the zone Library Subsystem
Nothing
DirectX9
DirectX11
I have no compilation option, I just check these 2 boxes:
Enable modern theme suppport (for Windows XP and above)
Enable DPI aware executable (Windows)
And I tested by putting in the zone Library Subsystem
Nothing
DirectX9
DirectX11
Re: Problem with Purebasic v6.00
1. You can perfectly well have several versions of PB at the same time, just specify different directories during the installation. No need to uninstall.
2. Update your graphics card drivers, this will update DirectX (launch dxdiag after and see if errors)
3. If you have a graphics card based on NVidia chipset, use the stable driver: SD (Studio Driver) rather than GRD (Game Ready Driver).
4. If you don't check any option on compiler option, then you still use ASM. Try C backend too (pbcompilerc.exe)
(C:\Program Files\PureBasic\Compilers\pbcompilerc.exe in a standard installation)
5. A few thousand of us have been using version 6 successfully for several months.
6. In my case, in V6 x64 ASM without DirectX declaration (so the default one (DX12)
screen 125% DPI checked
It works. full text
If I put Directx11 or 12: Error
If DirectX 9, or nothing: OK
2. Update your graphics card drivers, this will update DirectX (launch dxdiag after and see if errors)
3. If you have a graphics card based on NVidia chipset, use the stable driver: SD (Studio Driver) rather than GRD (Game Ready Driver).
4. If you don't check any option on compiler option, then you still use ASM. Try C backend too (pbcompilerc.exe)
(C:\Program Files\PureBasic\Compilers\pbcompilerc.exe in a standard installation)
5. A few thousand of us have been using version 6 successfully for several months.
6. In my case, in V6 x64 ASM without DirectX declaration (so the default one (DX12)
screen 125% DPI checked
It works. full text
If I put Directx11 or 12: Error
If DirectX 9, or nothing: OK
Last edited by Marc56us on Wed Aug 17, 2022 9:29 am, edited 1 time in total.