I need to update a VB label, with information showing progress of some
processing being carried out in a C DLL.
Basically, I want my C function to be able to write messages back to VB,
which will then display the message in a label. I am subclassing the
form that contains the label to be updated (and passing its hWnd to the
C DLL), I then have a C function like this:
void writeGUIMessage(const char* msg)
{
SendNotifymessage(g_hWnd, WM_SETTEXT, 0, (LPARAM)msg);
}
This is not working - any idea why ?
Note: My Subclassing function stores the form Hwnd into the variable g_hWnd
Archived from group: microsoft>public>vb>enterprise