XY will not start

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Gandolf

XY will not start

Post by Gandolf »

When I tried to run XY I got the following error:

Code: Select all

Error 	5 (00000005)
Desc	Invalid procedure call or argument
Dll	0
Proc	Load@71

Source	XYplorer
Version	5.00.0046
OS	WinXP
Date	18/07/2006 03:43:29
I then installed the latest version. Same result, except version number is 5.00.0050

I moved XYplorer.ini to another directory and XY then starts, and creates a new ini file.

Loaded a different ini file and XY worked with that ini file.

I'm going to investigate the original XYplorer.ini file to see if I can locate what is the problem. Any suggestions as to the cause?

Gandolf

Post by Gandolf »

O.K. I've found the lines in XYplorer.ini that cause the problem:

Code: Select all

[General]
PanelHeight=462
PanelHeightJump=508
Changing them to:

Code: Select all

PanelHeight=196
PanelHeightJump=0
which were the values in the ini file created after I had deleted the original ini file. It now loads the original XYplorer.ini file (with the two lines changed) and all appears to work correctly.

I didn't investigate if it's the "PanelHeight" or the "PanelHeightJump" that is the trouble (or both). I wasn't aware of any problems before I closed XY previously so how those values became changed to something that is, I assume, invalid I don't know.

Looking at the XY display I believe I had a file in Preview (or File View) when I closed XY. That file had then been deleted by another application before XY was opened again. Just tried to reproduce and no problem.

I've done a virus scan and all looks clean.

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Post by surrender »

Very interesting because I had the same problem with my XY when i closed it in preview mode. I thought it was something to do with my OS or some virus thing and did not care to report. I backed up my xyplorer.ini and catalog.dat and uninstalled xy completely including deleting the folder. even after reinstall and putting my old .ini it did not work. I guess it was my old .ini which had the problem because once i got rid of it and installed everything new my XY booted up fine. Good that it works now and bad that my old ini wasnt usable. :(

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Gandolf wrote:O.K. I've found the lines in XYplorer.ini that cause the problem:

Code: Select all

[General]
PanelHeight=462
PanelHeightJump=508
Thanks for your investigation, Gandolf!! That was very helpful. Indeed I could reproduce the startup error and also add a fix. However, just like you, I could not reproduce the generation of this illegal value. (It's only PanelHeight=462 that causes the trouble.)

Gandolf

Post by Gandolf »

Glad to be of service! Thanks for the fix, it was rather disturbing to see the error at start-up.

Could it be related to the fact that PanelHeight=462 is greater than WinH=370? Since the XY window is maximised (display is 1024 X 768) the Info Panel can, I assume, be as high as 462 and still be valid. But a PanelHeight of 462 would not be valid if the XY window was normal, in my case 1024 X 370. Does XY load as a normal window and then change to the maximised state? If so could it have first read the info panel size in some way? Just ideas I was having.

By the way, I thought you were having a holiday!

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Gandolf wrote:Could it be related to the fact that PanelHeight=462 is greater than WinH=370? Since the XY window is maximised (display is 1024 X 768) the Info Panel can, I assume, be as high as 462 and still be valid. But a PanelHeight of 462 would not be valid if the XY window was normal, in my case 1024 X 370. Does XY load as a normal window and then change to the maximised state? If so could it have first read the info panel size in some way? Just ideas I was having.
Exactly! (Hey, you want to take over here? :wink: ) Here's how to reproduce it: small normal winstate, then maximize, enlarge panel to higher then normal winstate height, close app. On restart you get the error. The bug was born 20060526, and it left us today.
Gandolf wrote:By the way, I thought you were having a holiday!
Yeah, in a way. Holiday is a state of mind. I'm doing more or less the same stuff as always but with a more relaxed attitude. 8)

Gandolf

Post by Gandolf »

admin wrote:Hey, you want to take over here? :wink: )
No thank you. 40+ years of programming is enough - I'm having a rest now but I still enjoy de-bugging other peoples programs. That way I find the problems, but they have to solve them!!

Here is what I wrote before I saw your reply, so we were both thinking along the same lines.

I can reproduce it reliably with the following:

Open XY maximised.
Open the Info Panel and re-size it to maximum or almost maximum.
Close XY.
Re-open it - well... try to!!

If I increase the normal window height, then I can close and re-open XY maximised with a larger Info Panel without any problem. With maximum normal window height (WinW=1024, WinH=742), XY window maximised and Info Panel maximised the error still occurs (PanelHeight=603). Reducing PanelHeight to 560 by modifying the ini file then XY starts O.K.

This would appear to confirm that the problem is the size of the Info Panel relative to the normal XY window size.

All may have been solved by your bug fix, but I'll give you the additional information anyway.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

Gandolf wrote:By the way, I thought you were having a holiday!
Admin wrote:Yeah, in a way. Holiday is a state of mind. I'm doing more or less the same stuff as always but with a more relaxed attitude. 8)
Maybe Don should force himself to only work/think on XY for 4 days a week max until Sept 1?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

j_c_hallgren wrote:Maybe Don should force himself to only work/think on XY for 4 days a week max until Sept 1?
At 35°C currently and raising it's the _speed_ of thought that becomes so small that it's hard to measure. Whatever it is, at that speed even 8 days a week won't generate a feature tsunami.

Post Reply