FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Edit resources with VS2012
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Edit resources with VS2012
Posted: Sun Jul 07, 2013 01:54 PM
good afternoon
These are my first tests with the Resource Editor for VS 2012
We could go sharing our experiences, since it seems very interesting
The moment I made two tests: one with a. RC and other editing an existing DLL.
If someone knows a better methodology, please can you comment on it?

In spanish:
http://forums.fivetechsupport.com/viewtopic.php?f=6&t=26743#p148032


1. - Add. RC

- Create a Win32 project -> DLL
- Add to Resources un. Former RC
- The bitmaps, cursors and icons in hexadecimal give an error, I have had to remove
- I have not thoroughly tested if putting the file path works, but I think so.
- DS_MODALFRAME - Error -> # include "winuser.h" (Borland) - solution
- The dialogues are read perfectly even controls "Custom"
- Modify the dialogues
- Compile the project and make the. Resulting DLL.
   warnings:
   1> C: \ Program Files (x86) \ Microsoft Visual Studio 11.0 \ VC \ include \ string.h (57): warning RC4011: identifier truncated to '_CRT_SECURE_CPP_OVERLOAD_STANDA'
   1>
   1> C: \ Program Files (x86) \ Microsoft Visual Studio 11.0 \ VC \ include \ string.h (79): warning RC4011: identifier truncated to '_CRT_SECURE_CPP_OVERLOAD_SECURE'
   And some duplicate ID controls of different types (is a problem of mine)

- I've opened with Pelles C perfectly.
- I have created the Manifest (in English)

   Problems to be solved:
- Eye: burn the project to modify the. RC (Warn that the initial RC has not been set with VS).
- If you record fails to recompile language and other errors later (investigating).

Two. - Edit. DLLs

- Add a DLL with resources to the project.
- I have opened a resource DLL and can be edited perfectly
- Modify all the resources and record the DLL

   Questions:
- Can I add this DLL to the initial project DLL? Not as
- Compile the project without errors but does not include the resources of the DLL in the project itself.

regards
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces

Continue the discussion