I tried installing msvc++4.0 again with today's cvs wine. The 'exit' button works now, which is nice, but none of the other buttons do anything. (Well, they highlight when you mouse over them, and they play a sound, but that's it.)
I discovered that under Windows, if you copy the disc's setup.exe to the hard drive, two of the buttons do nothing, just like in Wine. Two more buttons, however, simply launch external programs -- "Explore the CD" launches Windows Explorer on the directory containing setup.exe, and "Standard Template Library" launches WordPad on a particular file.
OK, those sound so simple I ought to be able to get them working.
So I copied wordpad.exe and mfc42.dll from my windows system into the same place on my fake windows area, and now when I click on "Standard Template Library", I get "Could not load the richEdit control DLL. The system may be low on memory or the file RICHED20.DLL may be missing or corrupt." OK, copied that too, now that button launches wordpad, albeit with lots of "fixme:clipboard:..." messages.
Q1. What do I have to do to get Wine's builtin rich text DLL to work there? I tried "wine --dll riched32=b", but that didn't help.
Q2. Any idea what I'd need to do to get a Windows Explorer going without actually installing the real Windows Explorer?-) Does Wine have a builtin Windows Explorer clone yet?
Thanks, Dan
Dan Kegel wrote:
Q1. What do I have to do to get Wine's builtin rich text DLL to work there? I tried "wine --dll riched32=b", but that didn't help.
there are several version of the richedit DLLs. riched32 should be version 1.0. what your app requires seems to be version 2.0 of this DLL. as of today, version 1.0 is very poorly implemented in wine, and far from 2.0... so you're stuck with either using native riched20.dll, or doing lots of hard work to implement version 1.0 and 2.0 (IIRC, there's also a 3.0 version ;-)
Q2. Any idea what I'd need to do to get a Windows Explorer going without actually installing the real Windows Explorer?-) Does Wine have a builtin Windows Explorer clone yet?
there's a winfile compatible (winefile) in the programs directory, but this isn't really an explorer clone. however making it explorer.exe compatible (from the command line point of view) shouldn't be too difficult. but there are lots of other stuff in there (DDE server for example) which will require quite some work too.
A+
Eric Pouech wrote:
so you're stuck with either using native riched20.dll, or doing lots of hard work to implement version 1.0 and 2.0
Er, ok, I'll stick with native for now :-)
Q2. Any idea what I'd need to do to get a Windows Explorer going without actually installing the real Windows Explorer?-) Does Wine have a builtin Windows Explorer clone yet?
there's a winfile compatible (winefile) in the programs directory, but this isn't really an explorer clone. however making it explorer.exe compatible (from the command line point of view) shouldn't be too difficult. but there are lots of other stuff in there (DDE server for example) which will require quite some work too.
Cool. OK, here's how things stand, then: With native mfc42.dll, riched20.dll, and wordpad.exe, and winefile running, I can put the msvc4.0 cd-rom in the drive, mount it, click on the 'd:' drive icon in winefile, double-click on setup.exe, and the setup program launches properly; clicking on "Standard Template Library" properly brings up WordPad (yay!), but with a display problem (see below); clicking on "Explore the CD" does nothing (because I didn't install native Windows Explorer).
Q3. Although I'm using native riched20 and wordpad, all the section headers in the stl\Readme.WRI file are screwed up under Wine. Anyone seen that problem before, or know how to fix it? I've uploaded the file as http://www.kegel.com/readme.wri in case anyone wants to see it.
Q4. Is winefile going to be installed in some standard place? I'm quite willing to write a tiny, stunted windows\explorer.exe that's just a wrapper around winefile, but that won't help if the standard installer isn't yet installing winefile. Also, is it a problem that winefile is a winelib application? Wouldn't we rather it be a straight Windows application if we're going to invoke it from inside wine?
Thanks, Dan
Q4. Is winefile going to be installed in some standard place?
winefile is installed in wine's normal installation process
Also, is it a problem that winefile is a winelib application? Wouldn't we rather it be a straight Windows application if we're going to invoke it from inside wine?
there shouldn't be any problem there A+