Re: UniCode Resouce (RC) file crashes WinXP Driver build.
- From: r_konjeti@xxxxxxxxxxxx
- Date: 10 Nov 2005 15:04:24 -0800
I have a strange problem with my rc file.
fatal error compiling Myapi.rc RC1106: invalid option: -3
I got a work around for this problem.
I am compiling resource file(Myapi.rc to Myapi.res) separately using
rc.exe. Since DDK also uses same tool, it should not cause any issue
here(?).
After generating .res file separately, copy it to
\Myproject\dll\MyAllapi\objchk_w2K_x86. Then build the workspace. It
works fine.
I dont understand when I try to build it from "sources" it wont
compile. I have to compile it separately, generate .res and copy it to
intermediate files directory.
Any comments or hints ? I am using perforce source control system. I am
not sure if this has anything to do.
I am worried now if I cant trust my source control fully 100%
Thanks,
Raj
S. Mark Courter wrote:
> Maxim,
> You are Exactly Right!!
> I did further investigation and VSS 6 altered the original Unicode file.
> It does not handle end of line /cr /lf correctly.
>
> In Unicode end of lines are: 0x000D 0x000A
> In VSS it changes to: 0x0D0A00 0x0D0A00
>
> I changed this in my RC file and it compiled in WinXP correctly.
> It worked in Win2000 because I had not done a get from VSS but was
> using the original file.
>
> Thanks again!
> Mark C.
>
>
> "Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx> wrote in message
> news:O1RomQX5FHA.1000@xxxxxxxxxxxxxxxxxxxxxxx
> > Note: not all source control systems can keep Unicode text files.
> > SourceOffSite cannot, for instance (and I believe SourceSafe too, at least
> the
> > older version).
> >
> > --
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > maxim@xxxxxxxxxxxxxxxx
> > http://www.storagecraft.com
> >
> > "S. Mark Courter" <smcourter@xxxxxxxxxxx> wrote in message
> > news:OHmYY$V5FHA.2092@xxxxxxxxxxxxxxxxxxxxxxx
> > > Dear All,
> > > I have a virtual printer driver project that produces a UI dll and a GR
> dll.
> > > The UI dll uses an RC file for the printer settings dialog.
> > > I have a string table section to ease porting to different languages.
> > > When I create a Unicode RC file in order to build a Japanese version,
> > > the WinXP DDK Build freezes when it gets to this file.
> > >
> > > On a Win2000 machine using a W2K Build environment, everything
> > > works fine and I get a print driver that displays Japanese in the Print
> > > Setting
> > > dialog.
> > >
> > > Any ideas?
> > >
> > > I'm using:
> > > Built with DDK 3790.1830 on WinXP. Build V. 4.23.3790
> > > Built with DDK 2134 on Win2000. Build V. 4.03.2134
> > >
> > > Thank You
> > > Mark C.
> > >
> > >
> >
> >
.
- References:
- UniCode Resouce (RC) file crashes WinXP Driver build.
- From: S. Mark Courter
- Re: UniCode Resouce (RC) file crashes WinXP Driver build.
- From: Maxim S. Shatskih
- Re: UniCode Resouce (RC) file crashes WinXP Driver build.
- From: S. Mark Courter
- UniCode Resouce (RC) file crashes WinXP Driver build.
- Prev by Date: Re: Error on x64 removing device from installation program
- Next by Date: Re: Wireless driver for Windows 2003
- Previous by thread: Re: UniCode Resouce (RC) file crashes WinXP Driver build.
- Next by thread: Re: Can a driver change the IRP major function code?
- Index(es):
Relevant Pages
|
Loading