How to copy a dialog resource from one project to another in Visual Studio 6.0 or Embedded VC ++ (eVC)?

I have two branches of code. 1 has a dialog box that doesn’t do anything else, but because of the policy, the dialog box has not been moved to the newest branch. Now they want this in ...

So, you can copy the dialog box from one project to another. There the export and import function appears, but it is inactive.

+3
source share
4 answers

.RC files are simple text files. You can simply copy / paste DIALOG text from one .RC file to another. Be sure to also copy the corresponding RESOURCE.H entries.

Alternatively, you can open both .RC files, and then simply drag the dialog from one to the other.

+5

Visual Studio 2010 - 2013:

-, /.

, RC . " CTRL .rc. , IDD_DIALOG1 Source1.rc Source2.rc."

Microsoft -

+3

Visual Studio 2010. .RC , . * ID_etc *. *, , , .

0

- , . :

  1. Open both solutions in separate windows.
  2. Add new empty dialog -Add Resources-> add-> newDialog
  3. Open both dialogs Open binary data.
  4. Copy binary data from the source solution dialog to the destination dialog
0
source

Source: https://habr.com/ru/post/1699361/


All Articles