Thanks for the reply. I am using GetPrivateProfileString():
DWORD GetPrivateProfileString( LPCTSTR lpAppName, LPCTSTR lpKeyName,
LPCTSTR lpDefault, LPTSTR lpReturnedString, DWORD nSize, LPCTSTR
lpFileName);While my program seems to be working, I am not sure I am using
the correct types, nor the most efficient method to get the lpReturnedString
into a System.String.Thanks for any suggestions on how to prototype
GetPrivateProfileString() for the [DLLImport ...].
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.