Solved

Visual-C to C-Builder progect converting.

Posted on 1998-05-26
6
335 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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
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 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…
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.

760 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

20 Experts available now in Live!

Get 1:1 Help Now