Click here to Skip to main content
16,008,750 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Accessing a view's members from another class Pin
Joaquín M López Muñoz21-Feb-02 3:10
Joaquín M López Muñoz21-Feb-02 3:10 
GeneralRe: Accessing a view's members from another class Pin
kostasdel21-Feb-02 4:40
kostasdel21-Feb-02 4:40 
GeneralRe: Accessing a view's members from another class Pin
Mazdak21-Feb-02 3:18
Mazdak21-Feb-02 3:18 
GeneralRe: Accessing a view's members from another class Pin
kostasdel21-Feb-02 4:45
kostasdel21-Feb-02 4:45 
GeneralRe: Accessing a view's members from another class Pin
Mazdak21-Feb-02 5:51
Mazdak21-Feb-02 5:51 
GeneralTrying to use IStream to pass data to an ATL Server Pin
Braulio Dez21-Feb-02 3:05
Braulio Dez21-Feb-02 3:05 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Mazdak21-Feb-02 3:33
Mazdak21-Feb-02 3:33 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Braulio Dez21-Feb-02 3:49
Braulio Dez21-Feb-02 3:49 
Hi,

Well the error message is quite dissapointing...

0x8000ffff E_UNEXPECTED

Dr. Grimes didn´t answer me, but well, I keep on researching, and it seems that you have to encapsulate the metafile in a PictureBox control ( IPicture), and the destination is not in the same DLL so I need to save the object in one stream ( I use for that IStream), and then in the ATL server I take that string and try to load the pic...

But... I when I´m going to read from the stream it doesn´t... Dead | X|

I know this is a quite common issue, just to pass a metafile from one process to another using COM, it´s one of the basic thing from COM, the sad thing is that anybody that knows the answer wants to give a hint.... Frown | :-(

Thanks for you interest mazdak, Bye !
Braulio
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Mazdak21-Feb-02 4:22
Mazdak21-Feb-02 4:22 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Braulio Dez21-Feb-02 7:25
Braulio Dez21-Feb-02 7:25 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Braulio Dez13-Mar-02 2:41
Braulio Dez13-Mar-02 2:41 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Joao Vaz21-Feb-02 4:38
Joao Vaz21-Feb-02 4:38 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Braulio Dez21-Feb-02 5:26
Braulio Dez21-Feb-02 5:26 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Joao Vaz21-Feb-02 6:15
Joao Vaz21-Feb-02 6:15 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Braulio Dez21-Feb-02 7:18
Braulio Dez21-Feb-02 7:18 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Joao Vaz21-Feb-02 7:42
Joao Vaz21-Feb-02 7:42 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Joaquín M López Muñoz21-Feb-02 6:19
Joaquín M López Muñoz21-Feb-02 6:19 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Braulio Dez21-Feb-02 6:42
Braulio Dez21-Feb-02 6:42 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Joaquín M López Muñoz21-Feb-02 6:41
Joaquín M López Muñoz21-Feb-02 6:41 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Braulio Dez21-Feb-02 7:17
Braulio Dez21-Feb-02 7:17 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Joaquín M López Muñoz21-Feb-02 7:38
Joaquín M López Muñoz21-Feb-02 7:38 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Mazdak21-Feb-02 7:26
Mazdak21-Feb-02 7:26 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Joao Vaz21-Feb-02 6:50
Joao Vaz21-Feb-02 6:50 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Braulio Dez13-Mar-02 2:41
Braulio Dez13-Mar-02 2:41 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Braulio Dez13-Mar-02 2:40
Braulio Dez13-Mar-02 2:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.