Click here to Skip to main content
15,892,480 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IE in my app Pin
ThatsAlok7-Jul-08 2:41
ThatsAlok7-Jul-08 2:41 
GeneralRe: IE in my app Pin
Ajay L D7-Jul-08 3:21
Ajay L D7-Jul-08 3:21 
AnswerRe: IE in my app Pin
KarstenK7-Jul-08 3:52
mveKarstenK7-Jul-08 3:52 
QuestionIncrease the hight of the status bar in MDI Pin
ptr_Electron7-Jul-08 1:12
ptr_Electron7-Jul-08 1:12 
AnswerRe: Increase the hight of the status bar in MDI Pin
James R. Twine7-Jul-08 1:14
James R. Twine7-Jul-08 1:14 
AnswerRe: Increase the hight of the status bar in MDI Pin
Varghese Paul M7-Jul-08 18:37
Varghese Paul M7-Jul-08 18:37 
Questionstatic IP address Pin
an897-Jul-08 1:08
an897-Jul-08 1:08 
AnswerRe: static IP address Pin
James R. Twine7-Jul-08 1:12
James R. Twine7-Jul-08 1:12 
an89 wrote:
InitializeWMI();
const BSTR ClassName = SysAllocString(L"Win32_NetworkAdapterConfiguration");
const BSTR AdapterName = SysAllocString(ADAPTER_INDEX);
const BSTR MethodName = SysAllocString(L"EnableStatic");
IWbemClassObject* pClassObj = NULL;
IWbemClassObject* pInClass = NULL;
IWbemClassObject* pInInstClass = NULL;
IWbemServices *pSvc = NULL ;

LONG index[1]={0};

HRESULT hr = pSvc->GetObject(ClassName,0,NULL,&pClassObj,NULL);///at this point its showing unhandled exception


   Well, for starters it looks like pSvc is still NULL so that would cause the exception...

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<hr></hr>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles



QuestionI have a problem about function "PlaySound" in synchronize mode (SND_SYNC) Pin
xanagan6667-Jul-08 0:48
xanagan6667-Jul-08 0:48 
AnswerRe: I have a problem about function "PlaySound" in synchronize mode (SND_SYNC) Pin
Varghese Paul M7-Jul-08 1:11
Varghese Paul M7-Jul-08 1:11 
AnswerRe: I have a problem about function "PlaySound" in synchronize mode (SND_SYNC) Pin
Iain Clarke, Warrior Programmer7-Jul-08 1:39
Iain Clarke, Warrior Programmer7-Jul-08 1:39 
GeneralRe: I have a problem about function "PlaySound" in synchronize mode (SND_SYNC) Pin
xanagan6667-Jul-08 15:40
xanagan6667-Jul-08 15:40 
QuestionMove a captionless dialog on clicking the icon of the dialog on title bar . Pin
Ummar Muhammad7-Jul-08 0:43
Ummar Muhammad7-Jul-08 0:43 
AnswerRe: Move a captionless dialog on clicking the icon of the dialog on title bar . Pin
Yajnesh Narayan Behera8-Jul-08 2:10
Yajnesh Narayan Behera8-Jul-08 2:10 
QuestionRegDeleteKey is not working on Vista for standard user Pin
NiceNaidu7-Jul-08 0:32
NiceNaidu7-Jul-08 0:32 
AnswerRe: RegDeleteKey is not working on Vista for standard user Pin
Saurabh.Garg7-Jul-08 0:53
Saurabh.Garg7-Jul-08 0:53 
AnswerRe: RegDeleteKey is not working on Vista for standard user Pin
KarstenK7-Jul-08 1:02
mveKarstenK7-Jul-08 1:02 
GeneralRe: RegDeleteKey is not working on Vista for standard user Pin
NiceNaidu7-Jul-08 2:22
NiceNaidu7-Jul-08 2:22 
GeneralRe: RegDeleteKey is not working on Vista for standard user Pin
Saurabh.Garg7-Jul-08 3:17
Saurabh.Garg7-Jul-08 3:17 
QuestionMD5 hashing fails in 64 bit machines/OS Pin
Nandu_77b7-Jul-08 0:22
Nandu_77b7-Jul-08 0:22 
AnswerRe: MD5 hashing fails in 64 bit machines/OS Pin
Saurabh.Garg7-Jul-08 0:57
Saurabh.Garg7-Jul-08 0:57 
Questioncatch: out of memory in c++, process killed in lunux, any solution? Pin
Gofur Halmurat6-Jul-08 23:50
Gofur Halmurat6-Jul-08 23:50 
AnswerRe: catch: out of memory in c++, process killed in lunux, any solution? Pin
Saurabh.Garg7-Jul-08 0:59
Saurabh.Garg7-Jul-08 0:59 
GeneralRe: catch: out of memory in c++, process killed in lunux, any solution? Pin
Gofur Halmurat7-Jul-08 1:11
Gofur Halmurat7-Jul-08 1:11 
GeneralRe: catch: out of memory in c++, process killed in lunux, any solution? Pin
Saurabh.Garg7-Jul-08 1:13
Saurabh.Garg7-Jul-08 1:13 

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.