CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2000
    Posts
    10

    Standalone programs

    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?

  2. #2
    Join Date
    Jul 2005
    Location
    Germany
    Posts
    1,194

    Re: Standalone programs

    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.
    Please don't forget to rate users who helped you!

  3. #3
    Join Date
    Mar 2006
    Posts
    1

    Re: Standalone programs

    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

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

Featured