|
-
Mar 8th, 2011, 05:58 AM
#1
Thread Starter
Junior Member
[RESOLVED] Type library + Exe standard VB6 project
Hi everyone,
I have generated an executable file from an Exe Standard VB6 Project which references my Type Library. My Type Library contains a lot of constants. I have launched the executable file from a computer where the Type Library is not present and where the Type Library is not referenced in the registry. The execution works correctly.
I am confused because I thought that the Type Library shoud be present on the computer where the executable file is launched and the Type Library should be referenced in the registry. Could someone give me a rational reason to explain the successful execution ?
Thanks in advance.
-
Mar 8th, 2011, 08:00 AM
#2
Re: Type library + Exe standard VB6 project
TypeLibrary (TLB) is need only a design time (VB6 IDE).
Isn't necessary to execute compiled EXE.
Dinamic Link Libraries (DLL) are necessary, instead.
-
Mar 8th, 2011, 10:49 AM
#3
Re: Type library + Exe standard VB6 project
A type library provides "type" information (thus the name). Your constants are part of this information.
It is used by the compiler, not at run time. A type library is sort of like a C header file in binary form.
-
Mar 8th, 2011, 01:21 PM
#4
Thread Starter
Junior Member
Re: Type library + Exe standard VB6 project
Ok. Thank you for this information. The installation of the executable will be easier then.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|