Finale SmartMusic
  Home | Log In | Register | Search | Help
   
MakeMusic Forum > Public Forums > Plug-In Development - FORUM HAS MOVED! > java?  Forum Quick Jump
 
You cannot post new topics in this forum. You cannot reply to topics in this forum. Printable Version
[ << Previous Thread | Next Thread >> | Show Newest Post First ]

donkermazoid
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to donkermazoidAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2003
Total Posts : 1
 
   Posted 7/21/2003 8:54 AM (GMT -6)    Quote This PostAlert An Admin About This Post.
Is it possible to program plugins in java? It is he language I am most familiar with, and while the coda site reccomends c++, it does not say c++ must be used exclusively. Can anyone let me know?

thnks
Back to Top

Michael Good
MusicXML Maven



Email Address Not AvailableClick to visit Michael Good's website.Send a Private Message to Michael GoodAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined May 2000
Total Posts : 1299
 
   Posted 7/21/2003 1:03 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
Hi Damien,

The core of a plug-in must be programmed in C or C++. Plug-ins must have 6 specific non-mangled function names to be loaded into Finale, and there's no way to get that in Java, Visual Basic, and many other languages.

However, once you have the core in C++, the bulk can be written in another language. We are in the process of porting our Dolet plug-in from VB to Java so we can run it on the Mac. There's an awful lot of JNI code involved to do this. Our plug-in is complex enough that it's worth it to put as much complexity as possible in Java and just do very simple things in C++. The JNI code is dwarfed by everything else going on in Java. But you'd need a big plug-in to make it worthwhile.

For a first plug-in, you'll probably find it easier to work in C++ to get familiar with the PDK - unless you're a real wizard with JNI.

Best regards,

Michael Good
Recordare LLC
http://www.recordare.com
Back to Top
You cannot post new topics in this forum. You cannot reply to topics in this forum. Printable Version
   
Forum Information
Currently it is Tuesday, December 19, 2023 8:13 PM (GMT -6)
There are a total of 403,820 posts in 58,165 threads.
In the last 3 days there were 0 new threads and 0 reply posts. View Active Threads