Skip to search.
tlb2h · Discussion on the Comet library for C++ COM development.

Group Information

  • Members: 81
  • Founded: Dec 12, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

  Messages Help
Advanced
Messages 87 - 116 of 1073   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
87 jbandela@... Send Email May 19, 2001
4:59 am
If I understand what you are saying, you want to be able to get at the underlying C++ object given a COM Interface pointer? Here is a trick that comes from ATL...
88 Michael Geddes
mgeddes@... Send Email
May 22, 2001
12:23 am
There are two other methods that I know of. The first is to make use of RTTI (which usually defaults to disabled) and use dynamic_cast to cast from the...
89 Paul Hollingsworth
egroups@... Send Email
May 22, 2001
1:35 am
1. Beware that using dynamic_cast<> assumes that the interface is implemented by C++ code that resides in the same apartment as your method call. While this is...
90 jbandela@... Send Email May 22, 2001
3:29 pm
Suppose 2 interfaces have a method with the same name. Is there an easy way to implement both methods separately for the 2 interfaces in 1 coclass?...
91 Paul Hollingsworth
egroups@... Send Email
May 23, 2001
4:00 am
... in ... Well, here's how I would do it: Say you have two interfaces - ICowboy and IDrawable - defined as follows: [ object, ...
92 jbandela@... Send Email May 23, 2001
5:22 am
Thanks. By the way, what is the difference between simple_object and coclass? Is there a way to use coclass while overriding the interface implementations?...
93 Paul Hollingsworth
egroups@... Send Email
May 23, 2001
6:46 pm
... and ... interface ... Basically, no. It's not worth the effort - coclass<> doesn't really provide that much functionality anyway. coclass<> is just a...
94 Sofus Mortensen
sofus@... Send Email
May 26, 2001
8:12 pm
Is this something that we could solve by adding a rename facility to tlb2h.exe ? A plain keyword rename is not good enough, since it would rename both Draw...
95 Michael Geddes
mgeddes@... Send Email
May 28, 2001
12:46 am
New constructor for key<> The problem is when iterating through registry subkeys (which is a name iterator), it is useful to be able to interrogate values &c...
96 Paul Hollingsworth
egroups@... Send Email
Jun 4, 2001
2:16 am
Hi guys, I've just discovered a bug in tlb2h.exe. Given the following IDL: [id(2)] HRESULT InterfaceNames([in] IUnknown *pUnwrapped, [out, retval]...
97 Paul Hollingsworth
egroups@... Send Email
Jun 4, 2001
2:48 am
Hi Michael, I think you are misunderstanding the key() member that is returned by name_iterator. It is the parent key, not the subkey. Iterating through...
98 Michael Geddes
mgeddes@... Send Email
Jun 4, 2001
6:24 am
Yep - I misunderstood, got it now. Thanks for that code. I did it that way in the end anyway (except I forgot the KEY_READ). It's still a sh*t load easier...
99 Sofus Mortensen
sofus@... Send Email
Jun 5, 2001
8:36 pm
Hi, I think this one is already fixed in the latest version. Could you check that you are actually using the latest version? Best regards, Sofus Mortensen ...
100 Sofus Mortensen
sofus@... Send Email
Jun 10, 2001
1:05 pm
Hi! I have uploaded Comet alpha 8 to the website (www.lambdasoft.dk/comet). This release contains: * GCC/MingW fixes submitted by Michael Geddes. Thanks...
101 Michael Geddes
mgeddes@... Send Email
Jun 18, 2001
9:01 am
Currency implementation Here's an implementation of a wrapper for CURRENCY CY values. Most stuff it does through VarCy functions, but it also adds the divide...
102 Michael Geddes
mgeddes@... Send Email
Jun 18, 2001
9:11 am
tlb2h.cpp command-line I've added some better command-line handling for tlb2h.cpp, and a better brief description. It now supports multiple files including...
103 Michael Geddes
mgeddes@... Send Email
Jun 18, 2001
9:15 am
Getting Type libraries from a different spot. For one reason or another, I decided that I wanted to be able to load type-libraries that weren't registered...
104 Paul Hollingsworth
egroups@... Send Email
Jun 18, 2001
3:29 pm
... Incidentally, the first importlib("stdole32.tlb"); is strictly unnecessary - stdole2.tlb is the newer version of the type library - it is a superset of...
105 Michael Geddes
mgeddes@... Send Email
Jun 21, 2001
4:55 am
try_cast I have a problem witht he way try_cast handles NULL values. Here is the implementation of try_cast. template<typename Itf2> com_ptr(const...
106 Michael Geddes
mgeddes@... Send Email
Jun 21, 2001
7:41 am
More on com_ptr This adds the following functionality: Use create_nothrow for a create that DOESN'T throw an exception. try_cast from a NULL pointer succeeds...
107 Sofus Mortensen
sofus@... Send Email
Jun 21, 2001
9:49 pm
Thanks, Michael! I have added it the alpha 9 release. I think it would be cool to have tlb2h.exe use the new wrapper. Best regards, http://SofusMortensen.com ...
108 Sofus Mortensen
sofus@... Send Email
Jun 21, 2001
9:49 pm
Many thanks for the patch, Michael. I have updated the tlb2h.cpp for Alpha 9 with your changes. Best regards, http://SofusMortensen.com ... From: Michael...
109 Sofus Mortensen
sofus@... Send Email
Jun 21, 2001
9:49 pm
Thanks! I have merged your changes into alpha 9. Best regards, http://SofusMortensen.com <http://sofusmortensen.com/> ... From: Michael Geddes...
110 Sofus Mortensen
sofus@... Send Email
Jun 21, 2001
9:49 pm
Michael, Having com_ptr::operator-> throw on null pointers removes the only concern that I had against not throwing on try_cast(0). The only argument against...
111 Sofus Mortensen
sofus@... Send Email
Jun 21, 2001
10:01 pm
I have just uploaded alpha 9 to the website: http://www.lambdasoft.dk/comet Changes: - CURRENCY wrapper added by Michael Geddes. - Nutshell wrappers didn't...
112 Michael Geddes
mgeddes@... Send Email
Jun 22, 2001
12:55 am
tlb2h - Extra command-line options. I have merged the alpha9 changes into this version. (but not tested - so somebody should check it out). This adds...
113 Michael Geddes
mgeddes@... Send Email
Jun 22, 2001
1:01 am
Documentation. I am finding the lack of documenation a problem - not for myself - I love pouring through source-code to work out what things do - but for some...
114 Michael Geddes
mgeddes@... Send Email
Jun 22, 2001
1:07 am
<<tlb2h.cpp>>...
115 Michael Geddes
mgeddes@... Send Email
Jun 22, 2001
1:07 am
Some comments for atl_module.h Some class documentation: <<atl_module.h>>...
116 Michael Geddes
mgeddes@... Send Email
Jun 22, 2001
1:15 am
Messages 87 - 116 of 1073   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help