Page 3 of 3
Re: Klein Bottle example
Posted: Wed Mar 20, 2013 3:37 pm
by MachineCode
My point is: I can't just copy and paste a code sample from these forums and run it, without needing to install another product (DLL or DirectX) first. I see that as a problem, but I guess others don't. After all:
PureBasic.com wrote:No external DLLs, runtime interpreter or anything else required when creating executables
What happened?

Re: Klein Bottle example
Posted: Wed Mar 20, 2013 3:43 pm
by Fred
MachineCode wrote:My point is: I can't just copy and paste a code sample from these forums and run it, without needing to install another product (DLL or DirectX) first. I see that as a problem, but I guess others don't. After all:
PureBasic.com wrote:No external DLLs, runtime interpreter or anything else required when creating executables
What happened?

What would be your solution, please ?
Re: Klein Bottle example
Posted: Wed Mar 20, 2013 3:46 pm
by applePi
i suggest to you to consult microsoft. you have not tried my suggestions because you respond immediately, which is the suggestion of microsoft, and the users here in the detailed links provided.
Re: Klein Bottle example
Posted: Wed Mar 20, 2013 3:50 pm
by Fred
Installing DX9 worked on all PC I tested PB on, and it's also needed for commercial DirectX9 games as well, so i don't think it can be avoided at all.
Re: Klein Bottle example
Posted: Wed Mar 20, 2013 4:44 pm
by LuCiFeR[SD]
Fred wrote:Installing DX9 worked on all PC I tested PB on, and it's also needed for commercial DirectX9 games as well, so i don't think it can be avoided at all.
which puts us back to the installer fred. you could get it to download and install the additional requirements direct from Microsoft/nvidia etc. you could make it optional I suppose.... Just a thought. plenty of other software installers do it.
Re: Klein Bottle example
Posted: Wed Mar 20, 2013 8:09 pm
by moogle
The new message is worse as now you have no specific detail as to why the command failed.
Re: Klein Bottle example
Posted: Wed Mar 20, 2013 8:17 pm
by Danilo
MachineCode wrote:After all:
PureBasic.com wrote:No external DLLs, runtime interpreter or anything else required when creating executables
What happened?

What happened? Engine3D.dll was added 10 years ago. That happened.
MachineCode wrote:I see that as a problem, but I guess others don't.
DirectX requirement is documented on the "Requirements" page of the PB manual, so it is OK.
moogle wrote:The new message is worse as now you have no specific detail as to why the command failed.
Yep, the system message clearly said what is missing.
PB style means return 0 for failed commands, whatever the reason may be.
You never know the reason why something failed in PB. LastError() and LastErrorMessage() missing.

Re: Klein Bottle example
Posted: Thu Mar 21, 2013 8:52 am
by MachineCode
I have DirectX 11 installed. So why do I need to install DX9? Doesn't 11 override it?
Re: Klein Bottle example
Posted: Thu Mar 21, 2013 9:02 am
by Fred
No it doesn't, so you need to install DX9.
Re: Klein Bottle example
Posted: Thu Mar 21, 2013 9:08 am
by MachineCode
Okay. I'll give it a shot. I don't understand, though, since 11 was released later.
Re: Klein Bottle example
Posted: Thu Mar 21, 2013 9:13 am
by Fred
You need to ask Microsoft for that.
Re: Klein Bottle example
Posted: Thu Mar 21, 2013 9:26 am
by MachineCode
No problem, Fred. (BTW, I'm not trying to piss you off).
Re: Klein Bottle example
Posted: Thu Mar 21, 2013 4:44 pm
by Samuel
MachineCode wrote:Okay. I'll give it a shot. I don't understand, though, since 11 was released later.
DirectX is not very backwards compatible. So DirectX11 was built for windows 7 and up. DirectX9 was built for windows XP and up. I
believe the oldest windows OS that
Ogre engine supports is XP. So they only use 9 to keep everything nice and compatible.
In time I'm sure Ogre will dump XP and then upgrade to DirectX10, but for now its going to have to remain
DirectX9.
Also every time windows upgrades there OS they come up with a new DirectX to support it. Currently they are using DirectX12 for Windows 8.
Hope that sheds a little light on the subject.
Edit:
One more thing directX9 is still a very good software. Just because its lower then 11 doesn't mean its a great deal weaker. There are many very nice quality
Xbox360 games that run of off directX9.