Error C2664 Please Help...
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Error C2664 Please Help...

  1. #1
    Join Date
    Oct 2010
    Posts
    21

    Unhappy Error C2664 Please Help...

    Hi All,
    I'm newbies in Visual C++ 2008 and having an error during build my code. I was unable to fix it and looking expert to help me to fix this error. My code as below:

    private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
    const char *stop = "prog 15";
    stop = "Changed";
    this->label5->Text=stop;

    Thanks.

  2. #2
    Join Date
    Jul 2002
    Posts
    2,512

    Re: Error C2664 Please Help...

    this->label5 = L"Changed";

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center