I'm looking into moving from Visual Studio 6 to Visual Studio .NET 2005. We have a very large MFC application that we would like to build and run using .NET 2005. At this point we are not interested in using managed code just converting.
We use strncpy to build a record to insert into a DB table. Because of this I'm getting a lot of warnings:
warning C4996: 'strncpy' was declared deprecated
I don't want to turn off the warning; it may be gone in the release version of .NET 2005 or future releases. I'd like to fix it now.
Is there a replacement to strncpy in .NET?
Thanks for the help,