-
August 22nd, 2007, 01:38 PM
#1
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") );
}
-
August 22nd, 2007, 01:55 PM
#2
Re: Runtime error: CString ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|