Re: Jopl Sample - Wont Compile?

Brad Parks <bradparks-S1gSkBi7/[email protected]> Wed, 10 Aug 2005 12:46:20 -0300
Newsgroups gmane.network.jabber.exodus.devel
Message-ID <[email protected]>
Does anyone have any idea why this is happening? Any pointers at all 
would be great!

Thanks again,

Brad.

> Hi there;
>
> I've retrieved the latest Exodus source from Subversion, and have 
> compiled Exodus itself without a problem.
>
> What I'm interested in doing is building a very simple Jabber client 
> using jopl, so I'm trying to compile the
>
> jopl\sample\jopl_sample.dpr
>
> project, but I can't get it to build without changing some stuff. And 
> once I've got it built, it automatically throws a runtime error (217) 
> when run.
>
> To get it to build, I needed to
>
> 1) Change the Project search path to:
>
> $(DELPHI)\Lib\Debug;..\;..\png;..\..\exodus
>
> 2) in jopl_sample, main.pas add "NodeItem" to the uses
>
> 3) In jopl_sample.dpr, the path to the Agents file needed to be 
> changed to:
>  Agents in '..\..\Exodus\Agents.pas',
>
> 4) The Agents.pas file mentioned above needs to have "JabberConst" 
> added to the uses
>
> 5) Add "Exodus" to the Project Defines for the project. If I didn't do 
> this, I'd get lots of type mismatch errors. This strikes me as where 
> my fixes aren't moving in the right direction....
>
> "Incompatible types: 'TWideStringList' and 'TTntStrings'"
>
> (e.g. CommandWizard.pas, line 105)
>    jEntityCache.getByFeature(XMLNS_COMMANDS, f.txtJid.Items);
>
> I tried to debug why the runtime error (217) was happening, and it 
> looks like it's being thrown when a com object "COMPresence" is being 
> initialized... But it seems to me like this must be a symptom of some 
> other problem that I'm missing, so this is where I figured I'd ask for 
> some pointers!
>
> Any pointers?
>
> Thanks in advance!
>
> Brad.
> _______________________________________________
> Exodus-dev mailing list
> [email protected]
> http://mail.jabber.org/mailman/listinfo/exodus-dev
>