FromBase64String

I'm sending string from C# to VC++ in the form of "Base64String"; how can i convert this string into general string. Make sure this string contains Bytes of data.

If it is a C# i will do the following code to get my string, what should i do for VC++. Insted of writting into file is there any possibilities to assing to string variable.

byte[] result = Convert.FromBase64String(str);
FileStream objStream = new FileStream ("D:\\SS.txt",FileMode.Open,FileAccess.Read );
BinaryWriter objWriter = new BinaryWriter (objStream);
objWriter.Write (result);
[589 byte] By [sivaprakash.shanmugam] at [2007-11-19 22:03:55]