Re: call_back ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

> What do you mean 'puking'?  Can't you just return 0 (or whatever) in
> your call_back function?  VOID simply means the return value is ignored
> anyway...

Maybe... maybe not... I've tried (whatever).
This call_back is used to display progress messages when RasDial() is called
asynchronously.
I get something like, ( my own messages ) :
"Comm Port Opened Successfully."
.. which starts the modem dialing, maybe? 2 of 7 numbers.
.. and an immediate 'squeal of distress'  :)
.. ending with:
"Error 631: User disconnected the modem."
Not using the call_back, everything works just fine!

As a side-note, the VB guru I'm stealing code from, said that putting a break in
this call_back, or trying to step thru
it, crashed VB's IDE.
Sensitive!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu