If you already know this you can stop reading, for others

In resedit you can use

#include
#include
#include
#include
%RESOURCES%

and the important one, in resedit preferences
under 'code generation / files' in field Header file name: put in %barefilename%.h

this way the name of the current .rc file you have opened in resedit, will be included in the above list of includes, so no need to manually specify the .h filename, ever.
Works with both new and old.rc files

/hex





----- Ursprungligt Meddelande -----
Från: Mark Miesfeld <miesfeld@gmail.com>
Till: Open Object Rexx Users <oorexx-users@lists.sourceforge.net>
Kopia:
Datum: lördag, 16 februari 2013 03:17
Ämne: Re: [Oorexx-users] Changine the icon on the program .lnk
On Fri, Feb 15, 2013 at 6:05 PM, Mark Miesfeld <miesfeld@gmail.com> wrote:
On Fri, Feb 15, 2013 at 5:41 PM, Art Heimsoth <artstore@artheimsoth.com> wrote:
Thanks for all the help and suggestions, but I have run into a road block
for right now. I downloaded and installed the SDK 7.1 level on my XP


The Resedit problem can be fixed by making sure the right includes are done. I'll have to look up what is needed.


In your resource file do you have these includes at the top?

#include <windows.h>
#include <winuser.h>
#include <commctrl.h>
#include "whatever your .h file is"

When I have DTS_SHORTDATECENTURYFORMAT in my .rc file, resedit loads it okay. But in the properties for the date time picker, resedit always shows long format. Still, if I change it to short date century and save, it does write out DTS_SHORTDATECENTURYFORMAT to the .rc file

This worked for me:

resedit -convert userStringDTP.rc userStringDTP.dll

userStringDTP.rc has the .flag in it.

I'd try VC++ 2010, it should work.

--
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
<windows.h> <commctrl.h> <winuser.h> "%RESOURCE_HEADER%"