Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: strange error in ostream Pin
sach!!4-Aug-06 0:19
sach!!4-Aug-06 0:19 
GeneralRe: strange error in ostream Pin
sunit54-Aug-06 0:23
sunit54-Aug-06 0:23 
Question.txt to .tiff? Pin
Kiran Pinjala3-Aug-06 21:46
Kiran Pinjala3-Aug-06 21:46 
AnswerRe: .txt to .tiff? Pin
Sebastian Schneider3-Aug-06 22:31
Sebastian Schneider3-Aug-06 22:31 
GeneralRe: .txt to .tiff? Pin
Neville Franks3-Aug-06 23:12
Neville Franks3-Aug-06 23:12 
GeneralRe: .txt to .tiff? Pin
ThatsAlok3-Aug-06 23:19
ThatsAlok3-Aug-06 23:19 
JokeRe: .txt to .tiff? Pin
Hamid_RT3-Aug-06 23:26
Hamid_RT3-Aug-06 23:26 
QuestionCoCreateGuid problem Pin
harsha_12343-Aug-06 21:23
harsha_12343-Aug-06 21:23 
Hi all,

i am trying to create GUID with CoCreateGuid but it is
not creating guid.
I am working on windows XP.
ole32.lib is added in link tab.
then what is the problem?
what is wrong in this code?

#include <iostream.h>
#include<objbase.h>
int main(void)
{
HRESULT Res;
GUID *pGuid=NULL;
LPVOID pIni = NULL;

if(CoInitialize(pIni) == S_OK)
{
Res = CoCreateGuid(pGuid);
if(Res == S_OK)
{
cout<<"Created";
}
CoUninitialize();
}
return 0;
}


Thanks in advance
AnswerRe: CoCreateGuid problem Pin
harsha_12343-Aug-06 21:32
harsha_12343-Aug-06 21:32 
AnswerRe: CoCreateGuid problem Pin
Hamid_RT3-Aug-06 22:14
Hamid_RT3-Aug-06 22:14 
Questionhow to get table when mouse moves over a button Pin
Manjunath S3-Aug-06 21:11
Manjunath S3-Aug-06 21:11 
AnswerRe: how to get table when mouse moves over a button Pin
Hamid_RT3-Aug-06 22:05
Hamid_RT3-Aug-06 22:05 
QuestionRe: how to get table when mouse moves over a button Pin
Manjunath S3-Aug-06 23:43
Manjunath S3-Aug-06 23:43 
AnswerRe: how to get table when mouse moves over a button Pin
Hamid_RT4-Aug-06 1:30
Hamid_RT4-Aug-06 1:30 
AnswerRe: how to get table when mouse moves over a button Pin
Justin Tay4-Aug-06 1:43
Justin Tay4-Aug-06 1:43 
QuestionAre these template classes equivalent? Pin
Steve Echols3-Aug-06 21:02
Steve Echols3-Aug-06 21:02 
AnswerRe: Are these template classes equivalent? Pin
sunit53-Aug-06 21:15
sunit53-Aug-06 21:15 
GeneralRe: Are these template classes equivalent? Pin
Steve Echols3-Aug-06 21:16
Steve Echols3-Aug-06 21:16 
GeneralRe: Are these template classes equivalent? [modified] Pin
sunit53-Aug-06 21:36
sunit53-Aug-06 21:36 
GeneralRe: Are these template classes equivalent? Pin
Steve Echols3-Aug-06 21:48
Steve Echols3-Aug-06 21:48 
GeneralRe: Are these template classes equivalent? Pin
sunit53-Aug-06 22:00
sunit53-Aug-06 22:00 
GeneralRe: Are these template classes equivalent? Pin
Steve Echols3-Aug-06 22:05
Steve Echols3-Aug-06 22:05 
GeneralRe: Are these template classes equivalent? Pin
sunit53-Aug-06 23:01
sunit53-Aug-06 23:01 
AnswerRe: Are these template classes equivalent? Pin
Steve Echols3-Aug-06 22:16
Steve Echols3-Aug-06 22:16 
GeneralRe: Are these template classes equivalent? [modified] Pin
sunit53-Aug-06 22:59
sunit53-Aug-06 22:59 

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.