Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Matlab C++ Interface
Replies: 1   Last Post: Nov 9, 2009 5:30 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
sadel

Posts: 2
Registered: 11/8/09
Matlab C++ Interface
Posted: Nov 8, 2009 1:57 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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!


Date Subject Author
11/8/09
Read Matlab C++ Interface
sadel
11/9/09
Read Re: Matlab C++ Interface
sadel

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2009. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Goodwin College of Professional Studies.