Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

C created dll and windows messages in vb

Status
Not open for further replies.

tuomask

Computer
Joined
Jul 20, 2005
Messages
1
Location
FI
I have c created dll which sends windows messages VM_USER + 50, VM_USER+51 etc. It works fine in c++.

Now I should catch these messages in VB6. I have tried to use Windowproc, just like in this example:

Is it possible to catch those messages like that? Or do I have to do this in some other way?

Will I need some changes dll? A friend of mine has written that dll and I have already asked him to do some modifications like __stdcall l before functions. So dll could be modified if needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top