Hi Christian,

Any update on PictureMBS with 32-bit pictures under Win32?   

I'm testing the latest Xojo beta with 14.2 pr10 and seeing this:

dim p as new picture(256,256)
dim pmbs as new PictureMBS(p,p.hasAlphaChannel)

// on Cocoa, pmbs.valid = true
// on Win32, pmbs.valid = false

It would be great if you could get this working... any ideas?  if this is a 
Xojo bug, has it been reported to them yet?



On Sep 27, 2013, at 10:08 AM, Christian Schmitz 
<[email protected]> wrote:

> 
> Am 27.09.2013 um 19:05 schrieb Michael Diehr <[email protected]>:
> 
>> You are testing with GDI+ enabled in the application, right?  I wonder if in 
>> multi-threaded code, you might need to call  GdiplusStartup(&gdiplusToken, 
>> &gdiplusStartupInput, NULL) in each thread?
> 
> Well, I would expect GdiplusStartup is called by Xojo before they create GDI+ 
> pictures.
> 
>> Or is the problem that it doesn't even work in the main thread at all?
> 
> 
> Yes. Main thread is the problem.
> 
> Greetings
> Christian
> 
> -- 
> Read our blog about news on our plugins:
> 
> http://www.mbsplugins.de/
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to