Link to home
Start Free TrialLog in
Avatar of dhertzfe
dhertzfe

asked on

Callback

Hey All,

Can someone give me a simple example of utilizing Callbacks?

I have a program that calls a COM dll. Within this COM dll, it tries to connect to a server. When the connection is made, I want to be able to trigger an event within the program that made the call to the COM dll.

Thanks in advance,
Chad
Avatar of Lukasz Zielinski
Lukasz Zielinski
Flag of Poland image

Pass to DLL function pointer, and when DLL establish connection simply call that function.
ziolko.
Avatar of dhertzfe
dhertzfe

ASKER

Ziolko,

Do you have an example of doing this?

Thanks,
Chad
ASKER CERTIFIED SOLUTION
Avatar of Lukasz Zielinski
Lukasz Zielinski
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Obviouse mistake all functions must return results.
Sorry for that :)))
ziolko
Thanks for your help.

Chad