Re: [Dev-C++] Nobody can help me with .tlb ?? :/
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Mac R. <re...@no...> - 2002-06-26 21:38:57
|
At 05:30 PM 6/26/02 -0300, we...@ha... wrote:
>Hi Mac and Dev-C++ users,
>
>My problem is exactily it. :)
>
>I use Visual Basic 6 and i have several problems with several dll's that i
>need copy together with executable. For example the vbrun.
You don't need a C++ compiler for this. I strongly suggest getting the
book "Hardcore Visual Basic" or "Visual Basic x.0 Programmer's Guide to the
Win32 API". I know that the last version of "Hardcore Visual Basic"
includes instructions on how to create a TLB.
The current preferred method is to write up the description in IDL
(Interface Description Language) and compile it into a TLB with MIDL. But
MIDL is not included in Visual Basic -- in comes with Visual C++, and I
don't know what the redistribution rights to it are... The older method is
to write up the description in ODL (Object Description Language) and use
MkTypLib, which you *CAN* get from your Visual Basic install disk (for
vb5.0 it was in \Tools\Unsupprt\Typlib on the CD, but I don't know about
6.0). The author of "Hardcore VB" prefers the IDL method over the ODL
method for unspecified reasons, but you may not have a choice. I don't
have references on hand for IDL or ODL syntax, but you can probably find
some info (or at least examples) either in that directory or on the Web. I
doubt that Dev-C++ (being based on GCC) supports creation of type
libraries, but I could easily be wrong.
Mac
-
_____________________________ /"\
Mac Reiter \ / ASCII Ribbon Campaign
Nomadics, Inc. X Against HTML Mail
re...@no... / \ (To join the campaign, simply use
this in your signature.)
|