Click here to Skip to main content
15,913,911 members
Home / Discussions / COM
   

COM

 
GeneralRe: Thanks, but that isn't a problem Pin
Member 3538108-Mar-04 23:20
Member 3538108-Mar-04 23:20 
GeneralI can't beleive that I wasted so much time with this Pin
Member 3538109-Mar-04 0:56
Member 3538109-Mar-04 0:56 
GeneralMFC executable registration. Pin
oleg638-Mar-04 12:25
professionaloleg638-Mar-04 12:25 
GeneralRe: MFC executable registration. Pin
Mike Dimmick16-Mar-04 2:31
Mike Dimmick16-Mar-04 2:31 
GeneralRe: MFC executable registration. Pin
oleg6316-Mar-04 4:14
professionaloleg6316-Mar-04 4:14 
Questionussoftproblem with COM server registration??? Pin
pelos7-Mar-04 4:41
pelos7-Mar-04 4:41 
AnswerRe: ussoftproblem with COM server registration??? Pin
Steve S7-Mar-04 22:03
Steve S7-Mar-04 22:03 
GeneralRe: ussoftproblem with COM server registration??? Pin
pelos8-Mar-04 11:37
pelos8-Mar-04 11:37 
hello,

0.
com_error error(hr) (first, construct a _com_server)
HRESULT_FACILITY(hr) returns 4
HRESULT_SEVERITY(hr) returns 1
error.ErrorMessage() returns "Class not registered"

1.
I think so ... I get the IID and the CLSID from the _i.c file in the External Dependencies of the server project.

2. No, i haven´t. I dont know how to get the ProgID (the first parameter).
I search it in some documentation and i find something like:
hr = CLSIDFromProgID(OLESTR("Project_name.Object_name"),&pClsid);
but it does not run (error.ErrorMessage() returns "class String is not valid")

3. I ve tried to initialize as MTA instead with
CoInitializeEx(NULL, COINIT_MULTITHREADED) but i dont know what header files must i include. Is CoInitializeEx supported in Visual C++ 6.0 or is a .NET function???

A lot of thanks!!
AnswerRe: ussoftproblem with COM server registration??? Pin
Anonymous8-Mar-04 9:36
Anonymous8-Mar-04 9:36 
AnswerClass not registered Pin
pelos9-Mar-04 20:06
pelos9-Mar-04 20:06 
AnswerRe: ussoftproblem with COM server registration??? Pin
Vi29-Mar-04 20:44
Vi29-Mar-04 20:44 
GeneralRe: ussoftproblem with COM server registration??? Pin
pelos10-Mar-04 0:15
pelos10-Mar-04 0:15 
QuestionCopying an automation object? Pin
Zee man6-Mar-04 22:46
Zee man6-Mar-04 22:46 
AnswerRe: Copying an automation object? Pin
Steve S7-Mar-04 22:00
Steve S7-Mar-04 22:00 
GeneralRe: Copying an automation object? Pin
Zee man8-Mar-04 4:04
Zee man8-Mar-04 4:04 
GeneralRe: Copying an automation object? Pin
Steve S8-Mar-04 4:33
Steve S8-Mar-04 4:33 
QuestionHow to make clickable/ draggable shapes Pin
Anonymous4-Mar-04 21:24
Anonymous4-Mar-04 21:24 
Generalopening an Excel file Pin
Liate2-Mar-04 5:37
Liate2-Mar-04 5:37 
GeneralRe: opening an Excel file Pin
Steve S2-Mar-04 6:24
Steve S2-Mar-04 6:24 
GeneralRe: opening an Excel file Pin
Liate2-Mar-04 19:55
Liate2-Mar-04 19:55 
GeneralProblem while destroying SafeArray Pin
mandarpb1-Mar-04 22:09
sussmandarpb1-Mar-04 22:09 
GeneralRe: Problem while destroying SafeArray Pin
Steve S1-Mar-04 22:22
Steve S1-Mar-04 22:22 
GeneralRe: Problem while destroying SafeArray Pin
Anonymous2-Mar-04 19:35
Anonymous2-Mar-04 19:35 
GeneralRe: Problem while destroying SafeArray Pin
Steve S2-Mar-04 23:21
Steve S2-Mar-04 23:21 
GeneralRe: Problem while destroying SafeArray Pin
Anonymous5-Mar-04 3:04
Anonymous5-Mar-04 3:04 

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.