Menu

Win32 text file Resouces

2003-01-22
2012-09-26
  • Curtis Sutter

    Curtis Sutter - 2003-01-22

    I am looking for information on how to use (create/read) a text file resource.  I have tried searching this forum, and our friend google, but to no avail.  This information would be a great benifit to me because then I can include the levels.txt file into my .exe and not have to wory about it being changed.  The closest thing I can find has to do with strings, but this file is 5 pages.  It would be more trouble than it is worth for me to make it into strings.
    Thank-you.

    Curtis

     
    • Nobody/Anonymous

      Hey man,

      This is typical code that I use for all the about boxes in most Vertigo applications. Its all in Vertigo syntax, so it should make sense to you =)

      Kip

      http://www.zero47.com/code/AboutDialogProc.html

       
    • Curtis Sutter

      Curtis Sutter - 2003-01-22

      Maybe, but I'm trying to put it into BGI.  Not a API display box.  I have got it to work though, using your favourite book, and creating a structure.  The prog now runs fine.  Converted one of the old games into a Level file converter.  Loads of fun.  Total file size with 30 levels, and 18 .bmp graphics 127kb gcc 2.95 -s -O
      Thanks for the try though Kip.  If I didn't have this awesome book, I would have been lost.

      Curtis

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.