x86 and x64: Trouble with "Allow only one instance"

Working on new editor enhancements?
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

x86 and x64: Trouble with "Allow only one instance"

Post by AND51 »

Hello!

You might re-consider the IDE option "Allow only one instance".
It only leads to trouble when active.

1) You cannot open IDEx86 and IDEx64 at the same time.
2) Switching of this option in IDEx86 leads to crash on Vista when opening a further .pb-file (the new instance crashes).
3) When opening both IDEs manually, you cannot differ between IDEx86 and IDEx64; thus, please complete the window title!
PB 4.30

Code: Select all

onErrorGoto(?Fred)
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: x86 and x64: Trouble with "Allow only one instance&

Post by ts-soft »

AND51 wrote:Hello!

You might re-consider the IDE option "Allow only one instance".
It only leads to trouble when active.

1) You cannot open IDEx86 and IDEx64 at the same time.
2) Switching of this option in IDEx86 leads to crash on Vista when opening a further .pb-file (the new instance crashes).
3) When opening both IDEs manually, you cannot differ between IDEx86 and IDEx64; thus, please complete the window title!
-1) make sense
-2) cann't confirm
-3) +1
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

I think all names in the x64 version should changed with a prefix 64
In the moment, the install overwrite the shortcut in startmenü, the mutex reacts and so on.
Better all names with trailing 64, PureBasic64.exe, PureBasic64_Compilation0.exe, ...
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

ts-soft wrote:I think all names in the x64 version should changed with a prefix 64
In the moment, the install overwrite the shortcut in startmenü, the mutex reacts and so on.
Better all names with trailing 64, PureBasic64.exe, PureBasic64_Compilation0.exe, ...
+1

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I find it a bit funny that the 32-bit version for Windows is called x86, the 64-bit is called x64, and the 64-bit version for OSX is called x86.

Personally I have always found the "only one instance" option very annyoing since it prevents having multiple PB versions opened at the same time. However, I don't want multiple windows of the same version at the same time, so I usually have it on anyways.
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

there is no 64bit version of pb for osx atm.

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

I find it a bit funny that the 32-bit version for Windows is called x86, the 64-bit is called x64, and the 64-bit version for OSX is called x86.
I think microsoft started this crazy trend - still it's done now.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

IIRC it was AMD that called their CPU (instruction sets) Amd64, Intel turned it into x86-64 then MicroSoft simplified that to x64.

But, of course, I am known to be wrong :-)

And I appear to be :-)

http://en.wikipedia.org/wiki/X86-64
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

nco2k wrote:there is no 64bit version of pb for osx atm.

c ya,
nco2k
So what is the number of bits used in the x86 version for OSX if it's not 64? The so called "x86 macs" have 64-bit processors.
freak
PureBasic Team
PureBasic Team
Posts: 5941
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Trond wrote:
nco2k wrote:there is no 64bit version of pb for osx atm.

c ya,
nco2k
So what is the number of bits used in the x86 version for OSX if it's not 64? The so called "x86 macs" have 64-bit processors.
PureBasic for OSX produces x86 code, resulting in a 32bit program. Thats why it is called PureBasic x86 ;)
quidquid Latine dictum sit altum videtur
freak
PureBasic Team
PureBasic Team
Posts: 5941
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

- The IDE title now contains the version and cpu type
- The RunOnce setting is now specific to one installation only (so you can run x86/x64 at the same time, as well as different versions)
- The Shortcut names will be adjusted for the x64 version
quidquid Latine dictum sit altum videtur
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

:D thx timo
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Post Reply