INTERACT FORUM

Windows => Plug-in Development => Topic started by: RhinoBanga on May 17, 2002, 05:06:57 am

Title: ATL/C|PLS||PLS| Interface Sample
Post by: RhinoBanga on May 17, 2002, 05:06:57 am
Matt/Nikolay,

Do any of you have a simple ATL/C|PLS||PLS| interface plugin sample that I could look at?

I tried using VS's ATL COM Wizard (creating a full control) but I was getting all sorts of problems utilizing MJ's TLB ... eventually I got my IDL file to compile declaring Init and Terminate (by moving the IDL code) but my C|PLS||PLS| class still wouldn't compile.

Even a simple sample showing Init and Init then calling GetVersion would help me (and I'm sure others) get started.


If you want to email me directly I can be contacted on jamie@jdnet.co.uk


Thanks.
Title: RE:ATL/C|PLS||PLS| Interface Sample
Post by: Nikolay on May 17, 2002, 06:20:55 am
Rhino,

Check out Sleep Timer plug-in, the source code for it is available on our Developers' Zone page
http://www.musicex.com/mediajukebox/developers.html

It's writen in C|PLS||PLS| with ATL to support COM.

There is a bug in GetVersion interface, it will be fixed in next build.

Nikolay
Title: RE:ATL/C|PLS||PLS| Interface Sample
Post by: RhinoBanga on May 17, 2002, 06:45:16 am
Superb Nikolay ... I just assumed it was VB.

Thanks for you help.
Title: RE:ATL/C|PLS||PLS| Interface Sample
Post by: Nikolay on May 17, 2002, 06:55:02 am
Rhino,

There will be new interface available in next build MJInternetAutomation, it will allow you easily download any web page or file from the Internet.

I just updated the MJAutomation doc to reflect the change.

Regards,
Nikolay
Title: RE:ATL/C|PLS||PLS| Interface Sample
Post by: RhinoBanga on May 17, 2002, 07:27:01 am
Cool!