Best method for editing resource files?

I opened a sample resource file (WDF) via MS Visual C++ 5.0 and found that it added alot of extra information. The result was that I could not rebuild the driver (errors).

What is the best tool/method for editing these files? Is MS Visual C++ to be avoided? I did notice that MS Visual C++ appears to be doing a lot of interpretation of file compared to a simple editor.

Thanks…

It’s been a long, long time since I’ve seen VC 5.0; I don’t know if that
is the cause of the problem you are having are not, but it wouldn’t be
the strangest thing. In either case, personally I think the easiest
thing is just to use a simple text editor. I use SlickEdit, but
whatever you like - vs (as a text editor, notepad, ultraedit, et. c.).
Particularly for drivers, resource files are not usually very
complicated.

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@aeshen.com
Sent: Wednesday, August 29, 2007 19:51
To: Windows System Software Devs Interest List
Subject: [ntdev] Best method for editing resource files?

I opened a sample resource file (WDF) via MS Visual C++ 5.0 and found
that it added alot of extra information. The result was that I could
not rebuild the driver (errors).

What is the best tool/method for editing these files? Is MS Visual C++
to be avoided? I did notice that MS Visual C++ appears to be doing a
lot of interpretation of file compared to a simple editor.

Thanks…


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

How about notepad? What kind of RC editing are you doing? Is it that
complex that you need VS?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@aeshen.com
Sent: Wednesday, August 29, 2007 4:51 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Best method for editing resource files?

I opened a sample resource file (WDF) via MS Visual C++ 5.0 and found
that it added alot of extra information. The result was that I could
not rebuild the driver (errors).

What is the best tool/method for editing these files? Is MS Visual C++
to be avoided? I did notice that MS Visual C++ appears to be doing a
lot of interpretation of file compared to a simple editor.

Thanks…


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Martin O’Brien wrote:

It’s been a long, long time since I’ve seen VC 5.0; I don’t know if that
is the cause of the problem you are having are not, but it wouldn’t be
the strangest thing.

It is likely that he actually meant VC++ 2005. It is a common (although
confusing and misleading) abbreviation. I don’t think the resource
editor in VC 5.0 understood version resources at all.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

I use IDE’s resource editor only to do the sketches of the dialog boxes,
since the fine-grained layout of the dialogs is better to be done via text
editor, by editing coordinates manually.

Visual tools are just plain bad paradigm for such fine-tuning.

As about any resources but dialogs - .RC file is edited manually.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntdev…
> I opened a sample resource file (WDF) via MS Visual C++ 5.0 and found that it
added alot of extra information. The result was that I could not rebuild the
driver (errors).
>
> What is the best tool/method for editing these files? Is MS Visual C++ to be
avoided? I did notice that MS Visual C++ appears to be doing a lot of
interpretation of file compared to a simple editor.
>
> Thanks…
>

Maxim S. Shatskih wrote:

I use IDE’s resource editor only to do the sketches of the dialog boxes,
since the fine-grained layout of the dialogs is better to be done via text
editor, by editing coordinates manually.

Visual tools are just plain bad paradigm for such fine-tuning.

It may be that you just haven’t used the right tools. The resource
editor in Borland’s Delphi was very good at this; it included a set of
good tools for insuring proper alignment and spacing.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.