Click here to Skip to main content
16,005,149 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: please help me for dates ! Pin
Nibu babu thomas28-Aug-08 21:56
Nibu babu thomas28-Aug-08 21:56 
QuestionRe: please help me for dates ! Pin
David Crow29-Aug-08 2:48
David Crow29-Aug-08 2:48 
QuestionGetting uuid of a class Pin
VCProgrammer28-Aug-08 21:19
VCProgrammer28-Aug-08 21:19 
AnswerRe: Getting uuid of a class Pin
Roger Stoltz28-Aug-08 22:03
Roger Stoltz28-Aug-08 22:03 
GeneralRe: Getting uuid of a class Pin
VCProgrammer28-Aug-08 22:25
VCProgrammer28-Aug-08 22:25 
QuestionRe: Getting uuid of a class Pin
Roger Stoltz28-Aug-08 22:44
Roger Stoltz28-Aug-08 22:44 
AnswerRe: Getting uuid of a class Pin
VCProgrammer29-Aug-08 2:08
VCProgrammer29-Aug-08 2:08 
GeneralRe: Getting uuid of a class Pin
Roger Stoltz29-Aug-08 2:31
Roger Stoltz29-Aug-08 2:31 
VCProgrammer wrote:
HRESULT hr;
IShellLink* pISL;
hr = CoCreateInstance( "",                   // CLSID of coclass
                       NULL,                 // not used - aggregation
                       CLSCTX_INPROC_SERVER, // type of server
                       "and here",           // IID of interface
                       (void**) &pISL );     // Pointer to our interface pointer

......
my project name is
namespace QuoteQuad
interface _Demo



I'm making a qualified guess regarding the name of the GUID for the server, but based on the above I think that the call should look like this:
HRESULT hr;
QuoteQuad::_Demo* pDemo;
hr = CoCreateInstance( __uuidof( QuoteQuad::CLSID_QuoteQuad ),
                       NULL,
                       CLSCTX_INPROC_SERVER,
                       __uuidof( QuoteQuad::_Demo ),
                       (void**) &pDemo );


I don't understand why you're using IShellLink when you say that the interface you're trying to use is _Demo. Unsure | :~


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


GeneralRe: Getting uuid of a class Pin
VCProgrammer29-Aug-08 2:35
VCProgrammer29-Aug-08 2:35 
GeneralRe: Getting uuid of a class Pin
Roger Stoltz29-Aug-08 3:07
Roger Stoltz29-Aug-08 3:07 
QuestionClipBoard Pin
MsmVc28-Aug-08 20:40
MsmVc28-Aug-08 20:40 
AnswerRe: ClipBoard [modified] Pin
Jijo.Raj28-Aug-08 20:43
Jijo.Raj28-Aug-08 20:43 
GeneralRe: ClipBoard Pin
Rajesh R Subramanian28-Aug-08 20:49
professionalRajesh R Subramanian28-Aug-08 20:49 
GeneralRe: ClipBoard Pin
MsmVc28-Aug-08 20:50
MsmVc28-Aug-08 20:50 
QuestionRe: ClipBoard Pin
Rajesh R Subramanian28-Aug-08 20:54
professionalRajesh R Subramanian28-Aug-08 20:54 
AnswerRe: ClipBoard Pin
MsmVc28-Aug-08 21:01
MsmVc28-Aug-08 21:01 
GeneralRe: ClipBoard Pin
sashoalm28-Aug-08 21:05
sashoalm28-Aug-08 21:05 
GeneralRe: ClipBoard Pin
MsmVc28-Aug-08 21:11
MsmVc28-Aug-08 21:11 
GeneralRe: ClipBoard Pin
sashoalm28-Aug-08 21:14
sashoalm28-Aug-08 21:14 
GeneralRe: ClipBoard Pin
Rajesh R Subramanian28-Aug-08 21:21
professionalRajesh R Subramanian28-Aug-08 21:21 
GeneralRe: ClipBoard Pin
Cvaji28-Aug-08 20:55
Cvaji28-Aug-08 20:55 
QuestionRadio Button style Pin
ani_ikram28-Aug-08 20:38
ani_ikram28-Aug-08 20:38 
AnswerRe: Radio Button style Pin
Cvaji28-Aug-08 20:52
Cvaji28-Aug-08 20:52 
GeneralRe: Radio Button style Pin
ani_ikram28-Aug-08 21:09
ani_ikram28-Aug-08 21:09 
GeneralRe: Radio Button style Pin
Cvaji28-Aug-08 21:56
Cvaji28-Aug-08 21:56 

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.