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

Carlo Sorda csorda at ...69...
Wed Jun 8 18:11:17 CEST 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050608/8b9fe01b/attachment.html>


More information about the Devel mailing list