realbasic-plugins
[Top] [All Lists]

Re: REALLockPictureDescription on Win32

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: REALLockPictureDescription on Win32
From: Brad Hutchings <brad at componentx dot com>
Date: Mon, 31 May 2004 02:05:26 -0700
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
List-help: <mailto:realbasic-plugins-request@lists.realsoftware.com?subject=help>
List-id: REALbasic Plugins <realbasic-plugins.lists.realsoftware.com>
List-post: <mailto:realbasic-plugins@lists.realsoftware.com>
References: <BCE00EE7 dot A2DC%vanhoek at mac dot com>
Alfred,

It didn't seem to help. A search of all the archives finds that pretty Christian and Björn are the only ones who admit to having made REALBuildPictureFromDIB work. Joe Strout suggests looking at his JPEG plugin, but that doesn't really do that --- it uses REALNewPicture.

I'd rather use REALNewPicture because that's what I've been using and it is less typing. It just seems to have some downstream problems relating to this new REALLockPictureDescription fix. So I'll wait patiently for William to answer ;-).

-Brad

On May 30, 2004, at 7:22 PM, Alfred Van Hoek wrote:

COuld be a memset problem, you don't use, or a selectObject or ...

Here are code snippets that work for me (did not try to create a picture of
it, but drawing in the memoryDC is ok:
...
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>