Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to create an .exe from my own program

How to create an .exe from my own program

Scheduled Pinned Locked Moved C / C++ / MFC
hardwaretutoriallearning
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Atom
    wrote on last edited by
    #1

    Hi, I need to create standalone .exe files from my own program. An .exe will simply play back a small video file when opened. This .exe needs to be independant and can't rely on the video file being seperate, it must somehow be embedded in the .exe (as a resource maybe). Many Thanks.

    J 1 Reply Last reply
    0
    • A Atom

      Hi, I need to create standalone .exe files from my own program. An .exe will simply play back a small video file when opened. This .exe needs to be independant and can't rely on the video file being seperate, it must somehow be embedded in the .exe (as a resource maybe). Many Thanks.

      J Offline
      J Offline
      John R Shaw
      wrote on last edited by
      #2

      I would need to experiment, but you should be able to include it as an external binary source file in your resource file. If you do that then it becomes part of the program and you can access it through a resource ID. In VC 6.0 it would be as simple as selecting include external source file from a drop down menu, in .NET I have no idea. INTP "Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups