Re: .net to MFC conversion
^ is a pointer (*). gcnew manages all you memory allocations, so you have to do them yourself (new/delete/new[]/delete[]). The rest is a lot of the same. Simply google for the functions you have in .Net and look for the equivalent function in MFC (or ask us ;) )
Re: .net to MFC conversion
Re: .net to MFC conversion
Quote:
Originally Posted by
Alin
Hey Alin, that was a great help. I've been running through compiling line by line and its been going great. Until I got to this line.
strExtension = FileInformation.cFileName;
This is the error I get:
error C2679: binary '=' : no operator found which takes a right-hand operand of type 'WCHAR [260]' (or there is no acceptable conversion)
c:\program files\microsoft visual studio 9.0\vc\include\xstring(914): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
Is there a conversion? A way around this?