initsprite3d() problem

Everything else that doesn't fall into one of the other PB categories.
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

initsprite3d() problem

Post by Baldrick »

Hi ppl's,
initsprite3d() on my computer is returning as 0 all of a sudden, but I have never had a problem with it before. Other commands - initsprite(), initengine3d(), etc all work fine still. Exe's I have previously compiled as well as downloaded exe's using the initsprite3d() command all still run without error. I have even tried using my old copy of Pb3.93 and get the same initilisation failure on sprite3d.
I was just wondering if anybody else out there has had any simliar problems who may be able give me some idea as to where to go looking for the problem which has appeared on my computer. - I am stummped as to where to even start looking. :?:

P.S. { I have run windows diagnostics for DirectX which all passed [Dx9]. - I am running WinXp Sp2 on a P4 3Gh HT with a 128MB GeForce 5200 graphics accelerator. }
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Have you tried a restart?
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

@Trond,
Yes I have done that, I wish it were something as simple as that lol.
I think this problem may have been in my system for a little while as a couple of snippet posts I tried from this forum failed to run in the last couple of weeks, but I just pretty much shrugged my shoulders & didn't go looking for problems. I started on a little project tonight and thought I was doing something really stupid that made me go and try running a couple of the code archive examples which always worked before but fail now..
e.g. rings It can be done & eye candy from the archive which used to work fine, now fail on me.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Could be something has gone awry with your video driver installation. You could try reinstalling that. Also you could try reinstalling PureBasic in case something has gone AWOL.
Last edited by netmaestro on Wed Feb 22, 2006 5:27 am, edited 3 times in total.
BERESHEIT
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

Thanks netmaestro for your suggestions,
Unfortunately I have already considered both options & have unistalled/ reinstalled my Nvidia drivers & done a full rehash of PureBasic ( i.e. uninstall & delete all traces of PB excepting what may be left resident in the registry) & reinstalled as fresh install in 3.94 & a rollback to 3.93 upgraded to 3.94 all without success. { I haven't touched Ogre at all, I don't really do a lot with graphics stuff opting to stay only with proven native PB }
I am sure as you say, I have some corruption somewhere in my system relating to my video card, but just where is a real mystery & proving very frustrating to find :(
Is starting to look like I might end up doing a full reformat soon if I can't get to the bottom of it. - God I hate doing that!!!! lol
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

Well ppl,
For those that may be interested, I have just finished doing a full reformat on my harddrive & have done a complete fresh install of Xp, etc as well as reinstalling PB3.94 as fresh install & my result......
Bug in initsprite3d() still failing, so it has got me beat. Think I will just not be using this function & will have to try to think of other ways to do things using other commands :cry: mutter, mutter.......
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

I'm beat.
Last edited by netmaestro on Wed Feb 22, 2006 5:27 am, edited 2 times in total.
BERESHEIT
DarkDragon
Addict
Addict
Posts: 2347
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

Have you disabled NT4.0 executable format? Then it should work.
bye,
Daniel
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

@DarkDragon,
You have hit the nail right on its ugly little head, my most utmost thanks to you for this - if I could get a carton of beer through the net you would have it... :D
Such a simple stupid thing for me to have overlooked it is default on on my system :oops:
Oh well, at least I have unloaded a lot of deadwood files & have a nice fresh OS with the reformat, so it's all good.
Many thanks to everyone who has offered help here
Hope every1 has a great xmas & an even better NY too BTW.
Post Reply