Board index » Visual Studio » Ctl3dAutoSubClass not in ctl3d32.dll?

Ctl3dAutoSubClass not in ctl3d32.dll?

Visual Studio273
I am converting a VB 3.0 application to VB 6.0.



The VB 3.0 declaration is

Declare Function Ctl3dAutoSubClass Lib "ctl3d.dll" (ByVal hInstApp)



In the VB 6.0 version I changed it to:

Declare Function Ctl3dAutoSubClass Lib "ctl3d32.dll" (ByVal hInstApp As

Long) As Long



I get the run-time error:

Run-tim error '453':

Can't find DLL entry point Ctl3dAutoSubClass in ctl3d32.dll



Is Ctl3dAutoSubClass obsolete? Where can I get information about the

official contents and declaration of ctl3d32.dll? Thanks.


-
 

Re:Ctl3dAutoSubClass not in ctl3d32.dll?

Hmmm... wrote:

Quote
I am converting a VB 3.0 application to VB 6.0.



The VB 3.0 declaration is

Declare Function Ctl3dAutoSubClass Lib "ctl3d.dll" (ByVal hInstApp)



In the VB 6.0 version I changed it to:

Declare Function Ctl3dAutoSubClass Lib "ctl3d32.dll" (ByVal hInstApp As

Long) As Long



I get the run-time error:

Run-tim error '453':

Can't find DLL entry point Ctl3dAutoSubClass in ctl3d32.dll



Is Ctl3dAutoSubClass obsolete? Where can I get information about the

official contents and declaration of ctl3d32.dll? Thanks.



I've never heard of it <g>. but there are quite a few references to it

on the web (the APIs name anyway).



What is it that you're trying to do with that API? There are plenty of

ways to subclass things these days.



--

Ken Halter - MS-MVP-VB - www.vbsight.com">www.vbsight.com

Please keep all discussions in the groups..

-

Re:Ctl3dAutoSubClass not in ctl3d32.dll?



"Hmmm..." <blahblah@blah.com>wrote in message

Quote
I am converting a VB 3.0 application to VB 6.0.



The VB 3.0 declaration is

Declare Function Ctl3dAutoSubClass Lib "ctl3d.dll" (ByVal hInstApp)



In the VB 6.0 version I changed it to:

Declare Function Ctl3dAutoSubClass Lib "ctl3d32.dll" (ByVal hInstApp As

Long) As Long



I get the run-time error:

Run-tim error '453':

Can't find DLL entry point Ctl3dAutoSubClass in ctl3d32.dll





That ENTIRE library is obsolete. I know of no reason you would need to use

it with VB6.



Mike





-