What happened?PureBasic.com wrote:No external DLLs, runtime interpreter or anything else required when creating executables
Klein Bottle example
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: Klein Bottle example
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:

Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: Klein Bottle example
What would be your solution, please ?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:
What happened?PureBasic.com wrote:No external DLLs, runtime interpreter or anything else required when creating executables
Re: Klein Bottle example
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
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.
-
LuCiFeR[SD]
- 666

- Posts: 1033
- Joined: Mon Sep 01, 2003 2:33 pm
Re: Klein Bottle example
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.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.
Re: Klein Bottle example
The new message is worse as now you have no specific detail as to why the command failed.

Re: Klein Bottle example
What happened? Engine3D.dll was added 10 years ago. That happened.MachineCode wrote:After all:What happened?PureBasic.com wrote:No external DLLs, runtime interpreter or anything else required when creating executables
DirectX requirement is documented on the "Requirements" page of the PB manual, so it is OK.MachineCode wrote:I see that as a problem, but I guess others don't.
Yep, the system message clearly said what is missing.moogle wrote:The new message is worse as now you have no specific detail as to why the command failed.
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.
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: Klein Bottle example
I have DirectX 11 installed. So why do I need to install DX9? Doesn't 11 override it?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: Klein Bottle example
No it doesn't, so you need to install DX9.
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: Klein Bottle example
Okay. I'll give it a shot. I don't understand, though, since 11 was released later.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: Klein Bottle example
You need to ask Microsoft for that.
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: Klein Bottle example
No problem, Fred. (BTW, I'm not trying to piss you off).
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: Klein Bottle example
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.MachineCode wrote:Okay. I'll give it a shot. I don't understand, though, since 11 was released later.
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.

