I released my source code in the sticky thread...
About the VB source code... It should be the same functions.. same way, except you need to declare them.... Here's how:
Declare Function RegisterWindowMessage Lib "user32.dll" Alias "RegisterWindowMessageA" ( _
ByVal lpString As String) As Long
Declare Function PostMessage Lib "user32.dll" Alias "PostMessageA" ( _
ByVal hwnd As Long, _
ByVal wMsg As Long, _
ByVal wParam As Long, _
ByVal lParam As Long) As Long
Then you would call them this way:
Long msg
msg = RegisterWindowMessage("MessengerPlus_PluginChange")
PostMessage(0xffff, msg, 0, 0)
That should do it...
Now I am working on an installer with support for both VB and C++. I am now trying to use MFC... my first app in MFC wow... I have a problem though... I call the PostMessage the old-fashioned way (:
ostMessage) but somehow, the message doesn't get sent... cuz I get a file copy error saying that the file is being accessed by another process....
anyone knows why? thanks...