Click here to Skip to main content
15,885,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionserious problem with wininet.dll of IE8 ... Pin
dharani27-Aug-09 0:42
dharani27-Aug-09 0:42 
Question_except Pin
durban227-Aug-09 0:30
durban227-Aug-09 0:30 
AnswerRe: _except [modified] Pin
Stuart Dootson27-Aug-09 0:51
professionalStuart Dootson27-Aug-09 0:51 
QuestionDisable title bar click to restore window Pin
Abinash Mohanty27-Aug-09 0:05
Abinash Mohanty27-Aug-09 0:05 
AnswerRe: Disable title bar click to restore window Pin
Stuart Dootson27-Aug-09 0:57
professionalStuart Dootson27-Aug-09 0:57 
QuestionWaterfall display Pin
su_marvel26-Aug-09 22:20
su_marvel26-Aug-09 22:20 
AnswerRe: Waterfall display Pin
Rajesh R Subramanian26-Aug-09 22:30
professionalRajesh R Subramanian26-Aug-09 22:30 
QuestionHow to do CoCreateInstance without CLSID Pin
deadlyabbas26-Aug-09 22:00
deadlyabbas26-Aug-09 22:00 
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 do CoCreateInstance without CLSID Pin
Stuart Dootson26-Aug-09 22:16
professionalStuart Dootson26-Aug-09 22:16 
QuestionRe: How to do CoCreateInstance without CLSID Pin
CPallini26-Aug-09 22:18
mveCPallini26-Aug-09 22:18 
AnswerRe: How to do CoCreateInstance without CLSID Pin
deadlyabbas26-Aug-09 22:41
deadlyabbas26-Aug-09 22:41 
GeneralRe: How to do CoCreateInstance without CLSID Pin
CPallini26-Aug-09 23:00
mveCPallini26-Aug-09 23:00 
AnswerRe: How to do CoCreateInstance without CLSID Pin
ThatsAlok28-Aug-09 0:43
ThatsAlok28-Aug-09 0:43 
QuestionHow to prevent runtime errors (Rxxxx) from appearing? Pin
tgc126-Aug-09 21:09
tgc126-Aug-09 21:09 
AnswerRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J26-Aug-09 22:13
Adam Roderick J26-Aug-09 22:13 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
tgc126-Aug-09 22:40
tgc126-Aug-09 22:40 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J26-Aug-09 22:51
Adam Roderick J26-Aug-09 22:51 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
tgc126-Aug-09 23:04
tgc126-Aug-09 23:04 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J26-Aug-09 23:29
Adam Roderick J26-Aug-09 23:29 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
tgc126-Aug-09 23:56
tgc126-Aug-09 23:56 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J27-Aug-09 0:18
Adam Roderick J27-Aug-09 0:18 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
tgc127-Aug-09 0:32
tgc127-Aug-09 0:32 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J27-Aug-09 1:09
Adam Roderick J27-Aug-09 1:09 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
tgc127-Aug-09 1:34
tgc127-Aug-09 1:34 
GeneralRe: How to prevent runtime errors (Rxxxx) from appearing? Pin
Adam Roderick J30-Aug-09 18:18
Adam Roderick J30-Aug-09 18:18 

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.