On 14-Apr-07, at 8:52 PM, Dax Dasilva wrote:

> The new HIToolbar classes look great! Have been playing with them  
> but can't
> get the example project to compile (i'm using 2007r2). I get  
> 'syntax error'
> on the following line of the Create method of the HIToolbar class:
>
>     oserror = HIToolbarCreate(new
> CFString(toolbaridentifier).Handle,kAutoSavesConfig,phandle)

break that into sever steps

the idiom
        new CFString(toolbaridentifier).Handle

no longer works

You have to do

        dim cfs as CFString
        cfs = new CFString(toolbaridentifier)
        oserror = HIToolbarCreate(cfs.Handle,kAutoSavesConfig,phandle)

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to