Solved

Visual-C to C-Builder progect converting.

Posted on 1998-05-26
6
344 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Should CArray be used for a list of pointers in C++? 19 128
Unresolved External Symbols 3 130
Problem with SqlConnection 4 185
Can Live bindings change TGrid Cell Colour ? 1 36
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
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 goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

696 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