[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Visual-C to C-Builder progect converting.

Posted on 1998-05-26
6
Medium Priority
?
369 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 120 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
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 viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

831 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