Backup - Registry & File :: MFC

This is a discussion on Backup - Registry & File :: MFC within the Windows Programming forums, part of the Platform Specific Boards category; Hi. I am in the process of implementing a feature for a program that involves saving and restoring expendable data. ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348

    Backup - Registry & File :: MFC

    Hi.

    I am in the process of implementing a feature for a program that involves saving and restoring expendable data. For example, let say the program organizes a list of names. I would like to save the names when the program closes and load the names when the program starts.

    What is the maximum data size that a program can save and restore via registry?

    I find saving and restoring data via registry is quicker and easier than saving the data to a file and reading the data back into memory.

    Thanks,
    Kuphryn

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    That could lead to some problems with windows. I know the registry has a default size and when it becomes too small, it asks the user to increase the size. Hence, you continually adding to it will make the user have to increase it. That is something I would not want the inexperienced user to do.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Thanks.

    I will implement a separate database file and not use the registry. I think going with a file is safer and more flexible in the long run.

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  2. File Writing Problem
    By polskash in forum C Programming
    Replies: 3
    Last Post: 02-13-2009, 09:47 AM
  3. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  4. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 01:53 AM
  5. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21