[Gambas-devel] DCOP QMAP<QSTRING,QSTRING> problem

Benoit Minisini gambas at ...1...
Sat Jul 2 15:49:30 CEST 2005


On Wednesday 08 June 2005 18:11, Carlo Sorda wrote:
> Hi,
> I have a problem to use DCOP to drive knotes.
> like sample:
>
> DIM cNotes AS Collection
> Dim id as string
>
> cNotes = NEW Collection
> hKnotes = Application["knotes"]
> cNotes = hKnotes["KNotesIface"].notes()
>
> IF cNotes <> NULL THEN
>    FOR EACH Element IN cNotes
>       id = cstring(cNotes.Key)
>       PRINT "Key: " & id & " - " "Element: " & Element;
>     NEXT
> ENDIF
>
> the first 4 byte of id are in binary mode, other are string!!!
> The function QMAP is mapped to Collection of string

This is a bad bug I made in the QT component. It will fixed in the next 
development version, and will be backported to the stable one.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list