PSS ID Number: 175591
Article Last Modified on 2/3/2000
INmManager * g_pMgr = NULL;
HRESULT hr;
// Start NetMeeing manager
if (FAILED(CoCreateInstance
(CLSID_NmManager,NULL,CLSCTX_INPROC_SERVER,IID_INmManager,
(VOID **)&g_pMgr)))
return FALSE;
ULONG uchCaps = 0;
ULONG uOptions = (ULONG) 1; // NM_INIT_CONTROL;
// The following will run NetMeeting in the background
hr = g_pMgr->Initialize(&uOptions, &uchCaps);
if (S_OK == hr) // NetMeeting initailizes successfully in the background
{
char szNMDir[300]; // To hold the path name of NetMeeting wb32.exe
strcpy (szNMDir, "Directory path to wb32.exe");
HINSTANCE Hinst = ShellExecute( NULL, NULL, szNMDir,
NULL,NULL,SW_NORMAL );
}
You can also programmatically obtain the NetMeeting installation directory
from the registry.
Keywords: kbinfo KB175591
Technology: kbAudDeveloper kbNMeetSearch kbSDKNMEET210 kbSDKSearch