Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

C++/CLR Listview selected item "Ini file"

$
0
0
Hi, i wish if everyone is having a good day My question is about I am reading the selected text from the listview String ^ItemSelected = listView1->SelectedItems[0]->Text; But i wanted to write the result to an ini file but since the Writeprivateprofilesection needs an parameter of type LPCWSTR i cannot pass ItemSelected to it WritePrivateProfileSection(ItemSelected,L"Key = Value", L".//Text.txt");

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>