Re: [twsocket] Open to Suggestions

2005-09-25 Thread Piotr Dałek
Hello! > I have a COBOL DLL written that works and communicates well with the > COBOL data. I would like to use the HTTPSERVER and call this DLL > repeated times for various connections. Because of the "SLOWNESS" of > this DLL and the overhead of having to initialize it each time, I really > hat

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-25 Thread Dan
If you have an access violation you must be trying to access some invalid memory. Debug it to find out where it occurs and figure out why. Dan - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, September 25, 2005 3:39 PM Subj

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-25 Thread Fastream Technologies
I thought you could suggest an implementation fix as the design and code is simple and according to the KISS principle (Keep It Small and Simple) it SHOULD work.. ;) Best Regards, SZ - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sund

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-25 Thread Francois PIETTE
> Ok, I see your point. But still my code seems to be a simpler design. But as you said yourself, it failed. > Did you look at it? Yes, I did. -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/ma

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-25 Thread Fastream Technologies
Ok, I see your point. But still my code seems to be a simpler design. Did you look at it? It is just ~50 lines! Best Regards, SubZ - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, September 25, 2005 5:02 PM Subject: Re: [twsocke

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-25 Thread Francois PIETTE
You may run the ISAPI into the main thread, and having ICS code run into a worker thread with a message pump so that it can work asynchronously as usual. The ISAPI thread can then be blocked while ICS is doing his work and signal the main thread when done. -- [EMAIL PROTECTED] http://www.overbyt

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-25 Thread Fastream Technologies
- Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, September 25, 2005 3:03 PM Subject: Re: [twsocket] Converting Send() and Receive() to Sync >> http://www.fastream.com/ics/WebConnection.pas >> I have been trying to convert a profess

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-25 Thread Francois PIETTE
> http://www.fastream.com/ics/WebConnection.pas > I have been trying to convert a professional ISAPI 6.0 component to ICS. > Scripts are now running but as for the internal logic of it, it needs sync > read and write procedures. I have coded the attached unit for it but it > gives access violations