What Is a .vrc file, how is is generated and can you remove it using the IDE?

Bill

I am trying to install a commercial component called JamShellBrowser but it will not install.

I have contacted the developer, but meanwhile I'd like to know:

  1. What is a vrc file?
  2. How is it produced?
  3. Can it be controlled or modified with the Delphi XE4 IDE?

I checked the IDE's help but I could not find anything about vrc files and I searched for Delphi vrc and did not find anything that would help me.

The error message is:

Checking project dependencies...

Compiling JamShellDelphiXE4.dproj (Release, Win32)

brcc32 command line for "JamShellDelphiXE4.vrc"

c:\program files (x86)\embarcadero\rad studio\11.0\bin\cgrc.exe -c65001 JamShellDelphiXE4.vrc -foJamShellDelphiXE4.res

[BRCC32 Error] JamShellDelphiXE4.vrc(2): file not found: JamShellDelphiXE2_Icon.ico

Failed

Elapsed time: 00:00:00.1

I searched the components folders for an ico file, but there is none... thus the message, but even if I remove the line MAINICON ICON "JamShellDelphiXE2_Icon.ico" from the vrc file or even delete the vrc file it is automatically generated when I try to install.

I moved from Delphi 2010 to XE4 a few months ago and noticed the apparently new vrc file but I do not know what it is or how to handle these files.

Warren P

I believe this is a built in IDE behaviour of Delphi XE4 and XE5, possibly caused by an upgrade bug. Generation of VRC files is something that you can not disable except by removing the tags in the dproj file that cause it to be generated.

If there was a way to fix it or remove it, it might involve comparing your dproj file with another dproj file and looking for something that was appropriate only to a .dpr+.dproj Project that somehow got into your .dpk+.dproj project, like <Icon_MainIcon>.

It appears to be an intermediate file that is auto-generated when a .dpr+.dproj project has some version information which must be written out of the .dproj file, and into a temporary location and then compiled and linked into your application as a version info resource. However, I have also seen it get generated for a .dpk+.dproj project, and this mystifies me as well.

It also seems to contain a resource for your default application icon and version information, and packages do not normally have a versioninfo or application icon resource.

What I find to be possibly a BUG is that there is no UI in the Delphi IDE to let you set the Application Icon of a Package. Yet, I sometimes get a .VRC and an .ICO file. But I am not aware of a fix, other than to report the issue to Embarcadero Quality Central.

With a .dproj project, a .VRC intermediate file makes at least some sense. I see the following content: Version Info, Application Icon, and VCL Styles (ie AquaLightSlate.vsf) resource linkage.

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

How to remove junk characters from the file generated by script command in linux

来自分类Dev

How can you change the parameterless constructor of an Entity Framework 6 database-first generated class?

来自分类Dev

什么是.vrc文件,如何生成,您可以使用IDE删除它吗?

来自分类Dev

什么是.vrc文件,如何生成,您可以使用IDE删除它吗?

来自分类Dev

Can you link to an HTML file?

来自分类Dev

How do you change background color in the settings of JetBrain's IDE?

来自分类Dev

How to attach pictures using Selenium IDE?

来自分类Dev

Using Gradle, how can I ensure that a file exists at a certain location?

来自分类Dev

How can I work with a .csv file using Java Spring Resttample?

来自分类Dev

Can't remove file in a folder with remove() path is ok

来自分类Dev

How to start search from the caret position instead of the beginning of the file in IDE?

来自分类Dev

How can I use sed to make thousands of substitutions in a file using a reference file?

来自分类Dev

How To Do A Page Break in a PDF Generated Using Pechkin

来自分类Dev

How to remove script initialisation from javaScript file

来自分类Dev

How to remove the first instance of something in a file with awk?

来自分类Dev

How can, or can you access a group of controls or elements with code behind?

来自分类Dev

What do you call this and how to read this? (Parsing for Scheme)

来自分类Dev

How can I read float data from a binary file using R

来自分类Dev

How to remove/eliminate outliers using IQR method

来自分类Dev

How do you get the file size of an image on the web page with Javascript?

来自分类Dev

How can you override an existing Gradle plugin from a local repository?

来自分类Dev

how can you get a content of a folder with a stream in java?

来自分类Dev

On Google Spreadsheet how can you query 'GoogleFinance' for a past exchange rate?

来自分类Dev

What program do you use to edit file associations in Vista and Windows 7?

来自分类Dev

What happens if you delete a file while it was moving from one filesystem(ext4) to another(NTFS)?

来自分类Dev

How can I tell if an UUID generated by QUuid::createUuid() is based on entrophy of cryptographic quality?

来自分类Dev

How do you JOIN tables to a view using a Vertica DB?

来自分类Dev

How do you access private variables using public functions?

来自分类Dev

How do you count misspelled fields using a SQL query?

Related 相关文章

  1. 1

    How to remove junk characters from the file generated by script command in linux

  2. 2

    How can you change the parameterless constructor of an Entity Framework 6 database-first generated class?

  3. 3

    什么是.vrc文件,如何生成,您可以使用IDE删除它吗?

  4. 4

    什么是.vrc文件,如何生成,您可以使用IDE删除它吗?

  5. 5

    Can you link to an HTML file?

  6. 6

    How do you change background color in the settings of JetBrain's IDE?

  7. 7

    How to attach pictures using Selenium IDE?

  8. 8

    Using Gradle, how can I ensure that a file exists at a certain location?

  9. 9

    How can I work with a .csv file using Java Spring Resttample?

  10. 10

    Can't remove file in a folder with remove() path is ok

  11. 11

    How to start search from the caret position instead of the beginning of the file in IDE?

  12. 12

    How can I use sed to make thousands of substitutions in a file using a reference file?

  13. 13

    How To Do A Page Break in a PDF Generated Using Pechkin

  14. 14

    How to remove script initialisation from javaScript file

  15. 15

    How to remove the first instance of something in a file with awk?

  16. 16

    How can, or can you access a group of controls or elements with code behind?

  17. 17

    What do you call this and how to read this? (Parsing for Scheme)

  18. 18

    How can I read float data from a binary file using R

  19. 19

    How to remove/eliminate outliers using IQR method

  20. 20

    How do you get the file size of an image on the web page with Javascript?

  21. 21

    How can you override an existing Gradle plugin from a local repository?

  22. 22

    how can you get a content of a folder with a stream in java?

  23. 23

    On Google Spreadsheet how can you query 'GoogleFinance' for a past exchange rate?

  24. 24

    What program do you use to edit file associations in Vista and Windows 7?

  25. 25

    What happens if you delete a file while it was moving from one filesystem(ext4) to another(NTFS)?

  26. 26

    How can I tell if an UUID generated by QUuid::createUuid() is based on entrophy of cryptographic quality?

  27. 27

    How do you JOIN tables to a view using a Vertica DB?

  28. 28

    How do you access private variables using public functions?

  29. 29

    How do you count misspelled fields using a SQL query?

热门标签

归档