tlb2h fix for Creating type lists that are too long <<tlb2h.cpp>> Here is a fix for a problem I was having on a type-library with 430 or so coclasses defined. ...
74
Michael Geddes
mgeddes@...
Apr 3, 2001 6:22 am
enums & fixing the long typelist stuff. More! I've gotta start doing some real work over here :) but I'm enjoying myself too much. After a few modifications I...
75
abelardopp@...
Apr 4, 2001 11:57 pm
I'm beginig to use Comet, and i have to send a struct throw a SAFEARRAY. I have this simple IDL. ... import "oaidl.idl"; import "ocidl.idl"; [ ...
76
Sofus Mortensen
sofus@...
Apr 5, 2001 9:40 pm
Abelardo, There are two issues here: 1. Currently Comet does not make use of the wrapper classes structs. That is tlb2h.exe does not generate structs with...
77
Eric Friedman
AcidProject@...
Apr 7, 2001 7:48 pm
I am new to using GCC, which I switched to for greater standard C++ compliance than that of Visual C++ 6. I have managed to compile simple C++ console...
78
Michael Geddes
mgeddes@...
Apr 9, 2001 3:33 am
I have done some work getting compilation happening with gcc, but didn't get it all going. One of the big issues was windows headers - I haven't had time to...
79
Eric Friedman
AcidProject@...
Apr 9, 2001 10:12 pm
Check out www.mingw.org I am relatively new to GCC, but it seems that (if you download the w32api package) there is a fairly complete set of headers. Eric...
80
Michael Geddes
mgeddes@...
Apr 10, 2001 9:15 am
Yep, found it. Am doing some work now. There are LOTS of problems. And there seems to be some bugs in the header files too which is not helping //. ... From:...
81
Michael Geddes
mgeddes@...
Apr 12, 2001 3:42 am
Gcc Compilation I have found a whole host of problems with Gcc compilation, and have made a decent start on them. There are still some problems with functors...
82
bcyrilb@...
Apr 12, 2001 2:01 pm
Here's it's the pb : ** bstr.h ** line 176 : bool operator==(const bstr_base& s) const { if (str_ == 0 && s.str_ == 0) return true; => return...
83
bcyrilb@...
Apr 12, 2001 2:34 pm
I'm starting to test Comet. I found it great because it's VERY simple to quick add COM capabilities to legacy C++ classes (only the IDL to write and adding 2...
84
Paul Hollingsworth
egroups@...
Apr 12, 2001 6:07 pm
Hi, This is actually a bug in VC++ - download the latest service pack (I believe they are up to service pack 6 now) and install it - that will fix your problem...
85
Paul Hollingsworth
egroups@...
Apr 12, 2001 6:34 pm
Hi Cyril, MyAVLTree is not a "real" type. Also, even though that IDL appears to compile in MIDL (which I am a bit surprised about) - it is not actually legal....
86
bcyrilb@...
Apr 13, 2001 9:48 am
Thanks for your explanation. Indeed, I think that my attempt was not in the good "COM" way. So what if I change my IDL like this (to deal with interface...
87
jbandela@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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@...
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...