Initsprite not work anymore on my pc
Initsprite not work anymore on my pc
Dear all, i've a windows 7 x64 installation, from some days the command initsprite fail without any reason, how i can debug and solve the problem ? i've some personal purebasic application that does not work anymore! i try to reinstall directx package but this does not solve the problem, please help me! Thanks!
Re: Initsprite not work anymore on my pc
Sounds like a driver issue.
Try it with OpenGL as Subsystem.
Try it with OpenGL as Subsystem.
Re: Initsprite not work anymore on my pc
Sometimes the same problem and i use subsystem OpenGL too
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Initsprite not work anymore on my pc
.
Last edited by dige on Wed Jun 26, 2019 6:59 am, edited 1 time in total.
"Daddy, I'll run faster, then it is not so far..."
Re: Initsprite not work anymore on my pc
on this pc works until latest windows updates, i notice also a strange thing, if i run dxdiag the first time tell me that test are in x86 subsystem and i can switch to x64 subsystem also, the dxdiag tell that in x86 subsystem directx does not work, instead works on x64 subsystem, what the hell ?
Re: Initsprite not work anymore on my pc
Just a little update, i've done this test, creating 2 executable with purebasic x86 and purebasic x64, that return in messagerequester the result of initsprite command.
x86 return 0
x64 return 1
that is the exact result that i see in dxdiag, now on some forum users write that x86 directx subsystem need to be enabled manually, but dxdiag does not have any option like this, and some weeks ago x86 directx subsystem does not have this problem on this pc, anyone can help me to solve this problem ?
x86 return 0
x64 return 1
that is the exact result that i see in dxdiag, now on some forum users write that x86 directx subsystem need to be enabled manually, but dxdiag does not have any option like this, and some weeks ago x86 directx subsystem does not have this problem on this pc, anyone can help me to solve this problem ?
Re: Initsprite not work anymore on my pc
i suggest to download the full DX9 year 2010 directly from microsoft (98MB)
http://download.microsoft.com/download/ ... redist.exe
then extract the files somewhere
i have noticed half of the files is for x86 and the others for x64 like this
Aug2009_d3dx10_42_x86
Aug2009_d3dx10_42_x64
then run DXSETUP.exe to install dx9. i suggest to disable the web access during the offline install we don't know what micrsoft does when you are online.
then try first one of the purebasic examples which are using InitSprite()
tell us what happened
if that does not work, i remember in the past when i have installed DX9 year 2007 version have cured the problem on windows 7 but now i am preferring to use windows xp/32
the DX9 nov. 2007 can be downloaded from (64MB)
http://filehippo.com/download_directx/3345/
after installing this reinstall DX9 year 2010 over it
http://download.microsoft.com/download/ ... redist.exe
then extract the files somewhere
i have noticed half of the files is for x86 and the others for x64 like this
Aug2009_d3dx10_42_x86
Aug2009_d3dx10_42_x64
then run DXSETUP.exe to install dx9. i suggest to disable the web access during the offline install we don't know what micrsoft does when you are online.
then try first one of the purebasic examples which are using InitSprite()
tell us what happened
if that does not work, i remember in the past when i have installed DX9 year 2007 version have cured the problem on windows 7 but now i am preferring to use windows xp/32
the DX9 nov. 2007 can be downloaded from (64MB)
http://filehippo.com/download_directx/3345/
after installing this reinstall DX9 year 2010 over it
Re: Initsprite not work anymore on my pc
I am running win7x64 on one machine too. If you supply a basic complete source example that doesnt work on your machine, i will try to get it to work on mine and see if/where it breaks so you know what to fix
Keep it as simple as possible - that also means : use a 64bit compiler and resulting binaries, because a 32bit executable would require the whole WOW64 overhead.
I just tried both 2d sprite examples from the PureBasic manual on my windows7 x64 machine and both worked without any problems with OpenGL.
When i explicitly selected the DirectX11 subsystem with the sprite.pb example, InitSprite() actually fails, but i never manually installed any directx support on the machine plus i used the x86 compiler.
Keep it as simple as possible - that also means : use a 64bit compiler and resulting binaries, because a 32bit executable would require the whole WOW64 overhead.
I just tried both 2d sprite examples from the PureBasic manual on my windows7 x64 machine and both worked without any problems with OpenGL.
When i explicitly selected the DirectX11 subsystem with the sprite.pb example, InitSprite() actually fails, but i never manually installed any directx support on the machine plus i used the x86 compiler.