Oxygen Basic
Programming => Example Code => Topic started by: Arnold 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
-
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.
-
Great to hear the COM talk here on the forum.
-
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.
-
Each anomaly reported gets close scrutiny wherever possible. The problems are often concealed, and are best handled individually, as soon as they appear.