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

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


Why make EXE OLE servers ?

Shrirang A Moghe -- samoghe@tdmail.india.ingr.com
Wednesday, January 31, 1996



Just today, I just converted a MFC based OLE server to a dll.
And now it cannot talk to WORD 6.0 (which it could when the server
was an EXE).

WORD says the following in a OK/HELP dialog box:

"The server application, source file, or item cannot be found.
Make sure the application is properly installed, & thet it has
not been deleted, moved, or renamed"

I presume WORD 6.0 is 16bit and the server dll is 32 bit. Btw, the server 
dll
can talk to the OCLIENT container.

Regards,
Shrirang A. Moghe



Brad Wilson -- bradw@netnet.net
Sunday, February 04, 1996

> Just today, I just converted a MFC based OLE server to a dll.
> And now it cannot talk to WORD 6.0 (which it could when the server
> was an EXE).
[...]
> I presume WORD 6.0 is 16bit and the server dll is 32 bit. Btw, the server 
> dll can talk to the OCLIENT container.

In process servers don't get marshalling.  32-bit DLLs work with 32-bit
apps, and 16-bit DLLs with 16-bit apps.

Brad

--
class CBradWilson : public CWorldWatchProgrammingTeam {
  public:
    void GetInetAddr  ( CString& s ) { s = "bradw@exptech.com";      }
    void GetE164Addr  ( CString& s ) { s = "+1 (810) 620-9803";      }
    void GetURL       ( CString& s ) { s = "http://www.exptech.com"; }
    void GetDisclaimer( CString& s ) { s = "All I say is fact :-p";  }
};

//  LOTW:  "In my den of inequtiy, viciousness and subtelty, struggle to ease
//          the pain, struggle to find the sane; ignorance surrounding me"





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