Francois Piette wrote:
> 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.

It's great, but note that it would catch only unhandled exceptions.
If the exception is caught by TWsocket as a background exception you
could temporarily modify TCustomWsocket.WndProc to use a MadExcept
exception handler.

 
> 
> --
> [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

Reply via email to