|
-
Oct 18th, 2001, 09:19 PM
#1
Thread Starter
Hyperactive Member
Programs which do not need to be installed
In the past, I came across some simple windows games which do not need to be installed. They are quite small in size also.
I wrote a simple program in VC and took it to a computer without VC and it prompt me that it cannot find some dll.
So my question is how to write programs which do not need to be installed to execute.
-
Oct 18th, 2001, 09:34 PM
#2
Member
I'm not sure but it may be making a reference to the (supposedly evil) MFC; if you write your project without having such a dependency then they would be true standalone EXEs.
-
Oct 18th, 2001, 11:11 PM
#3
Actually it has to do with how you link a file. If you link ANY C++
code statically, it will make a small (or really huge) exe that has all of the link libraries buried inside. It needs no external references to be resolved at runtime. Some code won't link statically, then you are out of luck- you have to use installation software.
'Course - no code ever fits on a single floppy. Maybe on 8-10 of 'em. Murphy's Law of Floppy Distribution?
-
Oct 18th, 2001, 11:26 PM
#4
Thread Starter
Hyperactive Member
Originally posted by jim mcnamara
Murphy's Law of Floppy Distribution?
Or Jim's Law?
-
Oct 19th, 2001, 03:12 AM
#5
Addicted Member
Hehe......sounds more like Jim's law to me........
"The Standard Floppy Distribution law´", produced by Jim Mcnamara.......
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
|