The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: ipadilla on May 20, 2005, 04:55:11 AM

Title: To Vortex
Post by: ipadilla on May 20, 2005, 04:55:11 AM
Hi Vortex,
I remember a hhCrtl.lib but I do not know where.
Have somebody converted .ocx to .lib to use it on masm32?
There is some way to obtain hhCtrl.lib for masm32?
You you
ipadilla


Title: Re: To Vortex
Post by: Vortex on May 20, 2005, 06:21:14 AM
Hi ipadilla,

As you know, OCX files are basically dynamic link libraries. So, you can try to make an import library using the inc2lib tool:
Quote
Include to library file converter V1.1
Inc2lib converts a MASM include file to the associated import library. To create the libraries, the tool launches Pelle's linker Polib. The location of Polib should be defined via the environment variable PATH inc2lib accepts wildcards such *.inc The libraries can be used with COFF linkers MS link and Pelle's Polink

All what you need is to create an include file with function prototypes.

The inc2lib tool available from my website:

http://vortex.masmcode.com/files/i2l11.zip
Title: Re: To Vortex
Post by: ipadilla on May 20, 2005, 07:16:28 AM
Hi Vortex,
Thank you very much indeed.
ipadilla