But it's not so easy as 1,2,3.
i tried to use
LPTSTR szTest = "Hi my namse is...";
String^ strMine="";
strMine = String::Format("{0}",(LPTSTR));
but it does not convert it :-(
Al.
Brian Muth wrote:
"--== Alain ==--" <no****@noemail.comwrote in message
news:%2******************@TK2MSFTNGP02.phx.gbl...
>Hi,
How can i use LPTSTR in VC++.NET application ?
the same question for HINSTANCE, and HANDLE types.
Just use it (them). There is nothing stopping you.
>Should i use a MarshalAs and to which type ?
thanks,
What on earth for? VC++.NET can handle native types just fine.
Brian