Click here to Skip to main content
15,923,557 members
Home / Discussions / COM
   

COM

 
AnswerRe: How to use an Active X Component in a WIN32 Project Pin
Malli_S13-Feb-06 22:36
Malli_S13-Feb-06 22:36 
GeneralRe: How to use an Active X Component in a WIN32 Project Pin
fearless stallion14-Feb-06 2:37
fearless stallion14-Feb-06 2:37 
QuestionRemote COM Access Pin
Malli_S12-Feb-06 19:50
Malli_S12-Feb-06 19:50 
AnswerRe: Remote COM Access Pin
Siva Sankar Koyi14-Feb-06 0:12
Siva Sankar Koyi14-Feb-06 0:12 
GeneralRe: Remote COM Access Pin
Malli_S14-Feb-06 1:25
Malli_S14-Feb-06 1:25 
GeneralRe: Remote COM Access Pin
Siva Sankar Koyi14-Feb-06 2:10
Siva Sankar Koyi14-Feb-06 2:10 
GeneralRe: Remote COM Access Pin
Malli_S14-Feb-06 18:34
Malli_S14-Feb-06 18:34 
QuestionError on Casting Pin
abhiramsss12-Feb-06 19:25
abhiramsss12-Feb-06 19:25 
while (pEnumerator)
{
HRESULT hr = pEnumerator->Next(WBEM_INFINITE, 1,
&pclsObj, &uReturn);

if(0 == uReturn)
{
break;
}

VARIANT vtProp;
VariantInit(&vtProp);



hr = pclsObj->Get(L"Name", 0, &vtProp, 0, 0);
if(vtProp.bstrVal = "Alerter")


{
MessageBox(NULL,"AlerterService ",NULL,NULL);
}
wcout << vtProp.bstrVal << endl;

hr = pclsObj->Get(L"state", 0, &vtProp, 0, 0);
wcout << vtProp.bstrVal << endl;



}

iam using this code in an application using WMI .but when i compiling iam getting error

error C2446: '==' : no conversion from 'char *' to 'unsigned short *'

can u please suggest me how to overcome this problem




abhi
AnswerRe: Error on Casting Pin
Malli_S12-Feb-06 19:43
Malli_S12-Feb-06 19:43 
GeneralRe: Error on Casting Pin
abhiramsss14-Feb-06 17:27
abhiramsss14-Feb-06 17:27 
QuestionCOM Details Pin
ngrj12-Feb-06 13:47
ngrj12-Feb-06 13:47 
AnswerRe: COM Details Pin
George L. Jackson13-Feb-06 14:13
George L. Jackson13-Feb-06 14:13 
QuestionRegSvr32 fails on some hosts Pin
Marshall10-Feb-06 12:14
Marshall10-Feb-06 12:14 
AnswerRe: RegSvr32 fails on some hosts Pin
Michael Dunn10-Feb-06 12:30
sitebuilderMichael Dunn10-Feb-06 12:30 
GeneralRe: RegSvr32 fails on some hosts Pin
Marshall10-Feb-06 12:45
Marshall10-Feb-06 12:45 
QuestionAPI to enable/disable Windows SP2 Firewall on a given connection? Pin
Carl Mirabel10-Feb-06 9:40
Carl Mirabel10-Feb-06 9:40 
AnswerRe: API to enable/disable Windows SP2 Firewall on a given connection? Pin
vasallo11-Feb-06 7:42
vasallo11-Feb-06 7:42 
QuestionDCOM exe remote server Pin
FearlessBurner9-Feb-06 6:31
FearlessBurner9-Feb-06 6:31 
AnswerRe: DCOM exe remote server Pin
FearlessBurner17-Feb-06 7:09
FearlessBurner17-Feb-06 7:09 
QuestionCOM evolution question Pin
john.angel9-Feb-06 5:50
john.angel9-Feb-06 5:50 
AnswerRe: COM evolution question Pin
QuickDeveloper13-Feb-06 17:21
QuickDeveloper13-Feb-06 17:21 
GeneralRe: COM evolution question Pin
john.angel14-Feb-06 9:07
john.angel14-Feb-06 9:07 
QuestionATL ActiveX flicker-free Pin
Andrey20068-Feb-06 23:20
Andrey20068-Feb-06 23:20 
QuestionWeb Control Development Pin
kent_plaza8-Feb-06 22:36
kent_plaza8-Feb-06 22:36 
QuestionHow to convert ATL COM DLL to ATL COM EXE Pin
Balkrishna Talele8-Feb-06 21:49
Balkrishna Talele8-Feb-06 21:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.