15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


To embed or not to embed ...

Manos D. Anastasiadis -- manos@ced.tuc.gr
Thursday, September 19, 1996

Environment: VC++ 4.2, Win 95

Hi,
I've been trying to *embed* multimedia objects in an 
MFC OLE container. The problem is that if I later remove
the original file, a dialog complains about a missing link (!)
My app (which acts as an OLE server too) does not require
the original file to remain at the original location after
I create an embedding in another container !
Isn't this a violation of embedding as a concept ?
Note that I use ActiveMovie, shipped with IE3.0 final,
which is the OLE server for MM objects...
I know that it is a kind of irrelevant question for the list
but has anyone ever experienced such problems ?
I actually found the problem when using the docobject
in an ActiveX control I've been developing..
ThanX in advance

/*==================================*
 * Manos D. Anastasiadis            *
 * Computer Engineer                *
 * Technical University of Crete    *
 * Mu.S.I.C.                        *
 * manos@ced.tuc.gr                 *
 *==================================*/






IAND@wcom.co.uk
Monday, September 23, 1996


It sounds like you are linking the file not embedding it.
 ----------
From: manos@ced.tuc.gr
To: "MFC-l" ; WORLDCOM/WORLDCOM1/IAND
Subject: To embed or not to embed ...
Date: 21 September 1996 12:21

<>
Environment: VC++ 4.2, Win 95

Hi,
I've been trying to *embed* multimedia objects in an
MFC OLE container. The problem is that if I later remove
the original file, a dialog complains about a missing link (!)
My app (which acts as an OLE server too) does not require
the original file to remain at the original location after
I create an embedding in another container !
Isn't this a violation of embedding as a concept ?
Note that I use ActiveMovie, shipped with IE3.0 final,
which is the OLE server for MM objects...
I know that it is a kind of irrelevant question for the list
but has anyone ever experienced such problems ?
I actually found the problem when using the docobject
in an ActiveX control I've been developing..
ThanX in advance

/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D*
 * Manos D. Anastasiadis            *
 * Computer Engineer                *
 * Technical University of Crete    *
 * Mu.S.I.C.                        *
 * manos@ced.tuc.gr                 *
 *=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D*/








| Вернуться в корень Архива |