Click here to Skip to main content
15,914,111 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralFinally! Pin
Brisingr Aerowing3-Aug-16 6:39
professionalBrisingr Aerowing3-Aug-16 6:39 
GeneralRe: Finally! Pin
OriginalGriff3-Aug-16 8:18
mveOriginalGriff3-Aug-16 8:18 
GeneralRe: Finally! Pin
Brisingr Aerowing3-Aug-16 11:32
professionalBrisingr Aerowing3-Aug-16 11:32 
GeneralRe: Finally! Pin
OriginalGriff3-Aug-16 11:52
mveOriginalGriff3-Aug-16 11:52 
GeneralRe: Finally! Pin
Brisingr Aerowing3-Aug-16 12:20
professionalBrisingr Aerowing3-Aug-16 12:20 
JokeRe: Finally! Pin
Scott Serl3-Aug-16 12:27
Scott Serl3-Aug-16 12:27 
GeneralRe: Finally! Pin
OriginalGriff3-Aug-16 22:17
mveOriginalGriff3-Aug-16 22:17 
GeneralHey Dave Kreskowiak - RE: SimplePlugins Pin
#realJSOP3-Aug-16 6:13
professional#realJSOP3-Aug-16 6:13 
Just some notes - it's pretty nifty, but I had to make some changes:

0) There was no way to have the plugin notify the loader that it could be unloaded. I added an event to PluginBase that allows the loader to know when this can happen.

1) It assumes that when the Main method returns, the plugin can be unloaded (not necessarily true, especially for DLL plugins, or at least in my case)

2) The process of loading a plugin causes the Main method to be called three times. I had to put in a method that checks the StackTrace to make sure Main is being called from OnExecute before firing up the plugins work thread(s).
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: Hey Dave Kreskowiak - RE: SimplePlugins Pin
Dave Kreskowiak3-Aug-16 8:50
mveDave Kreskowiak3-Aug-16 8:50 
GeneralRe: Hey Dave Kreskowiak - RE: SimplePlugins Pin
#realJSOP4-Aug-16 0:04
professional#realJSOP4-Aug-16 0:04 
GeneralRe: Hey Dave Kreskowiak - RE: SimplePlugins Pin
pkfox3-Aug-16 20:00
professionalpkfox3-Aug-16 20:00 
GeneralRe: Hey Dave Kreskowiak - RE: SimplePlugins Pin
#realJSOP4-Aug-16 0:00
professional#realJSOP4-Aug-16 0:00 
GeneralRe: Hey Dave Kreskowiak - RE: SimplePlugins Pin
Johnny J.3-Aug-16 21:58
professionalJohnny J.3-Aug-16 21:58 
GeneralRe: Hey Dave Kreskowiak - RE: SimplePlugins Pin
#realJSOP3-Aug-16 23:59
professional#realJSOP3-Aug-16 23:59 
GeneralRe: Hey Dave Kreskowiak - RE: SimplePlugins Pin
Johnny J.4-Aug-16 0:01
professionalJohnny J.4-Aug-16 0:01 
GeneralRe: Hey Dave Kreskowiak - RE: SimplePlugins Pin
#realJSOP4-Aug-16 0:05
professional#realJSOP4-Aug-16 0:05 
JokeRe: Hey Dave Kreskowiak - RE: SimplePlugins Pin
MarkTJohnson4-Aug-16 4:48
professionalMarkTJohnson4-Aug-16 4:48 
GeneralMessage Removed Pin
3-Aug-16 4:44
professionalNikunj_Bhatt3-Aug-16 4:44 
GeneralThis video skips Pin
Jacquers3-Aug-16 4:38
Jacquers3-Aug-16 4:38 
GeneralRe: This video skips Pin
R. Giskard Reventlov3-Aug-16 4:45
R. Giskard Reventlov3-Aug-16 4:45 
GeneralRe: This video skips Pin
Jacquers3-Aug-16 4:49
Jacquers3-Aug-16 4:49 
GeneralRe: This video skips Pin
R. Giskard Reventlov3-Aug-16 5:25
R. Giskard Reventlov3-Aug-16 5:25 
GeneralRe: This video skips Pin
TheGreatAndPowerfulOz3-Aug-16 6:07
TheGreatAndPowerfulOz3-Aug-16 6:07 
GeneralRe: This video skips Pin
F-ES Sitecore3-Aug-16 5:17
professionalF-ES Sitecore3-Aug-16 5:17 
GeneralRe: This video skips Pin
W Balboos, GHB3-Aug-16 5:24
W Balboos, GHB3-Aug-16 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.