Author Topic: Small typo?  (Read 1947 times)

0 Members and 1 Guest are viewing this topic.

Arnold

  • Guest
Small typo?
« on: October 05, 2019, 03:38:25 AM »
Hi Charles,

I think there is a typo in examples\COM\sapDemo1.o2bas? If I replace line 32 with:
pUnkouter=0
then the app works fine.

Roland

Charles Pegge

  • Guest
Re: Small typo?
« Reply #1 on: October 06, 2019, 09:28:53 AM »
Thanks Roland,

The underlying problem is that void* derivatives translate to sys. LPUNKNOWN punkouter should be a pointer to the Iunknown class instead of being defined as a void pointer (inc\COM\comutil.inc).

In any case the line can be omitted since null is the initial value.

JRS

  • Guest
Re: Small typo?
« Reply #2 on: October 06, 2019, 09:56:02 AM »
Great to hear the COM talk here on the forum.

Arnold

  • Guest
Re: Small typo?
« Reply #3 on: October 09, 2019, 12:13:22 AM »
I am a bit helpless. I found this example because I searched for the usage and difference of extends, of, from compared with the keyword has. The purpose was only to report a different behaviour of an app, not to ask about COM.

Perhaps there is a possibility to place a notification about bugs / error messages of some demos? It is a bit confusing to always add a new topic for a message that is only meant to report a different result when testing a new beta release. I would not even expect a reply, only if I am completely wrong.


Charles Pegge

  • Guest
Re: Small typo?
« Reply #4 on: October 15, 2019, 01:51:32 AM »
Each anomaly reported gets close scrutiny wherever possible. The problems are often concealed, and are best handled individually, as soon as they appear.