64 Bit Standalone on Windows 11 won't load
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
64 Bit Standalone on Windows 11 won't load
I have had a few reports that my Windows 64 bit standalone app doesn't launch on Windows 11. However, the 32 bit standalone works ok. Is there something I'm missing ? I couldn't find anything in the standalone settings... or is there something the user needs to do in Windows 11 ?
thanks for any suggestions,
Richard
thanks for any suggestions,
Richard
Livecode Indy 9.6.11 (Stable)
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: 64 Bit Standalone on Windows 11 won't load
It could very well be this:
https://quality.livecode.com/show_bug.cgi?id=23659
https://quality.livecode.com/show_bug.cgi?id=23659
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 9856
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: 64 Bit Standalone on Windows 11 won't load
Windows = DLL Hell.
As always, keep drivers up to date with the latest from the vendor and many issues go away.
As Dr Raney used to say, "This engine is very good at exposing bugs in device drivers." That would seem arrogant were it not so often proven true.
As always, keep drivers up to date with the latest from the vendor and many issues go away.
As Dr Raney used to say, "This engine is very good at exposing bugs in device drivers." That would seem arrogant were it not so often proven true.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: 64 Bit Standalone on Windows 11 won't load
Thanks Jacque and ForthWorld for the suggestions.
I read the bug report but it seems to be related to printers. Although my app doesn't have any printing features, I suppose it's possible that it has something to do with it. After all it is Windows
The weird thing is that the 32 bit app works fine but the 64 bit version doesn't ? I would have thought it would be the other way around..
I read the bug report but it seems to be related to printers. Although my app doesn't have any printing features, I suppose it's possible that it has something to do with it. After all it is Windows
The weird thing is that the 32 bit app works fine but the 64 bit version doesn't ? I would have thought it would be the other way around..
Livecode Indy 9.6.11 (Stable)
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: 64 Bit Standalone on Windows 11 won't load
Since the app crashes on startup, I'd guess LC loads print drivers as part of the launch process in case they're needed. For my app, the crash happens even if the user has no printer selected at all. Like you, not all users are affected but the workaround has worked in all cases so far.
Maybe one of the affected drivers isn't completely compatible with 64-bit?
Maybe one of the affected drivers isn't completely compatible with 64-bit?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: 64 Bit Standalone on Windows 11 won't load
hi all. let me add a quick note:
as i wrote @ https://quality.livecode.com/show_bug.cgi?id=23659, i did a test on a.brand.new.pc. running win10 (windows 10, not 11). latest version available.
i connected it to my network, i opened the printer settings, it smelled my printer and set it automatically, adding the ms drivers. i don't know if that's the normal behavior in windows world, but it happened.
then i run my "test" app (single card app, with a single "hello!" button).
the bug prevented the app from starting.
i removed the printer.
i run again my app, successfully.
now, if the "workaround" for this is to tell my customers "hey, if you really wish to use my software, please do not install your printers the way microsoft does automatically. instead, remove them, download original drivers, install those one. or live without printing, you'll help to save trees"… well, if this is the suggested "workaround", once again i've got the feeling LC world is away a little from real life.
i don't know.
maybe it's me.
as i wrote @ https://quality.livecode.com/show_bug.cgi?id=23659, i did a test on a.brand.new.pc. running win10 (windows 10, not 11). latest version available.
i connected it to my network, i opened the printer settings, it smelled my printer and set it automatically, adding the ms drivers. i don't know if that's the normal behavior in windows world, but it happened.
then i run my "test" app (single card app, with a single "hello!" button).
the bug prevented the app from starting.
i removed the printer.
i run again my app, successfully.
now, if the "workaround" for this is to tell my customers "hey, if you really wish to use my software, please do not install your printers the way microsoft does automatically. instead, remove them, download original drivers, install those one. or live without printing, you'll help to save trees"… well, if this is the suggested "workaround", once again i've got the feeling LC world is away a little from real life.
i don't know.
maybe it's me.
-
- Posts: 722
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: 64 Bit Standalone on Windows 11 won't load
Maybe the following fix works?!
In Settings, go to Printer properties -> Device Settings
and change “spooling@host from “auto” to “enabled”
Hope this helps!
For finding the settings see: https://oip.manual.canon/USRMA-0255-zz- ... 20Host%5D.
Regards,
Paul
In Settings, go to Printer properties -> Device Settings
and change “spooling@host from “auto” to “enabled”
Hope this helps!
For finding the settings see: https://oip.manual.canon/USRMA-0255-zz- ... 20Host%5D.
Regards,
Paul
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: 64 Bit Standalone on Windows 11 won't load
We do have to tell our affected customers to change their printer driver settings, but since it doesn't happen on every PC it isn't a frequent issue. The LC team does want to fix this problem but they can't reproduce it in order to see what's happening. At first they thought it was limited to one vendor but it's been appearing on other machines occasionally. If you could add your machine model and other tech specs to the bug report it may help.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: 64 Bit Standalone on Windows 11 won't load
hi.
i did it. more than 1 month ago. see https://quality.livecode.com/show_bug.cgi?id=23659#c29
regards.
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: 64 Bit Standalone on Windows 11 won't load
Great reports. Now I have two different names for you.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: 64 Bit Standalone on Windows 11 won't load
The latest report from a user indicated that both the 32 and 64 bit apps worked in Window 10. But upon a fresh install of Windows 11 Pro, the 64 bit version no longer works. The 32 bit version is OK. He has no printers installed !
Maybe something else is going on in Windows 11, perhaps another setting somewhere. I'm a Mac guy so Windows is not my strong suit..
Maybe something else is going on in Windows 11, perhaps another setting somewhere. I'm a Mac guy so Windows is not my strong suit..
Livecode Indy 9.6.11 (Stable)
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: 64 Bit Standalone on Windows 11 won't load
The problem occurs even with no printers installed, just the existence of the MS drivers is the cause. They need to be deleted or replaced with the manufacturer's driver.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: 64 Bit Standalone on Windows 11 won't load
not in my tests. removing the printer was enough.
i did the trick 3 or 4 times: install printer->run app -> failure ->remove printer -> run app -> good -> install printer->run app-> failure and so on ad libitum. i did not uninstall anything. i had to simply add/remove the printer, letting ms do that automatically regarding the drivers.
time to call hercule poirot. or even insp. clouseau.
regards.
Re: 64 Bit Standalone on Windows 11 won't load
@rmuzzini : There is a command line program attached to https://quality.livecode.com/show_bug.cgi?id=23659 - https://quality.livecode.com/attachment.cgi?id=11184. SInce you seem to be able to reproduce the problem on your machine could you add the printer(s) which cause the problem, then run that command from the command prompt and see if it crashes - posting whatever output it generates into the console to the bug report.rmuzzini wrote: ↑Wed Nov 02, 2022 5:26 pmnot in my tests. removing the printer was enough.
i did the trick 3 or 4 times: install printer->run app -> failure ->remove printer -> run app -> good -> install printer->run app-> failure and so on ad libitum. i did not uninstall anything. i had to simply add/remove the printer, letting ms do that automatically regarding the drivers.
time to call hercule poirot. or even insp. clouseau.
regards.
The program does nothing special - it just does exactly the same sequence of Windows API calls which the engine does when it initializes printing (specifically it looks up the default printer and fetches its settings).
As it stands, we have been unable to reproduce the problem - despite trying numerous configurations which makes it almost impossible to figure out *why* the crash on startup occurs.
That being said - there will be a patch in the next 9.6.9 build (rc-2) which attempts to ignore any exceptions which occur when initializing the printer - I'm not sure this will actually work or not, but in the absence of being able to determine the exact cause its worth a try.