Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Restoring afxwin.h

8 views
Skip to first unread message

linearred

unread,
Aug 19, 2008, 10:43:07 AM8/19/08
to
Hey folks,

It appears that I may have inadvertantly changed my Visual Studio 2008
VC\atlmfc\afxwin.h file (not SP1). Is there a way to locate and restore the
original from the installation DVD without going through each cab
individually, or is it available on MSDN somewhere? (It appears that
Search won't look in the cab's on the DVD. Just hopping around I located an
..._afxwin_h... in one of the cabs, but it had a number of differences from
my copy so I assume it went with some other version of the libs.)

As an aside, does anyone know what the SP1 install does - if anything - when
it encounters a later-than-original file date in the header directories?

Thanks.

Tom Serface

unread,
Aug 19, 2008, 11:29:07 AM8/19/08
to
I don't think this file is available (with any certainty) anywhere besides
the installation. I've only done full installs so I don't know what cab
file it would be in, but to be safe you'd have to do a repair or reinstall.
Could be someone else knows a safe place to get the correct version of this
file so my answering the thread should bump it again :o)

Tom

"linearred" <nos...@nospam.nospam> wrote in message
news:OlXIlngA...@TK2MSFTNGP02.phx.gbl...

Alex Blekhman

unread,
Aug 19, 2008, 12:01:31 PM8/19/08
to
"linearred" wrote:
> It appears that I may have inadvertantly changed my Visual
> Studio 2008 VC\atlmfc\afxwin.h file (not SP1). Is there a way
> to locate and restore the original from the installation DVD
> without going through each cab individually, or is it available
> on MSDN somewhere?

I don't know the answer to your question. However, I have good
advice for the future. I have been in this situation a couple of
times myself. So now I always set read-only attribute for all VC++
source files. It avoids undetected changes of VC++ files when I
occasionally press wrong key during debug session.

HTH
Alex


Tom Serface

unread,
Aug 20, 2008, 10:10:00 AM8/20/08
to
Hey, that's a great idea. I plan to steal it :o)

"Alex Blekhman" <tkfx....@yahoo.com> wrote in message
news:OaF3ZThA...@TK2MSFTNGP04.phx.gbl...

0 new messages