How to restore the project file C++ Builder 10.3 - c++builder

Is there an easy way to restore *.cbproj file out of *.cpp, *.h, *.dfm in C++Builder 10.3 if the project file was lost or corrupted.

No, there is no such option. You need to create a whole new project from scratch and add your existing source files to it as needed.

Related

How to debug library in Xcode 5?

I am new to Xcode and Mac world. I usually work in VC++ using Visual Studio. As in Visual Studio, we can attach a process to .lib or .dll code, is there any way to attach process and debug library (.a) code in Xcode?
Regards
One way is to add library XCode project inside the application or use the library source files inside the application. This requires the availability of library source files. Also make sure to use debug mode in XCode.
You can use the Menu option File -> Add Files to option to add files to XCode project.
Create an Workspace (https://developer.apple.com/library/ios/featuredarticles/XcodeConcepts/Concept-Workspace.html) and add the Library-Project and your Project to it (Drag & Drop). After some configurations (Youtube is full of tutorials) you can set breakpoints in the library code.

How can I modify the xCode project automatic which generate by Unity?

I create a Unity project and generate an xCode project . Aways I should and some frameworks or static libs to the xCode project to make it run . So I want make this progress automatic.
I found some tools to modify the xCode project . such as "Mod PBXProj":
https://bitbucket.org/darktable/mod-pbxproj/src
My question is that how can I call the tools(such as "Mod PBXProj") to modify the xCode project after the Unity project generate the xCode project . Or are there any other method to modify the project?
If you will open unity application as a folder, there will be a folder of xCode project, wich unity just copies while build. you can add there any files you whant (or replace), and on every new build, unity you use modified files.

Is there a way to copy launch profiles from one instance of Dart Editor to another?

I download the latest version of Dart Editor each day and have to rebuild my launch profiles. Is there a way I can do this by copying a file?
I usually follow the tip from http://www.dartlang.org/docs/editor/
Copying dart/workspace directory seems to work as well.
Updating without losing preferences
If you already have Dart Editor and want to keep its state, install the new Dart Editor on top of the old one. For example, put the new ZIP file beside the old one, and then use the command-line interface to unzip on top of the old files

Textmate and add existing files

I don't understand why when I add files to my project using add existing files from project try it does not copy the file to my project, it just copies the reference to the file.
In TextMate, a project is nothing more than a collection of references to files you can edit simultaneously. It enables you to have them open in a drawer and as tabs as you will most certainly know already. But a TextMate project is not intended to be a file manager. More information on handling files inside a project can be found at the TextMate manual.
Add the folder to your project drawer on the left then you will be able to drag the files from there into your Rails project.
I was running to the same problem with trying to add existing files to a folder in my project, it would not change the reference.

iOS: How to Backup a Project?

What's the best way to backup a project?
To be more specific: I have a DropBox account and I prefer to have a copy of the project over there.
I assume I should copy all the h+m files.
Can I copy all the xib files? does it make any sense?
Can/Should I copy all the jpg/png/mp3 files that I use for resources?
Is there a proper way to do that, like a "backup project" button where I can select the target and it compresses the project in some smart way?
You need all of those and the project files, etc. Look in the project file to see all files referenced. Check to see if you have everything by making a copy and trying to build from the copy. You'll get complaints if you missed any thing.
The best way to backup a project is source control. There are many options available to get free or very cheap remote source control repositories where you can store a copy (and history) of your source. Checkout http://www.beanstalkapp.com or http://www.github.com for a start.
Best thing is to copy the entire directory where all your project exists. Copy this directory to your dropbox folder. To open the project open yourproject.xcodeproj with xcode.
Although this method is okay for one time thing or when you are the only one working on your project but in the long run you should look at trying to adopt a source control versioning system like GIT. Xcode has wonderful integration with GIT.
Hope this helps...

Resources