[Gambas-devel] Re: QMap<QString,QString> my implementation in DCOP class file.
Carlo Sorda
csorda at ...69...
Thu Feb 24 19:07:11 CET 2005
Thanks a lot!!!
I have compiled this:
else if (type == QT_T_QMAP_QSTRING)
{
GB_COLLECTION aCollection;
GB_VARIANT aValue;
QMap<QString,QString> r;
reply >> r;
GB.Collection.New(&aCollection,GB_COMP_BINARY);
QMap<QString,QString>::Iterator it;
aValue.type = GB_T_VARIANT;
for (it =r.begin() ;it != r.end();it++)
{
GB.NewString(&aValue.value._string.value,it.data().utf8().data(),0);
GB.Collection.Set(aCollection,it.key().utf8().data(),0,&aValue);
}
and I haved an error like this:
Type mismatch: wanted Void, got Variant instead!!!
What can I do??
Tank you , see you soon.
More information about the Devel
mailing list