Click to See Complete Forum and Search --> : Standalone programs


gilad_b
March 25th, 2006, 02:43 AM
This may not relate to graphics programming only, but anyhow...

I would like to write a standalone program - standalone means it should be able to run on any windows system without any installation (e.g - be installed on a USB key and operaed on any PC to which the key is plugged). It may be allowed to use external files, as long as there are not too many of these and they are part of the program intself (following the above example - they are on the USB, nothing is installed into the system directory or registry).
The program will probably have quite extensive GUI and graphic functionalities (hence this forum).
Currently I program using VB6, which I do not think will do the job (am I right?).
What should I use? C++ using windows API? C++ using MFC? Any other programing language/development system that will provide friendly development environment (such as VB) but will yet meet the requirements?

philkr
March 25th, 2006, 06:47 AM
I think the only problem is the C-Runtime-Library. Hopefully there is a option in the project settings to disable it. Except this, a WinAPI project only has to use DLLs which are always installed with windows. And in an MFC project you can choose to statically link with the MFC library, though the executable will be much bigger that way.

dkd903
March 25th, 2006, 11:20 AM
u can use the registerbgigriver() function,. and then make a new project including all the used files in ur prog., the arguement 2 ur func, will be the driver of graphics type for eg:

driver=DETECT;
registerbgigriver(driverSVGA); // in case ur driver is SVGA