Internal C++ DLL with .NET framework form has isues -


i browsing this link , i'm trying display information dll gathers 1 of listboxes (since list view impossible do, reason).

so, when trying like, works

this->listbox1->items->add("text"); 

but, when trying like, fails

std::string text { "text" }; this->listbox1->items->add(text); 

the add function requires system::object , putting string there won't work. no idea how fix this.

is there way fix it, or there better way of displaying .net form c++ dll? won't make external 1 since it'll pain in ass link them.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -