Notices
Non Scooby Related Anything Non-Scooby related

OCX embedded objects....

Thread Tools
 
Search this Thread
 
Old 12 November 2001, 09:57 AM
  #1  
KF
Scooby Regular
Thread Starter
 
KF's Avatar
 
Join Date: Feb 2000
Posts: 405
Likes: 0
Received 0 Likes on 0 Posts
Post

Yeah. There are a series of IPersist interfaces. I think IPersistStream may be deprecated and replaced with IPersistStreamInit.
You should get a call on that interface. I guess the question was about how you were creating the object - if you are using MFC then there is a wrapper around all the OLE gunge. In which case COleControl:: DoPropExchange() would appear to be the chap.
Good luck.
KF.

[Edited by KF - 12/11/2001 9:58:26 AM]
Old 10 December 2001, 04:40 PM
  #2  
Dizzy
Scooby Regular
 
Dizzy's Avatar
 
Join Date: May 2001
Posts: 2,537
Likes: 0
Received 0 Likes on 0 Posts
Post

Ok... If you dont know vc++ run away quick b4 u fall asleep...

I'm trying to embed a ole control (that has to be made by me) into a rich edit control and I can't find out what function the richedit calls to serialize the data before its streamed by the richedit stream callback.

i.e. I wana be able to save & load my embeded object. I've searched for ages now and my brain has finaly melted outa my ears :/

Thanks in advance
Diz
Old 10 December 2001, 05:54 PM
  #3  
KF
Scooby Regular
Thread Starter
 
KF's Avatar
 
Join Date: Feb 2000
Posts: 405
Likes: 0
Received 0 Likes on 0 Posts
Post

Not sure I fully understand your problem. Have you implemented IPersistStream?
KF.
Old 11 December 2001, 08:26 AM
  #4  
Dizzy
Scooby Regular
 
Dizzy's Avatar
 
Join Date: May 2001
Posts: 2,537
Likes: 0
Received 0 Likes on 0 Posts
Post

Nope I havn't I'll look into that.. thanks. I found references to IStream but wasn't sure if that was the correct area.

To clarify I was wondering what function / interface would get called to marshall the data of a embedded object so I can implement my own object that will get loaded and saved.

Diz
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
CRAIGFIN
Computer & Technology Related
8
06 November 2004 08:31 PM
Dicke C
Computer & Technology Related
2
24 September 2004 11:38 AM
BigRed
Computer & Technology Related
5
22 August 2004 02:42 PM
dsmith
Computer & Technology Related
4
28 January 2003 11:16 AM
SDB
Non Scooby Related
10
19 February 2001 08:01 AM



Quick Reply: OCX embedded objects....



All times are GMT +1. The time now is 04:26 AM.