splitting out on_winver_change() and friends

Steven Edwards winehacker at gmail.com
Fri Dec 28 04:43:40 CST 2007


Hi,

On Dec 27, 2007 4:50 PM, Robert Millan <rmh at aybabtu.com> wrote:
> I'm writing a small application to automate the process of setting Windows
> version for executables that are known to require a specific one.  I'd like
> it to use the knowledge about defining Windows versions contained in
> winecfg/appdefaults.c instead of duplicating/forking code from it.
>
> Would it be ok to move on_winver_change() and some of its friends like
> win_versions[] and set_reg_key() to libwine.so.1 for this purpose ?

How about rather than writing another application to do this, you make
winecfg take arguments on the command line so you could set something
like

winecfg foo.exe --winver win98 --dll=gdiplus.dll=n

Then all you need is a script for your known bad applications....

Thanks
Steven

-- 
Steven Edwards

"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo



More information about the wine-devel mailing list