Results 1 to 8 of 8

Thread: Native EXE File

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    chicago (hope)
    Posts
    146

    Post


    how can i create a exe file that doesn't need (runtime-)dll's ???????????????????????????????

    like those, you can download on websites. you've only this one file and it works!

    please HELP!

    thanx

    vbAlex

  2. #2
    Hyperactive Member Juan Carlos Rey's Avatar
    Join Date
    Aug 1999
    Location
    Mendoza, Argentina
    Posts
    301

    Post

    I you don't use special controls and provided your end user has vbrun already installed (almost sure) then you can avoid dll's.
    Otherwise, choice another language!


  3. #3
    Hyperactive Member
    Join Date
    Sep 1999
    Posts
    305

    Post

    Try File then Make(your program).EXE
    that makes your program into an .EXE, but it still uses some .DLLs. Chances are that other users probably have those .DLLs though.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    chicago (hope)
    Posts
    146

    Post

    do i have to write the programm in c/c++ (i don't have c....) or is there another possibility?

  5. #5
    Guest

    Post

    Listen crew,

    Only C++ has the ability to compile the shared activex components into a single exe. Do not take chances in making a VB app without a setup program. If your components are not on your audience's machine, the app will not run. This has happened to me one too many times.

  6. #6
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892

    Post

    When you use Visual C++, you have the option to use the MFC Library, which makes programming much easier, but requires some runtime declarations. You can choose if you want the declarations as a statically linked library (packing MFC in your program's EXE, making it much bigger than wanted) or as a shared library (having small EXEs, but requiring MFCxx.DLL, where xx stands for the version number, usually 42).
    If you don't use MFC, then you do not need any runtimes for anything, and your final EXE will not be very big. But you will have to use many many APIs. The good thing about it is, you don't have to manually add many Declares, Types, Constants, etc., you just add one line: #include <windows.h>

    ------------------
    Yonatan
    Teenage Programmer
    E-Mail: [email protected]
    ICQ: 19552879



  7. #7
    New Member
    Join Date
    Sep 1999
    Location
    Boise, ID USA
    Posts
    15

    Post

    I've heard that VB6 can do what you're asking...but I heard that a long time ago way before it ever came out. They said if configured correctly the program could even run in DOS, similiar to the what win.exe does itself.

    Adam

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    chicago (hope)
    Posts
    146

    Post

    thanx all.

    i'll change the normal setup-program and then i'll pack it to an setup program that uses cabs.

    P.S.: SmashingPumpkinsAddict, it's win.com and not .exe .....

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