Click here to Skip to main content
15,850,750 members
Home / Discussions / COM
   

COM

 
AnswerRe: How to do the CoCreateInstance Pin
Stuart Dootson26-Aug-09 23:13
professionalStuart Dootson26-Aug-09 23:13 
GeneralRe: How to do the CoCreateInstance Pin
deadlyabbas26-Aug-09 23:52
deadlyabbas26-Aug-09 23:52 
GeneralRe: How to do the CoCreateInstance Pin
Stuart Dootson27-Aug-09 0:07
professionalStuart Dootson27-Aug-09 0:07 
GeneralRe: How to do the CoCreateInstance Pin
deadlyabbas27-Aug-09 2:36
deadlyabbas27-Aug-09 2:36 
GeneralRe: How to do the CoCreateInstance Pin
Stuart Dootson27-Aug-09 2:58
professionalStuart Dootson27-Aug-09 2:58 
QuestionHow to get the CLSID of a COM DLL Pin
deadlyabbas26-Aug-09 22:04
deadlyabbas26-Aug-09 22:04 
Hi,
Following is the code I am trying to do

#import "C:\\Program Files\\BOSS\\SUPPORT\\RealDWG\\cf2407.dll" rename_namespace("CADFilter")

AcRx::AppRetCode acrxEntryPoint (AcRx::AppMsgCode Msg,
void* AppId)
{
// local variables
int cindex;

CADFilter::NW_IDocument *m_pIDocument;
CLSID clsid;
CoInitialize (NULL);
HRESULT hr = CLSIDFromProgID(LPCOLESTR("NW_Document"), &;clsid );
hr = CoCreateInstance( clsid, NULL,CLSCTX_ALL , __uuidof(CADFilter::NW_IDocument) , (void**)&m_pIDocument );
if(SUCCEEDED(hr))
{
AfxMessageBox(_T("Hi"));
}

}But I am getting an " HRESULT hr as an "Invalid class string"
AnswerRe: How to get the CLSID of a COM DLL Pin
Stuart Dootson26-Aug-09 23:10
professionalStuart Dootson26-Aug-09 23:10 
Questiondebug with /embedding setting does not work on vista Pin
Fwzklmn26-Aug-09 9:15
Fwzklmn26-Aug-09 9:15 
Questionvista security and out-of-proc COM servers Pin
WayneS21-Aug-09 5:18
WayneS21-Aug-09 5:18 
QuestionInvokeHelper Pin
MsmVc21-Aug-09 1:37
MsmVc21-Aug-09 1:37 
AnswerRe: InvokeHelper Pin
Vi221-Aug-09 2:07
Vi221-Aug-09 2:07 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 2:18
MsmVc21-Aug-09 2:18 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 2:30
Vi221-Aug-09 2:30 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 2:41
MsmVc21-Aug-09 2:41 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 2:44
Vi221-Aug-09 2:44 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 2:50
MsmVc21-Aug-09 2:50 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 3:09
Vi221-Aug-09 3:09 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 3:23
MsmVc21-Aug-09 3:23 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 3:32
Vi221-Aug-09 3:32 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 3:46
MsmVc21-Aug-09 3:46 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 3:51
Vi221-Aug-09 3:51 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 4:00
MsmVc21-Aug-09 4:00 
GeneralRe: InvokeHelper Pin
MsmVc23-Aug-09 20:48
MsmVc23-Aug-09 20:48 
GeneralRe: InvokeHelper Pin
gaurav_quexst24-Aug-09 2:08
gaurav_quexst24-Aug-09 2:08 
QuestionHow to display images of my custom filetype in IE Pin
srivas20-Aug-09 20:59
srivas20-Aug-09 20: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.