realbasic-plugins
[Top] [All Lists]

Re: CFStrings on Win32

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: CFStrings on Win32
From: Chris Little <cslittle at mac dot com>
Date: Fri, 27 Jan 2006 09:24:41 -0500
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
Thread-index: AcYjSE/LjqNTdI87Edqp0QAKldpEygABRlb2
Thread-topic: CFStrings on Win32
on 1/27/06 8:48 AM, Dave Addey at listmail1 at dsl dot pipex dot com wrote:

> Hi all,
> 
> Thanks for all of the help with this.  Unfortunately, I still can't get it
> to work.  All of this approach works for creating a CFString, but Cstring()
> is still returning weird characters on Windows.  It's specifically the
> CString from the REALstring which is causing problems, rather than the
> CFString creation.  For some reason, the CString just isn't coming back out
> correctly on Windows from within the plugin code.  (It's fine when set and
> retrieved in RB).
> 
> I've spent ages pulling my hair out over this one, so I think I'm going to
> try a different approach - perhaps using declares for this bit, and then
> passing in CFObject references to the plugin instead.

Can you repost your current code.  I'll put it in a plug-in and try it here.

Chris


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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


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