Results 1 to 2 of 2

Thread: Type library + Constants

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2011
    Posts
    31

    Type library + Constants

    Hi everyone,

    I have a created a DLL containing routines cut off from a client Exe Standard VB6 project. The DLL is useful for me to add new elements (modules, form, variables, constants) in the client VB6 project because of the 32K identifiers limit at compilation time.

    The VB6 project is made up of a lot of constants which produce a lot of identifiers at compilation time. I know that it is possible to declare constants in a type library because I made a test following a Microsoft article at : http://support.microsoft.com/kb/143258. But after reading some articles from the VB6 MSDN I learned that a type library has been automatically created when I have generated the DLL from my DLL ActiveX VB6 project. Is it true ?

    If so, is it possible to modify the type library generated by the IDE to add constants or I have to create a new one and reference it in my Exe standard VB6 project.

    Thanks in advance for your help.

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jan 2011
    Posts
    31

    Re: Type library + Constants

    UP (It is just to refresh the thread. I promise that I will delete that post later.)

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