hi...I got solution after initializing stInfo..Thank u soooooooooooooooooooo much.....Thanks for ur helping heart...
Could u plzzzzzzzz help me to solve another one problem...
i have one dll created by using C#.Net...I refered that dll and i could access all the C# methods inside my VC++ applications..
this is the method which i have written in C# (I compiled this method to dll)
ReturnValue(string key,string value)
{
.......
.......
}
i have a vc++ code like
CString getValue=ReturnValue("RegNo","Dept");
then i could get the value...
But if i give like :
CString value="RegNo";
CString key="Dept";
and if i pass the parameter like:
CString getValue=ReturnValue(value,key); i am getting the following error...
Error 1 error C2664 cannot convert parameter 1 from 'CString' to 'System::String ^'