OLEPictureImpl_SaveAsFile
Hi. I have an application (Halosim3) that I would like to have working under wine. The application works reasonably well, but is unable to save pictures to disk. With a bit of tracking, I've discovered that it calls OLEPictureImpl_SaveAsFile to save the image that it generates. This function (in dlls/oleaut32/olepicture.c) is a "stub" only, and writes back This->datalen bytes of This->data. Looking at the code further, it seems that This->data is only initialised when an image is loaded from disk. Hence any image editing or creating program that creates an image in memory, or modifies an image after it is loaded, won't work. I would like to ask if anyone is working on OLEPictureImpl_SaveAsFile, or planning to. Otherwise I may have a hack at it myself. I'm not subscribed to the winehq mailing list, but will check the archives sometime in the future. If anyone wants to contact me quicker than that, please cc it to my email address as per this email. Cheers, Ross-c -- -- Ross Clement (Dr) Senior Lecturer in Artificial Intelligence Harrow School of Computer Science University of Westminster Northwick Park Middlesex UK HA1 3TP clemenr _at_ wmin.ac.uk +44-20-7911-5000 ext. 4159
On Mon, 01 Mar 2004 09:12:09 +0000, Ross Clement wrote:
Hence any image editing or creating program that creates an image in memory, or modifies an image after it is loaded, won't work.
Yes, our support for the visual basic APIs (basically a lot of OLE is really VB runtime code and not used by much else) is not great.
I would like to ask if anyone is working on OLEPictureImpl_SaveAsFile, or planning to. Otherwise I may have a hack at it myself.
Go for it. Feel free to ask here or on #winehackers (freenode) if you get stuck. If you do decide to have a go, I'd suggest doing what I do and subscribing to the list then switching mail delivery off. You can then use gmane to see and post to the list using a more convenient interface. thanks -mike
participants (2)
-
Mike Hearn -
Ross Clement