World Wind Forums

Go Back   World Wind Forums > WorldWind .Net Development > Developers' Corner

Developers' Corner General World Wind development.

Reply
 
Thread Tools Display Modes
Old 03-14-2007, 11:24 PM   #1
uotmiem
Junior Member
 
Join Date: Mar 2007
Posts: 3
uotmiem is on a distinguished road
Unhappy My Plugin tutorial doesn't work in WW 1.4 -

I am using WW 1.4 compiled in VS Studio 2005. I follow this link http://www.worldwindcentral.com/wiki/Plugin_tutorial to add my plugin to WW. Every thing is ok. However, my plugin doesn't show up in Plugin Load/Unload window. Did I miss something here? Can someone please help me? Do I need to enable the plugin system World Wind. If it is so, how do I do it?
Thanks,
Uotmiem
uotmiem is offline   Reply With Quote
Old 03-15-2007, 04:08 AM   #2
bull
Cosmic Overlord
 
bull's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
bull is an unknown quantity at this point
Default

I think that guide is probably outdated, try looking at some of these plugins to see how they work http://www.worldwindcentral.com/wiki...ory:Plugins1.4
bull is offline   Reply With Quote
Old 03-15-2007, 04:13 AM   #3
David Lockwood
Senior Member
 
David Lockwood's Avatar
 
Join Date: Mar 2006
Posts: 210
David Lockwood
Default

If the *.cs file of the plugin is compiled under the the 'WorldWind' project in the source tree, it should show up as an 'Internal' plugin, no? If you're compiling to a *.dll file and you can't see it, manually copy the dll or even the *.cs file to the 'Plugins\(YourPlugin)\' folder...where YourPlugin is a new folder you create.
__________________
"No Silicon Heaven?! Preposterous!...where would all the calculators go?"
David Lockwood is offline   Reply With Quote
Old 03-15-2007, 07:38 AM   #4
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
withak
Default

Whenever a plugin I made doesn't show up in the list, I check and make sure that I declared the plugin class public. 99% of the time that is the problem.
withak is offline   Reply With Quote
Old 07-02-2007, 02:25 PM   #5
joeller
Junior Member
 
Join Date: Jun 2007
Posts: 8
joeller is on a distinguished road
Default

If you note the illustration on that web page, the dialog box in 1.4 has one more additional button the caption of which I don't remember. Pushing that button alllows you to browse to the class file that you just created and add it to the list of plugins. After that you can press load. However check out this forum entry to find other ramifications of that tutorial.

http://forum.worldwindcentral.com/sh...ed=1#post46388
joeller is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WW 1.4 doesn't work for me :( Yabol_PL Bug Reports 24 04-29-2008 05:17 PM
Geoportail plugin and WW 1.4 jp09 Add-ons & Scripts 5 11-10-2006 01:37 PM
Build PluginEngine as a Class Library DLL to support binary DLL plugin development gohyongkwang Suggestion Box 1 08-24-2006 06:47 AM
shapefile loader plugin don't work Petercopdi Add-on & Script Development 1 04-02-2006 08:07 PM
Plugin Scripting in HEAD and Scripting Tutorial adamhill Developers' Corner 9 06-02-2005 10:49 PM


All times are GMT +1. The time now is 06:34 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.