|
-
Oct 31st, 1999, 02:52 AM
#1
Thread Starter
Addicted Member
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
-
Oct 31st, 1999, 03:39 AM
#2
Hyperactive Member
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!
-
Oct 31st, 1999, 03:50 AM
#3
Hyperactive Member
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.
-
Oct 31st, 1999, 04:00 AM
#4
Thread Starter
Addicted Member
do i have to write the programm in c/c++ (i don't have c....) or is there another possibility?
-
Nov 1st, 1999, 02:02 AM
#5
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.
-
Nov 1st, 1999, 02:10 AM
#6
Guru
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
-
Nov 1st, 1999, 04:18 AM
#7
New Member
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
-
Nov 1st, 1999, 06:34 PM
#8
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|