C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28691
Number of posts: 94711

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Joining two programs Posted by hazamin on 3 Apr 2010 at 11:27 AM
Hi. I have two questions
1) I have two programs written on C++ Builder. I have to join them together in one. What is the best way to do it? Just copy code from one source, to another declaring different namespaces?

2) Trying to solve the problem above, I opened one project, and started adding the files from other project. The form names coincided, TForm1 in first one, and TForm2 in second one. I renamed the files TForm2 to TForm2_s everywhere (including *.dfm file). But while trying to save, I got the message "TForm1 is not properly declared". Why is that?



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.