CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2000
    Location
    Tehran - Iran
    Posts
    949

    Runtime error: CString ...

    Hi,

    I've imported an MFC extenstion dll to an vc++ .net app.
    The dll has a simple class and a method that return a CString ..

    when i want the code , i got a runtime error .. "_CrtIsValidHeap ...."

    here is the code :

    Code:
    	private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
    				 CTestClass obj;
    				 CString n = obj.Return( _T("mystr") );
    			 
    			 }

  2. #2
    Join Date
    Oct 2000
    Location
    Tehran - Iran
    Posts
    949

    Re: Runtime error: CString ...

    solved, sorry

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured