Is it possible to save registry values ?

  • If i change for example the registry values for IPAddress and Subnetmask from my software, those values are not stored after reset. I know that i can use ndcucfg.exe and reg save to save values but how can i do reg save from my own program ?

  • It's no problem to do this from your software. Simply call

    Code
    1. RegFlushKey( HKEY_LOCAL_MACHINE )

    .
    If you are using NetDCU8 and you want to save values in HKEY_CURRENT_USER then call

    Code
    1. RegFlushKey( HKEY_CURRENT_USER )

    .