My Custom Rack I Built
Reply to topic
 
C++ Event Trapping

Moderator

Moderator

Joined:25 Jan 2003
Posts:1312
Location:England
Reply with quote
EricMEvans wrote:
Well then they are a bunch of poop heads
Question scratch
View user's profileFind all posts by batfinkSend private message
C++ Event Trapping

Moderator

Moderator

Joined:06 Jun 2002
Posts:1482
Location:London, UK
Reply with quote
He's referring to the people on the other forum.

_________________
View user's profileFind all posts by AcidSend private messageSend e-mailVisit poster's websiteMSN Messenger
C++ Event Trapping

Moderator

Moderator

Joined:23 Sep 2002
Posts:949
Location:St. Louis, MO
Reply with quote
It's working! Mostly.
Then events are firing when I use a syncronous connection but not for asyncronous. Strange thing is that ADO appears to be waiting for the connection to be established before continuing. That kinda contradicts the point of an asyncronous connection. It is supposed to submit the open and continue on to the WaitForSingleObject. WFSO waits for the connect event to fire and then continues. If the event doesn't fire within a certain amount of time, an error is thrown.

Now, why would it work for sync and not async?

_________________
Sometimes you feel like a nut, and sometimes you don't.
View user's profileFind all posts by EricMEvansSend private messageAIM AddressYahoo MessengerICQ Number
C++ Event Trapping

Moderator

Moderator

Joined:23 Sep 2002
Posts:949
Location:St. Louis, MO
Reply with quote
Ok, it does seem to fire the connect event while using an async connection but, not until I close the connection. That makes no sense.

As for the delay I'm seeing when I attempt to connect, I think that may be due to the network here or something they may be doing with the DB.

_________________
Sometimes you feel like a nut, and sometimes you don't.
View user's profileFind all posts by EricMEvansSend private messageAIM AddressYahoo MessengerICQ Number
C++ Event Trapping
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 6 Hours  
Page 2 of 2  


  
  
 Reply to topic