[twsocket] Access violation in ICS wndproc--how to debug?

2010-10-02 Thread Fastream Technologies
Hello,

Our ICS proxy when refresh is hit on a specific page gives AV of !
It is in the message pump and in no C++ event so the debugger shows nothing
in stack. Is there any way to deal with this?

Regards,

SZ
P. S. Francois, I know I could not pay attention to the project with you but
this bug is so ugly has been taking a lot of time recently... :-(
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Solution you may be interested in: Re: Access violation in ICS wndproc--how to debug?

2010-10-02 Thread Fastream Technologies
Hello,

All I had to do to find the unchecked Move() source boundary was to go to
Debugger Options and set Access Violation to User Program instead of OS. It
then suddenly began to show the event in stack!

I believe most of you will find this info useful.

Best Regards,

SZ

On Sat, Oct 2, 2010 at 2:14 PM, Fastream Technologies ga...@fastream.comwrote:

 Hello,

 Our ICS proxy when refresh is hit on a specific page gives AV of !
 It is in the message pump and in no C++ event so the debugger shows nothing
 in stack. Is there any way to deal with this?

 Regards,

 SZ
 P. S. Francois, I know I could not pay attention to the project with you
 but this bug is so ugly has been taking a lot of time recently... :-(

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SMTP mail queue component?

2010-10-02 Thread DZ-Jay

On Oct 01, 2010, at 11:41, Angus Robertson - Magenta Systems Ltd wrote:

 Has anyone built a component to queue email until an SMTP relay server is
 available?  

Angus,
A few years ago I built a Mail Queue Service (I called SMailQ).  This 
wasn't a queuing component, but an entire queueing service for SMTP clients to 
connect and drop messages for sending to an SMTP server.

It included a client component based on ICS that would interface with 
the SMailQ service with a simple protocol to dump fully formed MIME messages.  
The SMailQ service would listen on a TCP port and queue messages on disk based 
on priority, and periodically scanned the queue directory to send any messages 
there.  It would also interrupt its scanning of lower priority messages when a 
higher priority message arrived, in order to process it first.

It also used my own custom MIME library (based on the ones in ICS) to 
encode and decode the messages dynamically, one line at a time, as they were 
streamed to and from disk, instead of having to load them into memory 
completely first.

It used a database to keep a message sending log (for auditing 
purposes) and attempted to recover from failures on restarting by scanning the 
queue directory.  It was blazingly fast and robust.

This fully featured system may not be what you are looking for, but I 
can share some of the code if you are interested, and at least offer some ideas 
on how I solved certain problems.

dZ.

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be