As Mark say, resedit doesn't know anything about Windows Set Environment.

I believe that the %RESOURCES% is put there by resedit, and I have no clue what 
it does, no harm as I can see.

But the  #include "%RESOURCE_HEADER%" together with %barefilename% makes a 
difference, when you save the .rc file, it will put the name of the .rc file as 
the .h file in the include statement in the .rc file


On win 7/8 
I use these cmd lines to start a cmd prompt for x64/x86 compile/link of 
oodialog 

 C:\Windows\System32\cmd.exe /E:ON /V:ON /T:0E /K "C:\Program Files\Microsoft 
SDKs\Windows\v7.1\Bin\SetEnv.cmd" /release /win7  /x64

for x86 I use (works for Win XP compiles also)
C:\Windows\System32\cmd.exe /E:ON /V:ON /T:0E /K "C:\Program Files\Microsoft 
SDKs\Windows\v7.1\Bin\SetEnv.cmd" /release /win7  /x86

to make a .dll from a .rc file I use one of the above cmd prompts and then 
execute a  version of Marks makedll.rex  to produce a .dll from a .rc script, 
I use makedll.rex  for x86  and makedll64  for x64 (/MACHINE:X64)


/hex





----- Ursprungligt Meddelande -----
Från: Mark Miesfeld <miesf...@gmail.com>
Till: Open Object Rexx Users <oorexx-users@lists.sourceforge.net>
Kopia:
Datum: söndag, 17 februari 2013 19:25
Ämne: Re: [Oorexx-users] Changine the icon on the program .lnk


On Sun, Feb 17, 2013 at 10:12 AM, Art Heimsoth <artst...@artheimsoth.com> wrote:
> Oops something disappered
> should be
>
> #include <windows.h>
> #include <commctrl.h>
> #include <winuser.h>
> #include "%RESOURCE_HEADER%"
> %RESOURCES%


Does the #include %RESOURCE_HEADER% pick up the defines that
are established in the Windows Set Environment?  

No, I think that internally the ResEdit code just uses that as a search and 
replace mechanism. 



What about the
%RESOURCES% variable?


I'm not aware of ResEdit using that, either hex knows something I don't, or 
maybe he didn't intend to include it.


--
Mark Miesfeld

------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to