Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
sadel
Posts:
2
Registered:
11/8/09
|
|
Matlab C++ Interface
Posted:
Nov 8, 2009 1:57 PM
|
|
Hi all! I use this version of Microsoft Visual C++ Express Edition Microsoft Visual Studio 2005 Version 8.0.50727.867 Microsoft .NET Framework Version 2.0.50727 SP2 Installed Edition: VC Express I use this version of Matlab: MATLAB Version 7.8.0.347 (R2009a) and i use this operating System: Microsoft Windows Vista Version 6.0 (Build 6001: Service Pack 1) Home premium
I am trying to compile 'engwindemo.cpp' example but i take this error message:
1>Compiling... 1>win.cpp 1>.\win.cpp(39) : error C2664: 'MessageBox' : cannot convert parameter 2 from 'LPSTR' to 'LPCTSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\win.cpp(104) : error C2664: 'MessageBox' : cannot convert parameter 2 from 'LPSTR' to 'LPCTSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\win.cpp(113) : error C2664: 'MessageBox' : cannot convert parameter 2 from 'LPSTR' to 'LPCTSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\win.cpp(122) : error C2664: 'MessageBox' : cannot convert parameter 2 from 'LPSTR' to 'LPCTSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Can anyone help me?
Thank you in advance!
|
|
|
|