Page 1 of 1
initsprite3d() problem
Posted: Sat Dec 17, 2005 2:55 pm
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. }
Posted: Sat Dec 17, 2005 2:58 pm
by Trond
Have you tried a restart?
Posted: Sat Dec 17, 2005 3:11 pm
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.
Posted: Sat Dec 17, 2005 4:29 pm
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.
Posted: Sun Dec 18, 2005 1:38 am
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
Posted: Fri Dec 23, 2005 2:40 pm
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

mutter, mutter.......
Posted: Fri Dec 23, 2005 3:04 pm
by netmaestro
I'm beat.
Posted: Fri Dec 23, 2005 3:22 pm
by DarkDragon
Have you disabled NT4.0 executable format? Then it should work.
Posted: Sat Dec 24, 2005 6:52 am
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...
Such a simple stupid thing for me to have overlooked it is default on on my system
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.