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.
Any ideas?
Any ideas?