Click here to Skip to main content
15,904,416 members
Home / Discussions / COM
   

COM

 
Questionget last logon time Pin
caiena24-Jun-09 7:36
caiena24-Jun-09 7:36 
AnswerRe: get last logon time Pin
Stuart Dootson24-Jun-09 21:37
professionalStuart Dootson24-Jun-09 21:37 
Questioncreate an ATL project with exsisting IDL Pin
kakamoni23-Jun-09 0:56
kakamoni23-Jun-09 0:56 
AnswerRe: create an ATL project with exsisting IDL Pin
Stuart Dootson23-Jun-09 2:37
professionalStuart Dootson23-Jun-09 2:37 
QuestionNeed help Pin
kuttiam21-Jun-09 23:48
kuttiam21-Jun-09 23:48 
AnswerRe: Need help Pin
Stuart Dootson22-Jun-09 0:30
professionalStuart Dootson22-Jun-09 0:30 
AnswerRe: Need help Pin
CPallini24-Jun-09 23:29
mveCPallini24-Jun-09 23:29 
QuestionClass not registered Pin
subhabasu18-Jun-09 22:14
subhabasu18-Jun-09 22:14 
Hi all,

I am trying to instantiate a COM object of class GPM (gpmgmt.h and gpmgmt.dll) using CoCretateInstance. It returns "0x80040154 Class not registerd" error. The code snippet is -
::CoCreateInstance( __uuidof(GPM), // CLSID_GPM
NULL,
CLSCTX_LOCAL_SERVER,
__uuidof(IGPM), // IID_IGPM
(void **)&m_IGPMObj);

, where m_IGPMObj is a IGPM pointer.

I am building my code with VS2005 in XP Professional SP2.

The required header file and idl file are present in my machine, but not the dll (I dont know why). MSDN suggests that the dll is available in vista and 2008 server and redistributable for 2003 server and XP SP1. I have searched the dll in 2008 server and vista, it is not there also. I also tried to install GPMC in a XP SP3 machine, it simply fails saying that - LoadLibray fails.

Any help is appriciated.
AnswerRe: Class not registered Pin
Stuart Dootson18-Jun-09 23:30
professionalStuart Dootson18-Jun-09 23:30 
AnswerRe: Class not registered Pin
Md. Marufuzzaman6-Jul-09 21:53
professionalMd. Marufuzzaman6-Jul-09 21:53 
Question[SOLVED]Exception in COM Pin
denghp18-Jun-09 21:31
denghp18-Jun-09 21:31 
AnswerRe: Exception in COM Pin
Stuart Dootson18-Jun-09 22:08
professionalStuart Dootson18-Jun-09 22:08 
GeneralRe: Exception in COM Pin
denghp18-Jun-09 22:19
denghp18-Jun-09 22:19 
GeneralRe: Exception in COM Pin
Stuart Dootson18-Jun-09 23:01
professionalStuart Dootson18-Jun-09 23:01 
GeneralRe: Exception in COM Pin
denghp18-Jun-09 23:05
denghp18-Jun-09 23:05 
GeneralRe: Exception in COM Pin
Stuart Dootson18-Jun-09 23:15
professionalStuart Dootson18-Jun-09 23:15 
GeneralRe: Exception in COM Pin
denghp18-Jun-09 23:25
denghp18-Jun-09 23:25 
AnswerRe: Exception in COM Pin
Md. Marufuzzaman6-Jul-09 21:58
professionalMd. Marufuzzaman6-Jul-09 21:58 
QuestionATL COM server crash Pin
Harish Pulimi17-Jun-09 5:36
Harish Pulimi17-Jun-09 5:36 
AnswerRe: ATL COM server crash Pin
Roger Stoltz17-Jun-09 6:42
Roger Stoltz17-Jun-09 6:42 
GeneralRe: ATL COM server crash Pin
Harish Pulimi17-Jun-09 21:46
Harish Pulimi17-Jun-09 21:46 
GeneralRe: ATL COM server crash Pin
Roger Stoltz18-Jun-09 0:57
Roger Stoltz18-Jun-09 0:57 
GeneralRe: ATL COM server crash Pin
Harish Pulimi10-Feb-10 2:28
Harish Pulimi10-Feb-10 2:28 
GeneralRe: ATL COM server crash Pin
Member 176963118-Jul-11 12:21
Member 176963118-Jul-11 12:21 
QuestionCan we get object size from the Interface pointer? Pin
Mahesh Kulkarni16-Jun-09 22:45
Mahesh Kulkarni16-Jun-09 22:45 

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.