I am using the kernel function to read dot-ini sections and section values. The function ReadPrivateProfileSection returns a 'stringbuilder' value which is a series of strings representing the key=value items of the section as strings (null terminated) and terminated with a final null. I want to get this stringbuilder result into a C# string but casting fails.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.