Click here to Skip to main content
15,910,009 members
Home / Discussions / COM
   

COM

 
GeneralProblem with Custom COM object in implementation of Interface Pin
bryces25-Nov-03 16:08
bryces25-Nov-03 16:08 
Generalworking with New Enum... Pin
rajdawg25-Nov-03 15:09
rajdawg25-Nov-03 15:09 
Generalconstants in IDL file Pin
srikanthos25-Nov-03 1:23
srikanthos25-Nov-03 1:23 
GeneralCEdit in COM Pin
Tomaz Rotovnik24-Nov-03 20:48
Tomaz Rotovnik24-Nov-03 20:48 
GeneralRe: CEdit in COM Pin
Tomaz Rotovnik24-Nov-03 21:02
Tomaz Rotovnik24-Nov-03 21:02 
GeneralRe: CEdit in COM Pin
Tomaz Rotovnik24-Nov-03 22:57
Tomaz Rotovnik24-Nov-03 22:57 
Generalusing serverxmlhttp from a service or existing process Pin
noahsarf24-Nov-03 8:30
noahsarf24-Nov-03 8:30 
GeneralIID_... but no CLSID_... Pin
Xteuk24-Nov-03 4:46
Xteuk24-Nov-03 4:46 
:(Well, sorry to disturb for what surely is an easy thing, but...

Which function must i call if the COM library i want to use defines an interface but no class ?

IID_TheClass is defined, but there is no
CLSID_TheClass, that any tutorial/example/help file i read is using ?
I just can't call CoCreateInstance(Ex)...

Note: i'm trying to use within C++ the Microsoft Euro Converter, that is

----------------------------------------
// Generated .IDL file (by the OLE/COM Object Viewer)
//
// typelib filename: MSOEURO.DLL

[
uuid(76F6F3F5-9937-11D2-93BB-00105A994D2C),
version(1.0),
helpstring("Microsoft Office Euro Converter Object Library")
]
library MsoEuro
{
// TLib : // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
importlib("stdole2.tlb");

// Forward declare all types defined in this typelib
interface Converter;

[
odl,
uuid(76F6F3F4-9937-11D2-93BB-00105A994D2C),
dual,
oleautomation
]
interface Converter : IDispatch {
[id(0x00000001), propget]
HRESULT Convert(
[in] double Value,
[in] BSTR CurrencyFrom,
[in] BSTR CurrencyTo,
[in, optional] VARIANT FullPrecision,
[in, optional] VARIANT TriangulationPrecision,
[out, retval] double* retval);
[id(0x00000002), propget]
HRESULT Version([out, retval] BSTR* retval);
};
};


am i lost ?
... yeah Frown | :(
GeneralRe: IID_... but no CLSID_... Pin
Mike Dimmick24-Nov-03 5:31
Mike Dimmick24-Nov-03 5:31 
GeneralRe: IID_... but no CLSID_... Pin
Xteuk24-Nov-03 22:13
Xteuk24-Nov-03 22:13 
GeneralMultiThreaded OutProc Server Pin
TroLoo22-Nov-03 7:22
TroLoo22-Nov-03 7:22 
GeneralRe: MultiThreaded OutProc Server Pin
valikac24-Nov-03 5:49
valikac24-Nov-03 5:49 
Generalneutral threading in XP vs. Win2000 Pin
jremignanti21-Nov-03 11:18
jremignanti21-Nov-03 11:18 
QuestionHow can i change the dllhost appbase??? Pin
Ik@20-Nov-03 23:59
Ik@20-Nov-03 23:59 
QuestionHow do I change the program id within the com project Pin
WoodyMou19-Nov-03 5:21
WoodyMou19-Nov-03 5:21 
AnswerRe: How do I change the program id within the com project Pin
Steve S19-Nov-03 5:44
Steve S19-Nov-03 5:44 
QuestionSame method and property name? Pin
snappa19-Nov-03 2:29
snappa19-Nov-03 2:29 
AnswerRe: Same method and property name? Pin
Vi221-Nov-03 2:31
Vi221-Nov-03 2:31 
GeneralMessages in ActiveX components Pin
Anonymous18-Nov-03 10:06
Anonymous18-Nov-03 10:06 
GeneralRe: Messages in ActiveX components Pin
Anonymous18-Nov-03 10:32
Anonymous18-Nov-03 10:32 
GeneralCOM instances Pin
Chiew Heng Wah17-Nov-03 19:08
Chiew Heng Wah17-Nov-03 19:08 
GeneralRe: COM instances Pin
Giles20-Nov-03 9:55
Giles20-Nov-03 9:55 
Generalmore string trouble... Pin
rajdawg17-Nov-03 15:35
rajdawg17-Nov-03 15:35 
GeneralRe: more string trouble... Pin
Vi218-Nov-03 0:39
Vi218-Nov-03 0:39 
GeneralRe: more string trouble... Pin
Mike Dimmick20-Nov-03 2:08
Mike Dimmick20-Nov-03 2:08 

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.