Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Include <some> MFC classes into my Prog, e.g. "CString"

Status
Not open for further replies.

finnmike

Programmer
Oct 17, 2001
50
DE
Hello guys (=girlsandboys),
I am merging a program from VC++5 to BCB5, and found MFC-classes like CString and CArchive, which are not alike to be found in BCB5.

To go around Cstring I tried AnsiString, which is quite complicated for the "CString.SpanInclude"-methods.
In order not necessarily needing to rewrite all 400 lines I would like to include this lass into my Program, BUT I STILL NEED a standalone program. Is that possible?

About "CArchive" can I serialize data within BCB, e.g. to the dynamic Memory or even a static memory?

Thank You in advance!
Michael


 
I think there is an install option in BCB for support for mfc-classes such as CArchive... Then you can probably use the old code right away. /Fredrik Eriksson
 
I just have something in the loads of includes the normal installation offers.
It's a file called "borland.h" and just implements all MFC classes as __import ...

but if it really works is my topic now.

so long guys
Michael

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top