Hello,
I formatted my pc yesterday and now i have problems with PB5.00
Windows 7 PRO x64 and i use dual screen
Directx 9 is installed but when i start sprite3d exemple : i have black screen, i see in debugger the program is runing but nothing is displayed.
With directx 7 or openGl it works. I don't understand the problem.
So i wrote directly to the compiler options, and i gave this error now : Le sous-système suivant est introuvable : directx 9
The sub-system isn't found: directx 9
could you help me ?
regards,
Morgan
edit : if i create folder directx9 in C:\Program Files (x86)\PureBasic\SubSystems\ not error but allways blackscreen
[Resolved] Directx 9 is installed but blackscreen
[Resolved] Directx 9 is installed but blackscreen
Last edited by Atlante on Mon Dec 31, 2012 6:21 pm, edited 1 time in total.
Re: Directx 9 is installed but blackscreen
DirectX9 is the Default! Remove the SubSystem in the CompilerOptions!
The compiler uses the normal libs for DirectX9 and there is no SubSystem-Directory DirectX9 with extra libs!
The compiler uses the normal libs for DirectX9 and there is no SubSystem-Directory DirectX9 with extra libs!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: Directx 9 is installed but blackscreen
Yes, i know. But i had black screen so i tried other solutions.
Nothing works, I still have a black screen and no error message.
regards
Nothing works, I still have a black screen and no error message.
regards
Re: Directx 9 is installed but blackscreen
Okay, see here: http://www.purebasic.fr/english/viewtop ... 58#p377958
Code: Select all
CallFunction(OpenLibrary(#PB_Any,"dwmapi.dll"),"DwmEnableComposition",0)
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: Directx 9 is installed but blackscreen
I try tonight because i'm at work 
Many thanks for your help

Many thanks for your help
Re: Directx 9 is installed but blackscreen
it works 
thanks

thanks