|
I don't know...since Great Britain is 89286 mi^2 and the contiguous 48 United States plus Washington D.C. are 3119884 mi^2...
|
|
|
|
|
And the population difference is 64M to 321 million - so you should have economies of scale working for the USA!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
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
|
|
|
|
|
Cool stuff. I didn't know about the Main being called three times. I don't remember seeing that behavior. In my debugging of my own code it only ever gets hit once, so that's a bit confusing.
My plugins don't have to be loaded continuously. Each one acts like a Console application. The plugins are loaded on a schedule, each does it's own thing, quits and are unloaded.
I do have plans for a couple of plugins that run continuously, like you're explaining, but we haven't had the time to get around to implementing them yet.
Thanks for the heads up on that.
|
|
|
|
|
Well, it's default behavior is to unload after returning from Main, and I made it not do that, and that's how I noticed the behavior.
My current issue is finding out how to tell inf the plugin's app domain has been unloaded. I found a way, but it involves adding a reference to mscoree.TLB, but when I do that, I get the little yellow error triangle in the reference list. Still researching it.
".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
|
|
|
|
|
What's this referring to John ?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
It's a plugin library, an alternative toe MAF and MEF.
".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
|
|
|
|
|
I could be wrong, but shouldn't this be in some article forum, not in The Lounge?
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Johnny J. wrote: I could be wrong, but shouldn't this be in some article forum, not in The Lounge?
Yes, you're wrong.
No, it doesn't belong in an article.
It was in reference to a post I made a week or two ago about having to use MAF. Dave suggested looking at the SimplePlugins library, and I was merely updating him on my findings.
".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
|
|
|
|
|
Sorry, I missed that. I stand corrected. You can put away the gun now...
What is SimplePlugins BTW?
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
I don't pull out weaponry for stuff like this...
".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
|
|
|
|
|
Now, you ask him about where the curly braces go . . .
|
|
|
|
|
Message Removed
modified 21-Oct-16 16:47pm.
|
|
|
|
|
Do me a favor, please check and let me know if this video skips when you watch it? click[^]
|
|
|
|
|
|
Because they they can
|
|
|
|
|
I guess: it's just that... well, you know... oh, I give up!
It looks pretty intense but utterly pointless. (I'm sure that could be said of most sports)
|
|
|
|
|
Indeed!
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
I'm not falling for that one again... I'm sure Two Devs One Repository plays just fine...
|
|
|
|
|
F-ES Sitecore wrote: Two Devs One Repository Sounds like bathroom humor to me.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I wish they had made it to the bathroom...
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
F-ES Sitecore wrote: Two Devs One Repository Sounds perverse!
|
|
|
|
|
I'm not going there - it's either Rick Astley, or 2 girls 1 cup ...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Hah! You can't fool me like that!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I took the plunge and he is right. Just some rope skipping. Very intense rope skipping.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|