Board index » Visual Studio » Where is the Resource File?

Where is the Resource File?

Visual Studio364
Hi,



I am building an application with a Resource file. When I used the VB6 P&D

utility to package it, I forgot to add this resource file to the file list.



Then, when I installed it in my PC and ran it, I expected some error will

happen because of my mistake. But, everything is fine, the content of my

resource file is there!



I try to find this resource file in the $(AppPath) or $(WinSysPath), but

Nothing.



I wonder where the resource file is installed.



Has it become part of the .exe file after complied?



If Yes, does it mean that when the .exe loaded, all the resource content

will reside in memory, not in disk? If it is true, I think I shouldn't put

some rarely-used bulk data in the resource file (,instead, in a separate disk

file). Right?



Thanks in advance for any explanation.





Wyne


-
 

Re:Where is the Resource File?

Resource files are generally built right into the EXE (or DLL/OCX) at compile time.

The closest you'd ever come to shipping them standalone would be as a resource-only

DLL, most likely.

--

[Microsoft Basic: 1976-2001, RIP]





Wyne wrote:

Quote
Hi,



I am building an application with a Resource file. When I used the

VB6 P&D utility to package it, I forgot to add this resource file to

the file list.



Then, when I installed it in my PC and ran it, I expected some error

will happen because of my mistake. But, everything is fine, the

content of my resource file is there!



I try to find this resource file in the $(AppPath) or $(WinSysPath),

but Nothing.



I wonder where the resource file is installed.



Has it become part of the .exe file after complied?



If Yes, does it mean that when the .exe loaded, all the resource

content will reside in memory, not in disk? If it is true, I think I

shouldn't put some rarely-used bulk data in the resource file

(,instead, in a separate disk file). Right?



Thanks in advance for any explanation.





Wyne







-

Re:Where is the Resource File?



"Wyne" <Wyne@discussions.microsoft.com>wrote in message



Quote
Has it become part of the .exe file after complied?



Yes.



Quote
If Yes, does it mean that when the .exe loaded, all the resource content

will reside in memory, not in disk?



Yes.



Quote
If it is true, I think I shouldn't put

some rarely-used bulk data in the resource file (,instead, in a separate

disk

file). Right?



Yes.







That was fun.





-

Re:Where is the Resource File?

Jeff Johnson [MVP: VB] wrote:

Quote


That was fun.



Mustabeen! You read the whole post before responding! <g>

--

[Microsoft Basic: 1976-2001, RIP]





-