H
hemoji
Hi,
I'm developing a win32 dll in VC++, I have a thread running
continuously in the dll to check for some input on socket, once it
finds a input the data is required to be passed to the VB app in 2
different modes based on requirement,
1. Send Windows message
2. Function callback
Send Windows message is implemented with no problem, but I'm struggling
to figure out how to invoke this callback function in vb from C++ dll,
I tried with normal callback with simple dll and vb app it works fine,
since my module is in a different thread, the callback happens to vb
(checked in debug mode) then vb runtime throws an exception 'access
voilation'.
I'm new to c++ environment, I'm a vb guy.
Experts pls suggest me a soln.
Thanks
Tenali
I'm developing a win32 dll in VC++, I have a thread running
continuously in the dll to check for some input on socket, once it
finds a input the data is required to be passed to the VB app in 2
different modes based on requirement,
1. Send Windows message
2. Function callback
Send Windows message is implemented with no problem, but I'm struggling
to figure out how to invoke this callback function in vb from C++ dll,
I tried with normal callback with simple dll and vb app it works fine,
since my module is in a different thread, the callback happens to vb
(checked in debug mode) then vb runtime throws an exception 'access
voilation'.
I'm new to c++ environment, I'm a vb guy.
Experts pls suggest me a soln.
Thanks
Tenali