Old 07-27-2002, 11:17 AM   #1
oxbcat
Member
FlashFXP Beta Tester
 
Join Date: Mar 2002
Posts: 49
Default damn it, another error...invalid window handle

i went into site manager... and then to options...
and it crashed



from flash window:
[12:11:11] An internal error has occurred.
[12:11:11] Win32 Error. Code: 1400.
Invalid window handle

from debug.log

---------------------------12:11:11 27/07/2002---------------------------
Version: 2.0 RC2 (build 868)
Compiled on: Jul 26, 2002
OS Ver: 5.1 (build 2600)

Exception 'EWin32Error' in module flashfxp.exe at 0000BD4F
Win32 Error. Code: 1400.
Invalid window handle

Source file: UNKNOWN, Line UNKNOWN
Error within Try/Except

Call stack:
:0040CD4F [flashfxp.exe]
:0044444A [flashfxp.exe] (Controls.pas, line 5415)
:0042DC5D [flashfxp.exe] (StdCtrls.pas, line 3046)
:00444603 [flashfxp.exe] (Controls.pas, line 5472)
:0044477B [flashfxp.exe] (Controls.pas, line 5522)
:0044482F [flashfxp.exe] (Controls.pas, line 5547)
:0044222B [flashfxp.exe] (Controls.pas, line 4158)
:00441151 [flashfxp.exe] (Controls.pas, line 3405)
:004751CA [flashfxp.exe] (ComCtrls.pas, line 4317)
:004752CE [flashfxp.exe] (ComCtrls.pas, line 4344)
:00474C55 [flashfxp.exe] (ComCtrls.pas, line 4114)
:004745ED [flashfxp.exe] (ComCtrls.pas, line 3900)
:004423FC [flashfxp.exe] (Controls.pas, line 4233)
:0044222B [flashfxp.exe] (Controls.pas, line 4158)
:00444DA4 [flashfxp.exe] (Controls.pas, line 5741)
:004448BB [flashfxp.exe] (Controls.pas, line 5571)
:00432B2E [flashfxp.exe] (Forms.pas, line 1451)
:77D43A5F [user32.dll]
:77D43B2E [user32.dll]
:77D45874 [user32.dll]
:77D458A4 [user32.dll]
:77F5108F [ntdll.dll]
:77D45E7E [user32.dll]
:71973F8C [comctl32.dll]
:719745AA [comctl32.dll]
:71996C85 [comctl32.dll]
:719978A3 [comctl32.dll]
:71997E05 [comctl32.dll]
:77D43A5F [user32.dll]
:77D43B2E [user32.dll]
:77D47419 [user32.dll]
:77D5BA3F [user32.dll]
:00444D28 [flashfxp.exe] (Controls.pas, line 5720)
:0044264C [flashfxp.exe] (Controls.pas, line 4319)
:004423FC [flashfxp.exe] (Controls.pas, line 4233)
:004448BB [flashfxp.exe] (Controls.pas, line 5571)
:00432B2E [flashfxp.exe] (Forms.pas, line 1451)
:77D43A5F [user32.dll]
:77D43B2E [user32.dll]
:77D43D6A [user32.dll]
:77D441FD [user32.dll]
:0054A419 [flashfxp.exe] (FlashFXP.dpr, line 221)
:77E7EB69 [kernel32.dll]
oxbcat is offline  
Old 07-27-2002, 01:37 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

This is a windows resource error. Basically windows has run out of resources and it's unable to give any to FlashFXP.

Windows resources are not a renewable resource. Poorly written applications can allocate resources and neglect to release them.

If you have many applications open you need to close some. If that doesn't solve the problem then you need to reboot Windows.
bigstar is offline  
Old 07-28-2002, 12:18 PM   #3
oxbcat
Member
FlashFXP Beta Tester
 
Join Date: Mar 2002
Posts: 49
Default odd

this happens when i have flash fxp open for any length of time over 24 hours. my win xp system always stays up, like in terms of weeks not hours. no other program i run has difficulty with windows being up so long. not to mention i only have 512mb (small by todays standards i know) of memory.

if this is a windows problem then why doesnt windows crash?
and if this is a flash problem, could it my the dynamic memory allocation algorythm?
oxbcat is offline  
Old 07-28-2002, 01:37 PM   #4
Knightarr
Junior Member
 
Join Date: May 2002
Posts: 5
Default NT Kernels and resources?

As to my understanding of the NT based OSes, weren't system resources "removed" from them because NT was supposed to do a better job and running out of resources on any NT based sys. was technically not possible?

Knightarr
Knightarr is offline  
Old 07-28-2002, 01:58 PM   #5
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default Re: odd

Quote:
Originally posted by oxbcat
this happens when i have flash fxp open for any length of time over 24 hours. my win xp system always stays up, like in terms of weeks not hours. no other program i run has difficulty with windows being up so long. not to mention i only have 512mb (small by todays standards i know) of memory.

if this is a windows problem then why doesnt windows crash?
and if this is a flash problem, could it my the dynamic memory allocation algorythm?
I personally don't know enough about how windows works to explain it or make any sense of it. I suspect part of the problem is caused by the Borland Delphi VCL works, it is responsible for creating the windows/controls you see. I don't know how windows determines it's low on resources. Only that this type of error usually occurs when there is none left.

All sub windows in FlashFXP are created when shown, not on startup, otherwise it would have a huge memory foot print.

I don't have much experience with windows xp so maybe it could be something else, but I don't know what that could be.

What I do know is that atlest a dozen people are using FlashFXP on windows xp without this type of error.
bigstar is offline  
Old 07-28-2002, 06:23 PM   #6
oxbcat
Member
FlashFXP Beta Tester
 
Join Date: Mar 2002
Posts: 49
Default xp runs this fine

xp runs this fine, but when flash is open for long amounts of time (ie 24+ hours) !SomeTimes! this happenes. thats all i am saying
and i know windows isnt running out of resources because basically nothing else is running...
oxbcat is offline  
Old 07-28-2002, 07:57 PM   #7
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

ok.. well I don't know. I am only guessing.

The function that fails is a windows api (CreateWindowEx), it fails to allocate the handle. That's all I know for sure.

This thread isn't getting anywhere. I don't know of anything more I can do to help you.
bigstar is offline  
 

Tags
controls.pas, error, line, [flashfxp.exe], [user32.dll]

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:27 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)