[Delta] trying to make a code like justins code (jabber example) but i have errors

K. Nimer stormway at gmail.com
Mon Mar 24 08:15:04 PDT 2008


so do you guys have any idea of how to send a message and a file using the
iris library?

i am trying to send a message in a different way without using Qdoc

i am using message and sendMessage(from client)

but its not same to work
---------------------------------------------
here is my code
--------------------------------------------


        XMPP::Jid rec;
        rec = "blah at jabber.inm.com";
        XMPP::Message *message;
        message =  new XMPP::Message(rec) ;

        message->setFrom(m_jid);
        message->setTo(rec);
        /*QString hey;
        hey = "hi";*/
        message->setBody("hi","hi");


        m_pClient->sendMessage(*message);
        delete message;


On Sat, Mar 22, 2008 at 12:35 PM, K. Nimer <stormway at gmail.com> wrote:

> sending a message is one of the problems
>
> i also wanted to be able to send files using filetrasfere , i am not sure
> if its easy to use too
>
> On Fri, Mar 21, 2008 at 4:36 PM, K. Nimer <stormway at gmail.com> wrote:
>
> > THANK YOU SO MUCH JUSTIN AND NORMAN yes it works
> >
> > now my point of all this is to send a message
> > just like your program , but in your program ur using QDocument
> > but i wanna use the functions of message without using qdocument
> >
> > i am trying to do it , but it not working i guess
> >
> > here is what i do
> >
> >        XMPP::Jid rec;
> >         rec = "me at jabber.inm.com";
> >         XMPP::Message *message;
> >         message =  new XMPP::Message(rec) ;
> >
> >         QString hey;
> >         hey = "hi";
> >         message->setBody(hey,hey);
> >         message->setTo(rec);
> >         m_pClient->sendMessage(*message);
> >
> >
> > which the above code i wasnt able to send any messages , i tested it
> > many times but it wasnt working
> >
> >
> >
> > On Thu, Mar 20, 2008 at 4:00 PM, Norman Rasmussen <
> > norman at rasmussen.co.za> wrote:
> >
> > > On Thu, Mar 20, 2008 at 9:28 PM, K. Nimer <stormway at gmail.com> wrote:
> > >
> > > > this is what i get
> > > >
> > > > 1>Project : warning PRJ0018 : The following environment variables
> > > > were not found:
> > > > 1>$(QTDIR)
> > > >
> > >
> > > You need to set QTDIR, otherwise the build will fail.  (You may need
> > > to set it as a global windows variable for VS to pick it up properly)
> > >
> > > --
> > > - Norman Rasmussen
> > > - Email: norman at rasmussen.co.za
> > > - Home page: http://norman.rasmussen.co.za/
> > >  _______________________________________________
> > > Delta mailing list
> > > Delta at lists.affinix.com
> > > http://lists.affinix.com/listinfo.cgi/delta-affinix.com
> > >
> > >
> >
> >
> > --
> > Regards;
> > Khalid Nimer
> >
> > Education:
> > Concordia University
> > Bachelor of Computer Science (ECP)
> > Option: Software Systems
> >
>
>
>
> --
> Regards;
> Khalid Nimer
>
> Education:
> Concordia University
> Bachelor of Computer Science (ECP)
> Option: Software Systems
>



-- 
Regards;
Khalid Nimer

Education:
Concordia University
Bachelor of Computer Science (ECP)
Option: Software Systems
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.affinix.com/pipermail/delta-affinix.com/attachments/20080324/4e8948e9/attachment.htm 


More information about the Delta mailing list