🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.misc
2 messages
2 total messages Started by beach9000 Wed, 27 Jan 1999 00:00
ActiveX and Pointers Question (newbie)
#2905
Author: beach9000
Date: Wed, 27 Jan 1999 00:00
12 lines
1585 bytes
I'm trying to plan out a generic ActiveX control.  It deals with a rather
complicated tree structure and I was wondering how could I pass the data in
the tree structure to the container.  I've heard that you can't simply pass
pointers out of a control, but for me that would be the easiest solution.

Could somebody explain why I can't pass a pointer and also help with some
solutions?

Thanks.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Re: ActiveX and Pointers Question (newbie)
#2906
Author: Scott McPhillips
Date: Thu, 28 Jan 1999 00:00
16 lines
1878 bytes
beach9000@hotmail.com wrote:
> 
> I'm trying to plan out a generic ActiveX control.  It deals with a rather
> complicated tree structure and I was wondering how could I pass the data in
> the tree structure to the container.  I've heard that you can't simply pass
> pointers out of a control, but for me that would be the easiest solution.
> 
> Could somebody explain why I can't pass a pointer and also help with some
> solutions?
> 
> Thanks.
> 
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own

If the ActiveX control will only be used in-process then you can pass pointers in or out by simply casting the pointer to and from any OLE supported type, such as long*.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads