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

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


Creating a 16-bit OLE server

Magnus_Johannesson/GBG/FRONTEC.FRONTEC@notes.frontec.se
Friday, November 22, 1996


Environment: Win95 (development), Win3.11 (target), VC++ 1.52

I want to create an OLE server as an EXE file. The OLE client is a Visual 
Basic 4.0 16-bit app. I've used AppWizard and set the OLE options to Full 
server and OLE Automation, and I've added a method to the document class 
with ClassWizard. How do I use the resulting OLE server from VB, since no 
ODL- or TLB-file is created?

TIA
Magnus Johannesson
Frontec Konsulter





=?iso-8859-1?Q?=DE=F3rir_Sandholt?= -- thorir@spar.is
Monday, November 25, 1996

You write the ODl yourself! =20

I had the same problem and what I did, I created a MSVC 4.x project that =
had the same name, with the same options as the 16 bit one and then I =
got the ODL for free.  I took care to compile the ODL file with the =
"/win16" switch, using the MkTypLib utility that ships with MSVC 4.x

This works fine for me.  At least easier than hand code the ODL file =
from scratch. You can of course just take an existing ODl file and tweak =
it.  The syntax is quite interesting.

=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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Thorir Sandholt	thorir@spar.is
Systems Developer
The Computer Service Centre For The Icelandic Savings Banks
=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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
----------
From: 	Magnus_Johannesson/GBG/FRONTEC.FRONTEC@notes.frontec.se
Sent: 	22. n=F3vember 1996 18:04
To: 	mfc-l@netcom.com
Subject: 	Creating a 16-bit OLE server


Environment: Win95 (development), Win3.11 (target), VC++ 1.52

I want to create an OLE server as an EXE file. The OLE client is a =
Visual=20
Basic 4.0 16-bit app. I've used AppWizard and set the OLE options to =
Full=20
server and OLE Automation, and I've added a method to the document class =

with ClassWizard. How do I use the resulting OLE server from VB, since =
no=20
ODL- or TLB-file is created?

TIA
Magnus Johannesson
Frontec Konsulter





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