Results 1 to 12 of 12

Thread: Help!! 5 megs of dll's!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112

    Help!! 5 megs of dll's!

    Hi all,

    im rather new at this, maybe someone can help me out a little.

    ive made a small application using a few forms and a Datacontrol. after compiling i ran the package&deploy tool. The result was a 80K EXE and a whopping 5 megs of dll's etc.!! is there a way to not needing to ship the huge ammount of dll-datawith my appie, the app. probably uses just a few tiny bits of it.




    please point me the right direction.

    thnaks in advance
    Remvs / The Netherlands

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    I don't think that there is too much you can do about that, I'm afraid...There is a program called Fusion, that wrapps up all the dll's and the exe into one exe. But I dont think that makes it any smaller. What you can do is, if you have one specific customer that you are dealing with, make sure that they have the dll's on their computer(s) already. Then you don't have to package them in.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Actually Fusion compresses the files a little.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  4. #4
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Originally posted by Vlatko
    Actually Fusion compresses the files a little.
    Cool, I'll have to remember that. Thanks
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112

    k, thanks guys

    thanks for the explaining. i hoped it was possible to 'copy' the needed functions from the dll into lets say the .exe
    but well, life's a ***** sometimes

    Remvs

  6. #6
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    Of course if you know the end-user will already have those DLL's then you don't need to include them. However, if you don't then you can either risk it or just include them in a zip to compress them.

    Also, Fusion compresses more than a little bit, I get 70% out of it sometimes (usually 50-60%).

  7. #7
    Megatron
    Guest
    Welcome to the downside of VB

  8. #8
    Addicted Member overhill's Avatar
    Join Date
    Mar 2000
    Location
    KS, United States
    Posts
    181
    What do C++, Delphi, etc. programs do that causes them to not need runtime files?

    Also, if VB programs have to have the runtimes, why aren't they installed with Windows? They could even be an optional adition available on the Windows Update site, but nooooo, they are no where to be found.

    Finally, another quick question. If I create an .exe with no added references or controls, will it run on most computers with Windows? I have heard that IE installs some of the basic controls. True?

  9. #9
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    The VB runtimes aren't installed by windows or IE. Some control are done by IE (the webbrowser control, the coolbar control) etc but not the runtimes.

    Windows XP is apparently going to have the VB runtimes installed as standard (maybe they did with 2000, can't rmember)

  10. #10
    Member
    Join Date
    May 2001
    Posts
    52
    i are sure that all of yours dll are NOT windows dll?
    i make some program but for now i dont'have distribuite anytings...
    But i belive that if your program need the vb 6 runtime you can said in radme file thet your program need windows, internet explorer, maby a pentium provcessor, AND the vb6 runtime.
    Like this yours user not take scher
    Also if you call a lot of api YOURS USER HAVE IT ALLREADY if it have windows.......
    Or i'm are wrong? said me

  11. #11
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by overhill
    What do C++, Delphi, etc. programs do that causes them to not need runtime files?
    Because they call the API directly rather than through a "layer". Actually, that's not 100% true because they do have a runtime library (msvcrt.dll) but due to the nature of C++ you can link whatever you use of that directly into your program.

    Also, if VB programs have to have the runtimes, why aren't they installed with Windows? They could even be an optional adition available on the Windows Update site, but nooooo, they are no where to be found.
    My copy of 98 (gold) has the VB5 runtimes on, but not VB6. I agree, they should be available. On MS's FTP site there is a self-installing download you can get.

    Finally, another quick question. If I create an .exe with no added references or controls, will it run on most computers with Windows? I have heard that IE installs some of the basic controls. True?
    Subject to the earlier caveats, yes.
    Last edited by parksie; Jun 9th, 2001 at 02:27 PM.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  12. #12
    Megatron
    Guest
    Originally posted by overhill
    What do C++, Delphi, etc. programs do that causes them to not need runtime files?
    They are all compiled languages, whereas VB is interpreted.

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