How to convert String^ to const char* in C++/CX RRS feed

  • Question

  • Hi all, Please can anyone help me to convert String^ to const char*.

    I have to pass image stream to my service from my Device MediaLibrary. I have read the picture stream and i have converted to string.

    I have created a method in Windows Phone Runtime Component. which takes String^ parameter[image data].

    I have method which takes const char* for image data. So i want to convert this parameter image string data to const char*. 

    Please give any suggestion to transfer image data in const char*. i will try all your ideas. Please i was tried & searched, but i couldn't find any solution or even suggestions. 

    Thanks in advance.

    Pallam Madhukar Windows Phone Developer

    Wednesday, March 5, 2014 2:54 PM

All replies