Solved

Visual-C to C-Builder progect converting.

Posted on 1998-05-26
6
338 Views
Last Modified: 2013-11-18
Hello there.

can I convert Visual-C's project to Borland-C-Builder 3 project ?
0
Comment
Question by:semuel
  • 4
  • 2
6 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 30 total points
ID: 1164714
answer coming.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1164715
You cannot convert the project files themselves.  But you can convert the source code and resource files.  That is, the .cpp, .h, .res files.  So you will need to create a new project in builder and add the files to it.

I have experience in used both VC and builder 3.  My application is designed so that it can compile under both.  (The same source code files are in two projects, a VC project and a Builder project)  So if you have specific questions about making the switch, feel free to ask here.
0
 
LVL 1

Author Comment

by:semuel
ID: 1164716
I have tried to convert PhotoShop Plugin example, that is writen for VisualC, to BCB3.
the example's makefile is very comlicated. for example, it takes resource files in Mac format, and convert them to Windows resources. it creates tones of tempurary files, and so on... I even found a macro there that doesn't exist on the hole project... very wierd.

can I send the makefile to you ?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 22

Expert Comment

by:nietod
ID: 1164717
Not a chance!  I don't read makefiles!  It is ussually best to avoind dirrectly dealing with make files these days.  (They have gotten out of hand and are usually longer than, and certainly mor complex than the programs they create.)   I think your best bet is to try to create the project from scratch in builder and let builder create the make file.  (This assumes that the make file isn't doing really weird things that you can't achieve when setting up the builder project.)  

There are two questions to ask yourself to start with.  What sort of target do you want to produce?  A dll.  and EXE etc.  I would assume this is a DLL (That's how I do my plug-ins)?  This determines the type of project to create. The next questiuon is   What files do you have to start with?  .cpp file(s) .lib file(s) etc.  These determine what files go in the project.  

If necessary, I would be willing to look at the code files.  (There are differences between the code file uses for VC and builder DLLs, for example), but I would be no help looking at the make file.  However, if necessary, I'm sure there is some one out there crazy enough to be able to read make files.
0
 
LVL 1

Author Comment

by:semuel
ID: 1164718
the makefile does wierd thing, but I menegd to handle most of them. the problem is that the plugin doesn't work, (see my plugin question, in this folder) so i've started thinking what i did wrong, and looking for automated-tools.

The target is DLL, and I have C files.

the code himself is nothing. just a dummy that all it does is to return noErr.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1164719
I probably can't help, but.... why don't you send me the C source code files.  I can look for things that are VC vs Builder problems.  If the problems are in the wierd things in the make file, then I'm not going to be of much help.

You can send the source to nietod@theshop.net.

just out of curriousity, and the remote possibility I might be able to help (or some other expert might read it)  What were some of the weird things that the makefile tried to do, and do you have any idea what it might do that you couldn't convert?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now