@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9



Comments:

<0> thanks dayna.
<1> welcome.
<1> must be time for me to report in at work.
<0> heh
<0> Dayna: any other options when anti-gas isn't available?
<1> ki9a: time.
<0> ah great
<1> this too shall p***.
<0> I'm sure of it
<2> drink some milk
<2> or eat chalk
<2> :)
<0> heh
<2> i really wish there was an Align property in the .NET controls
<0> ever saw Dock?
<2> yes



<2> but thats not align now is it
<2> that just does what alClient does
<3> or anchor?
<2> oh
<2> hehe
<2> nm
<2> dock it is
<2> :P
<2> I've only ever seen it do the whole control
<4> did you hear that eBay is not allowing sellers to request Google Checkout? Its banning Google checkout.
<5> why wouldn't it? they own the competition
<1> don't they own paypal now?
<5> yup
<6> Have for ages.
<6> Kinda like saying "visa won't accept payment off my mastercard"
<4> anyone ever seen this exception?
<4> exception number : 1
<4> exception cl*** : EOSError
<4> exception message : System Error. Code: 1410. Cl*** already exists.
<0> 1410
<0> that's ancient
<0> RegisterCl*** is called twice
<0> the api function
<4> hmm
<4> would that happen with registercomponents?
<0> don't think so
<0> no call stack?
<4> just a sec
<7> Mornin'
<4> its coming ultimately from one of my componnets...
<4> and i don't know why
<4> main thread ($1a4):
<4> 00458649 AdEntry.exe SysUtils RaiseLastOSError
<4> 004d07b8 AdEntry.exe Controls TWinControl.CreateWnd
<4> 004aee2b AdEntry.exe ComCtrls TAnimate.CreateWnd
<4> 004d0b86 AdEntry.exe Controls TWinControl.CreateHandle
<4> 004d36c8 AdEntry.exe Controls TWinControl.HandleNeeded
<4> 004af7bc AdEntry.exe ComCtrls TAnimate.InternalOpen
<4> 004af5f9 AdEntry.exe ComCtrls TAnimate.SetOpen
<4> 004af77b AdEntry.exe ComCtrls TAnimate.CheckOpen
<4> 004af911 AdEntry.exe ComCtrls TAnimate.Seek
<4> 004af900 AdEntry.exe ComCtrls TAnimate.Reset
<4> 004af6d9 AdEntry.exe ComCtrls TAnimate.SetResName
<4> 006d472f AdEntry.exe millersimplesplashform 105 TSplashForm.Create
<4> 006d4c4e AdEntry.exe MillerSimpleSplash 101 TMillerSimpleSplash.ShowSplash
<0> that's RegisterCl*** alright.
<0> What causes it, I dunno\
<4> that makes NO sense
<7> Hmm... Interesting.
<4> how do i know what it is referring to?
<4> could it be MY cl***, or the TAnimate on my form?
<4> or what?
<0> compile wth debug dcus
<7> It could be any cl*** in your project that registers with windows - which is basically any control.
<4> thats all fine and good...but then the other quesiton arises - how to duplicate it?
<4> vibes: OK, but what causes this error?
<4> what does the exception tell me?
<5> i don't see the RegisterCl*** function being called? o_O
<7> MrBtrieve: Attempting to register a window cl*** that already exists.
<7> Gonna have to do a little digging through the VCL source to figure this one out.



<4> i don't even know where the begin.
<7> Well, I think RegisterCl*** is called in TWinControl.CreateWnd.
<7> So what we're going to need to do is compile with debug DCUs, and put some conditional breakpoint on that to isolate the cl*** that's doing it.
<5> there are 2 places a RaiseLastOSError is called
<5> 1) after a RegisterCl***
<7> That's step 1. I'm not sure what step 2 is. :P
<5> 2) after a CreateWindow
<5> 1) if Windows.RegisterCl***(WindowCl***) = 0 then RaiseLastOSError;
<7> MrBtrieve: What version of Delphi are you using?
<4> ok, but here is my question - as a programmer using teh VCL, we do not explicitly call RegisterCl***...but something i'm doing (or not doing) is causing a cl*** to be registered twice.
<4> what is it that i'm doing, or not doing?
<4> Delphi 7
<5> maybe your system is running out of handles?
<0> a dll ?
<4> no, not a dll
<4> running out of handles??
<6> Weird error if that's what is happening.
<7> OK, my guess is that the error is happening at Controls.pas line 6000. Debug DCUs and a breakpoint... gonna take some patience, but see if you can catch it in the act.
<0> or
<0> put your breakpoint in TAnimate.CreateWnd
<0> and step into it
<0> might be called less
<4> i guess i'm looking at the bigger picture, since this exception i haven't seen before and this system has been in production for a couple years
<7> True. I suspect that
<4> i don't believe its a bug in TAnimate
<7> 's not going to catch it, but if it does, it will be a lot less work.
<4> something else is CAUSING this to happen
<4> and debugging into TAnimate probably won't tell me what is happening since this would probably be a bitch to duplicate
<7> MrBtrieve: OK, Ultimately, what's happening is that RegisterCl*** is being called twice with the same cl*** name. This normally can't happen because the cl*** name includes the VCL cl*** name, and a project generally can't compile with two cl***es of the same name... However, that's what's happening here.
<4> so, with teh above call stack, would it be TAnimate that is causing the exception?
<4> or TSplashForm
<7> That would be our first suspicion.
<7> I'd start with TAnimate.
<4> Feasibly, how could RegisterCl*** be being called twice for the same cl***?
<0> was the last 4400 any better than te ones before it?
<8> using design time packages
<8> or actually, not using them
<8> you use any dlls?
<4> no
<8> only ever seen it with dlls
<4> well, then, that's not helping me
<9> hey
<0> hey larry
<0> Jeff, what's new ?
<0> Home again?
<5> lol unless you write in ***embly, you use dlls ;-)
<4> well, rahly, got a better answer for me?
<2> .NET
<2> solution to everything
<2> ;)
<5> MrB: nope, if i had the application, i could debug it, but it could be a number of things
<4> well of course
<5> i fixed many applications without source
<2> yeh but u cant fix the app without the app, so you're not that clevel! :P
<5> lol
<5> clevel?
<2> clever level
<2> ;)
<5> i'm not that clever level? interesting terminology
<10> in connecticut still
<10> ki9a, I live in the same area Drk lives at
<4> you moved?
<10> no, just up here for a yr and a half
<6> Probably be here longer than I will.
<10> I still think it was him I saw wearing spandex shorts last night
<10> Drk, leaving in Oct
<6> Ok, Maybe not.
<10> hehe
<0> Rahly: Finally. ep 5 it will be interesting (4400)
<5> oh?
<5> i don't have it yet
<0> ah k
<0> their philosophy is start lame (same with s2)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #delphi
or
Go to some related logs:

#mirc
#delphi
litle wooman
#windowsxp
#winvista
#solaris
babycunt.net
#debian
#gentoo
#politics



Home  |  disclaimer  |  contact  |  submit quotes