Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: HTTP within either an Active X EXE or DLL
Alexandre Archambault

From: Montréal, QC Canada
Posts: 49
Member Since: 02/27/01
posted February 27, 2001 3:37 PM

I'm using the HTTP in a formless ActiveX EXE. I am referencing the DartWeb.oca and DartWeb.dll.

When I set Timeout to > 0 everything works fine.
The State is:
STATE: 1
STATE: 2
STATE: 3
STATE: 4
STATE: 5
STATE: 6
STATE: 7
STATE: 8
STATE: 9
STATE: 8
STATE: 9
STATE: 8
STATE: 9
STATE: 13
STATE: 10
STATE: 11
STATE: 0


When I set Timeout to 0 the State is
STATE: 1
STATE: 0

sometimes it's
STATE: 1

If I use a formless Standard EXE and do the same code everything works fine.

What can I do to make the HTTP work in an ActiveX EXE or DLL with a Timeout of 0.

Thanks

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 27, 2001 3:58 PM


Sounds like the object is being destroyed before the process can complete. If you can't figure it out, I suggest using a timeout value greater than 0.

Hope this helps!

Tony Priest
Dart Tech Support
Alexandre Archambault

From: Montréal, QC Canada
Posts: 49
Member Since: 02/27/01
posted February 27, 2001 4:04 PM

That's what I finaly figured out!

Using a timeout greater than 0 is not an option.

Thanks for all your time
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX