Results 1 to 4 of 4

Thread: [RESOLVED] Type library + Exe standard VB6 project

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2011
    Posts
    31

    Resolved [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.

  2. #2
    gibra
    Guest

    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.


  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    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.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jan 2011
    Posts
    31

    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
  •  



Click Here to Expand Forum to Full Width