Hi, I did the Attach process trick. It is very weird that the bug now does not occur when I go line-by-line in the debugger but occurs when I hit F9. :(( I will continue tomorrow...
Thank you! SZ ----- Original Message ----- From: "Francois Piette" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Tuesday, October 11, 2005 5:20 PM Subject: Re: [twsocket] Fw: Sync THttpConnection derivative > Whare you able to debug your service as I described ? > If yes, single step thru your code until you find where the bug is. > As Arno suggested, MadExcept is a really excellent product. I use it in > almost all my applications. > > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > ----- Original Message ----- > From: "Fastream Technologies" <[EMAIL PROTECTED]> > To: "ICS support mailing" <twsocket@elists.org> > Sent: Tuesday, October 11, 2005 4:10 PM > Subject: Re: [twsocket] Fw: Sync THttpConnection derivative > > >> Thanks for your replies (Francois and Arno). >> >> I tried to log with CodeGuard and EurekaLog and both failed (CodeGuard >> app >> did not start as a service and EurelaLog did not trigger when Windows >> complained). I saw the following error on the Event Viewer: >> >> Faulting application NetFileServerEngine.exe, version 7.9.0.1199, >> faulting >> module unknown, version 0.0.0.0, fault address 0x01d4e195. >> >> Regards, >> >> SZ >> >> ----- Original Message ----- >> From: "Francois Piette" <[EMAIL PROTECTED]> >> To: "ICS support mailing" <twsocket@elists.org> >> Sent: Tuesday, October 11, 2005 4:26 PM >> Subject: Re: [twsocket] Fw: Sync THttpConnection derivative >> >> >> > The problem maybe in kernel32 because you pass an invalid argument >> > value >> > to an API function. Try to >> > find what kernel32 function is called and from where in your program. >> > >> > -- >> > [EMAIL PROTECTED] >> > http://www.overbyte.be >> > >> > >> > ----- Original Message ----- >> > From: "Fastream Technologies" <[EMAIL PROTECTED]> >> > To: "ICS support mailing" <twsocket@elists.org> >> > Sent: Tuesday, October 11, 2005 3:04 PM >> > Subject: Re: [twsocket] Fw: Sync THttpConnection derivative >> > >> > >> >> The problem seems to be in kernel32.dll. Could it be related to the >> >> NexusMM >> >> that we are only using with the service? It is still strange because >> >> the >> >> error is given before quiting, ISAPI code is run... >> >> >> >> Best Regards, >> >> >> >> SubZ >> >> >> >> ----- Original Message ----- >> >> From: "Francois Piette" <[EMAIL PROTECTED]> >> >> To: "ICS support mailing" <twsocket@elists.org> >> >> Sent: Tuesday, October 11, 2005 3:08 PM >> >> Subject: Re: [twsocket] Fw: Sync THttpConnection derivative >> >> >> >> >> >> >> But the error does not happen when debugging. It only occurs in >> >> >> service >> >> >> mode >> >> >> which is not debuggable. That's the whole problem! >> >> > >> >> > You can debug services ! >> >> > Compile your service, run it as a service. Then go to Delphi/BCB run >> >> > menu >> >> > and select "attach to >> >> > processus" (or similar designation: I have a french version). Then >> >> > select >> >> > your service process. >> >> > >> >> > -- >> >> > [EMAIL PROTECTED] >> >> > http://www.overbyte.be >> >> > >> >> > -- >> >> > To unsubscribe or change your settings for TWSocket mailing list >> >> > please goto http://www.elists.org/mailman/listinfo/twsocket >> >> > Visit our website at http://www.overbyte.be >> >> >> >> -- >> >> To unsubscribe or change your settings for TWSocket mailing list >> >> please goto http://www.elists.org/mailman/listinfo/twsocket >> >> Visit our website at http://www.overbyte.be >> > >> > -- >> > To unsubscribe or change your settings for TWSocket mailing list >> > please goto http://www.elists.org/mailman/listinfo/twsocket >> > Visit our website at http://www.overbyte.be >> >> -- >> To unsubscribe or change your settings for TWSocket mailing list >> please goto http://www.elists.org/mailman/listinfo/twsocket >> Visit our website at http://www.overbyte.be > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be