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

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


16-bit OCX's with VC++ 1.52?

Frank Bowers -- Frank_Bowers@wayfarer.com
Monday, March 17, 1997

Environment: NT4.0 (development), Win3.1 (target), VC++ 1.52

Is it feasible to develop 16-bit apps in VC++ using OCX's?  I haven't been
able to find any mention of this in the knowledge base or MSDN.  Are 16-bit
OCX's only for use in VB?

Frank







Ervin Fried -- ervinf@netcom.ca
Thursday, March 20, 1997

[Mini-digest: 5 responses]

Frank Bowers wrote:
> 
> Environment: NT4.0 (development), Win3.1 (target), VC++ 1.52
> 
> Is it feasible to develop 16-bit apps in VC++ using OCX's?  I haven't been
> able to find any mention of this in the knowledge base or MSDN.  Are 16-bit
> OCX's only for use in VB?
> 

you can use ocx's in vc 1.52, but it's a hard.

you have no ocx support in the CWnd derived classes or in Class wizard,
so...
(that's in contrast to mfc 4.x)

one solution is to use win32s, with all the associated trouble.
But it can be a solution especially if you want do use the same code on
win32
the last ver of Vc that supports win32s is 4.1. also, make sure that the
ocx's 
themself do not depend on mfc 4.2x dll's


> Frank

Ervin

-----From: Matthias Muellereisert 

On Mon, 17 Mar 1997, Frank Bowers wrote:

> Environment: NT4.0 (development), Win3.1 (target), VC++ 1.52
> 
> Is it feasible to develop 16-bit apps in VC++ using OCX's?  I haven't been
> able to find any mention of this in the knowledge base or MSDN.  Are 16-bit
> OCX's only for use in VB?
> 
> Frank
> 
Only 32-bit apps can use OCXs.
And 16-bit OCXs don't exist!!!

Greetings Matthias

-----From: Matthias Muellereisert 

On Mon, 17 Mar 1997, Frank Bowers wrote:

>   Are 16-bit OCX's only for use in VB? 

VBX was the predecessor of OCX and this controls are 16 bit.




-----From: hou@tfn.com (Bing Hou)

     
     VC++1.52 doesn't support OCX.
     
     Bing


______________________________ Reply Separator _________________________________
Subject: 16-bit OCX's with VC++ 1.52?
Author:  Frank_Bowers@wayfarer.com (Frank Bowers) at Internet
Date:    3/17/97 1:45 PM


Environment: NT4.0 (development), Win3.1 (target), VC++ 1.52
     
Is it feasible to develop 16-bit apps in VC++ using OCX's?  I haven't been 
able to find any mention of this in the knowledge base or MSDN.  Are 16-bit 
OCX's only for use in VB?
     
Frank
     
     
     
     
-----From: Rajesh Parikh 

Dear Frank Bowers,
Yes it is verymuch possible to develop 16bit OCX's using VC++ 1.52 and =
Control Development Kit(CDK) which ships free with VC++1.52 CD. Last =
month I had developed a 16bit OCX, and it is working well. Once you =
install CDK you would be able to build both 16bit and 32bit OCX's with =
it, since it generates two .mak files. You would get a control wizard =
very similar to VC++ 4.x control wizard. You need to make 16bit versions =
of your OCX's if you are  targetting at VB4.0 16bit version users....

In case you face any problems let me know...

Rajesh Parikh
rparikh@usa.net

=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
Office :
Software House,
3362-G, AE Block,
8th Street - 11th Main Road,
Anna Nagar, Madras - 600 040
India

----------
From: 	Frank Bowers
Sent: 	Tuesday, March 18, 1997 3:15 AM
To: 	mfc-l@netcom.com
Subject: 	16-bit OCX's with VC++ 1.52?

Environment: NT4.0 (development), Win3.1 (target), VC++ 1.52

Is it feasible to develop 16-bit apps in VC++ using OCX's?  I haven't =
been
able to find any mention of this in the knowledge base or MSDN.  Are =
16-bit
OCX's only for use in VB?

Frank




Mike Blaszczak -- mikeblas@nwlink.com
Sunday, March 23, 1997

>-----From: Matthias Muellereisert 

>Only 32-bit apps can use OCXs.

This is wrong.

>And 16-bit OCXs don't exist!!!

I'm afraid you're wrong again.


.B ekiM
http://www.nwlink.com/~mikeblas/
These words are my own. I do not speak on behalf of Microsoft.
       One is too many and a million is not enough.



Frank Bowers -- Frank_Bowers@wayfarer.com
Wednesday, March 26, 1997


I called Microsoft Technical support with this question and they directed
me to the "Inside OLE 2.0" sample code written by Brockschmidt.  This code
provides a rough outline of how to call the OLE interfaces directly.  

I also found an OCX vendor which provides VC++ 1.52 sample code for their
16-bit OCX. (Sax Software http://www.saxsoft.com)

At 07:22 PM 3/20/97 -0500, you wrote:
>[Mini-digest: 5 responses]
>
>Frank Bowers wrote:
>> 
>> Environment: NT4.0 (development), Win3.1 (target), VC++ 1.52
>> 
>> Is it feasible to develop 16-bit apps in VC++ using OCX's?  I haven't been
>> able to find any mention of this in the knowledge base or MSDN.  Are 16-bit
>> OCX's only for use in VB?
>> 
>





Become an MFC-L member | Вернуться в корень Архива |