Solved

Visual-C to C-Builder progect converting.

Posted on 1998-05-26
6
342 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP not converting to JSON format. 11 114
Parsing XML instructions in Java/any other language.... 3 116
convert char array to number in c 5 86
No module found pypyodbc, 3 33
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…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

829 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