Hi everyone, Be aware that if you downloaded Comet Alpha 5 since 26th of January, there is a bug in ptr.h which means that the smart pointers do not release...
45
Sofus Mortensen
sofus@...
Mar 6, 2001 7:29 am
Thanks for cathching this one. I am puzzled how the destructor could disappear from Alpha 4 to Alpha 5. This is all very embarrassing! Expect an Alpha 6...
46
Sofus Mortensen
sofus@...
Mar 7, 2001 6:58 pm
I have just uploaded "Comet version 1 alpha 6" to: http://www.lambdasoft.dk/comet/download.htm Best regards, Sofus Mortensen Comet - Grunge free COM...
47
Mikael Lindgren
mikael.smt@...
Mar 14, 2001 12:25 pm
Hi everyone, I've uploaded a modified version of tlb2h.cpp in the MikaelLindgren directory. The code that it produce uses IDispatch's Invoke method to call any...
48
Michael Geddes
mgeddes@...
Mar 15, 2001 2:29 am
I would be very careful with this. It appears that event interfaces should never be defined as Dual Interface. They should either be a 'dispinterface' which...
49
Mikael Lindgren
mikael.smt@...
Mar 15, 2001 7:55 am
I'm not sure if Delpi handles pure vtable event interfaces. But I'll check and get back to later on. /Mikael ... From: "Michael Geddes"...
50
Mikael Lindgren
mikael.smt@...
Mar 15, 2001 9:06 am
I've checked, and Delphi doesn't support vtable (IUnknown) event interfaces at all. ... I've done a bit of the work by implement call to the event interface...
51
Michael Geddes
mgeddes@...
Mar 20, 2001 12:50 am
Mikael - I've been doing some more work on dispinterface in tlb2h.cpp - one little thing I just found is that you had the IDispatch parameters the wrong way ...
52
Michael Geddes
mgeddes@...
Mar 26, 2001 5:52 am
Various Changes (as described) Compatability & IDispatch support bstr.h towards compiling with bcc32 <<bstr.h>> config.h towards compiling with bcc32 requires...
53
Sofus Mortensen
sofus@...
Mar 26, 2001 11:16 am
Hi, I have just released alpha 7 at www.lambdasoft.dk/comet/download.htm. Changes: * Support for dispinterfaces has been added by Michael Geddes. * BCC...
54
Sofus Mortensen
sofus@...
Mar 26, 2001 4:10 pm
Michael, Thanks for the patches, highly appreciated. Could you check if the latest release (alpha 7) is working on BCC? I might accidently have broken...
55
Sofus Mortensen
sofus@...
Mar 26, 2001 4:16 pm
Hi, I've just been reading up on this thread, and I realise that Michael Geddes patches for tlb2h.exe are actually based on the work that Mikael Lindgren did....
56
Mikael Lindgren
mikael.smt@...
Mar 26, 2001 7:00 pm
Yes I did some initial work on this (without any real research how event handling should work). Then Michael an I have had some "discussions" behind the scene...
57
Mikael Lindgren
mikael.smt@...
Mar 26, 2001 7:05 pm
It should say: ... but he did the real work. ... From: "Mikael Lindgren" <mikael.smt@...> To: <tlb2h@yahoogroups.com> Sent: Monday, March 26, 2001 8:58...
58
Michael Geddes
mgeddes@...
Mar 27, 2001 12:38 am
I actually meant to put a credit for Mikael's contribution and forgot to, so thanks Sofus for doing that. Thanks to Mikael for providing some code to...
59
Michael Geddes
mgeddes@...
Mar 27, 2001 3:48 am
I haven't quite got a library to work on bcc. There are some nasties involved with bcc doing some bizarre type checking with specialised versions of templated...
60
Michael Geddes
mgeddes@...
Mar 27, 2001 4:03 am
comet/stl.h enum.h requires #include <comet/stl.h> to compile without STLPORT //....
61
Michael Geddes
mgeddes@...
Mar 27, 2001 4:09 am
Explicit cast from interface_pointer There is a problem with not having an explicit keyword on the com_ptr...
62
Michael Geddes
mgeddes@...
Mar 27, 2001 4:11 am
explicit on interface_pointer constructor in com_ptr There is a problem with not having an explicit keyword on the com_ptr . It occurs when you have a raw...
63
Sofus Mortensen
sofus@...
Mar 27, 2001 10:00 am
Fixed. Thanks, Sofus ... From: Michael Geddes [mailto:mgeddes@...] Sent: Tuesday, March 27, 2001 6:02 AM To: 'Comet' Subject: [tlb2h]...
64
Sofus Mortensen
sofus@...
Mar 27, 2001 10:01 am
I am not overly keen on changing this, because then the following code would fail to compile: com_ptr<IFoo> myFoo = new Foo; I can get it working by writing: ...
65
Paul Hollingsworth
egroups@...
Mar 27, 2001 3:15 pm
Sofus is correct - I prefer being able to write the first form. Particularly, it is very useful for implementing a method like this: com_ptr<IFoo> CreateFoo() ...
66
Paul Hollingsworth
egroups@...
Mar 27, 2001 3:21 pm
Ooops! That should read "Please remove the explicit", BTW. ... think ... com_cast. ... Service....
67
Michael Geddes
mgeddes@...
Mar 27, 2001 11:54 pm
Yes, then how about having operator = (interface_pointer p) unless you do auto_attach. The problem is : com_ptr<IFoo> myFoo = try_cast(new BarFoo) will...
68
Michael Geddes
mgeddes@...
Mar 28, 2001 2:16 am
Ah! I have found the problem. It is in try_cast definition (and com_cast) template<typename Itf> inline impl::try_cast_t<Itf> try_cast(Itf* t) { return...
69
Mikael Lindgren
mikael.lindgren@...
Mar 28, 2001 8:07 am
Yes, that's right, impl::try_cast and impl:com_cast stores a const reference to a com_ptr, and in this case it's a reference to a temporary object that's being...
70
Sofus Mortensen
sofus@...
Mar 28, 2001 8:11 pm
Mikael and Michael, Thanks for the bug report! I have solved this by having com_cast_t and try_cast_t store a raw interface pointer instead of a const...
71
Michael Geddes
mgeddes@...
Mar 29, 2001 1:18 am
Variant Can we have : CONVERTERS(CURRENCY, CY); CONVERTERS( DATE , DATE ); added to variant_t. It's nice to be able to get at CY and DATE values from a...
72
Sofus Mortensen
sofus@...
Mar 29, 2001 7:32 am
DATE is typedef'ed as a double, so adding CONVERTERS(DATE, DATE); would break variant_t. Adding CONVERTERS(CURRENCY, CY); is fine by me, but I'd rather see two...
73
Michael Geddes
mgeddes@...
Apr 2, 2001 9:07 am
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. ...