Click here to Skip to main content
15,910,603 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to receive a frame from serilal port Pin
hamed_farasat7-Apr-09 19:29
hamed_farasat7-Apr-09 19:29 
QuestionReading XML using DOM [modified] Pin
benjamin yap7-Feb-09 20:47
benjamin yap7-Feb-09 20:47 
AnswerRe: Reading XML using DOM Pin
Guffa7-Feb-09 21:08
Guffa7-Feb-09 21:08 
GeneralRe: Reading XML using DOM Pin
benjamin yap7-Feb-09 21:16
benjamin yap7-Feb-09 21:16 
GeneralRe: Reading XML using DOM Pin
ABitSmart7-Feb-09 23:25
ABitSmart7-Feb-09 23:25 
QuestionAppDomain pains: Specifying a relative directory not working fully. Pin
iAmEntity7-Feb-09 9:52
iAmEntity7-Feb-09 9:52 
AnswerRe: AppDomain pains: Specifying a relative directory not working fully. Pin
Eddy Vluggen8-Feb-09 0:47
professionalEddy Vluggen8-Feb-09 0:47 
GeneralRe: AppDomain pains: Specifying a relative directory not working fully. Pin
iAmEntity8-Feb-09 5:59
iAmEntity8-Feb-09 5:59 
Unfortunately that won't work, if you follow the code posted closely. "Plugins\" is given to the path, and "*.dll" the mask of the file. using your method, and without trying it, I'd guess it'd look for Plugins\Plugins\*.dll and crap out because the path doesn't exist. Also, you forgot a "\", should be "Plugins\\*.dll" or @"Plugins\*.dll", but that's just me being a perfectionist. Smile | :)

I figured out what the problem was, anyway, to a point. I forgot to inherit MarshalByRefObject, but adding that has caused other problems. Namely when code returns to the Manager from the Finder, I get a file not found exception when copying the Finder's array to the array in the Manager. Note the Bold line:

AppDomain domain = AppDomain.CreateDomain("PluginLoadingDomain", null, setup);

Type finderType = typeof(PluginFinder);
PluginFinder finder = (PluginFinder)domain.CreateInstanceFromAndUnwrap(
    finderType.Assembly.Location, finderType.FullName);

FoundPlugins = finder.Search(pluginPath);

AppDomain.Unload(domain);

It seems that my main appdomain wants to load the files, based off the fusion binding logs (Mentions that cant load file under \Debug\, instead of \Debug\Plugins\), so any help there would be appreciated.
GeneralRe: AppDomain pains: Specifying a relative directory not working fully. Pin
Eddy Vluggen8-Feb-09 6:31
professionalEddy Vluggen8-Feb-09 6:31 
GeneralRe: AppDomain pains: Specifying a relative directory not working fully. Pin
iAmEntity8-Feb-09 8:08
iAmEntity8-Feb-09 8:08 
Questionhow to write coding for login page in ASP dot net with c# coding???? Pin
karthimca1437-Feb-09 8:55
karthimca1437-Feb-09 8:55 
AnswerRe: how to write coding for login page in ASP dot net with c# coding???? Pin
DaveyM697-Feb-09 10:11
professionalDaveyM697-Feb-09 10:11 
QuestionEfficient Image loading Pin
RanCohen7-Feb-09 8:45
RanCohen7-Feb-09 8:45 
AnswerRe: Efficient Image loading Pin
Luc Pattyn7-Feb-09 9:15
sitebuilderLuc Pattyn7-Feb-09 9:15 
GeneralRe: Efficient Image loading Pin
RanCohen7-Feb-09 9:43
RanCohen7-Feb-09 9:43 
AnswerRe: Efficient Image loading Pin
Luc Pattyn7-Feb-09 10:34
sitebuilderLuc Pattyn7-Feb-09 10:34 
GeneralRe: Efficient Image loading Pin
RanCohen7-Feb-09 10:36
RanCohen7-Feb-09 10:36 
AnswerRe: Efficient Image loading Pin
Alan Balkany9-Feb-09 4:17
Alan Balkany9-Feb-09 4:17 
GeneralRe: Efficient Image loading Pin
RanCohen10-Feb-09 4:41
RanCohen10-Feb-09 4:41 
Questionhow to make .exe file in C# Pin
jananiSreedhar7-Feb-09 7:50
jananiSreedhar7-Feb-09 7:50 
AnswerRe: how to make .exe file in C# PinPopular
Anthony Mushrow7-Feb-09 7:57
professionalAnthony Mushrow7-Feb-09 7:57 
JokeRe: how to make .exe file in C# Pin
Luc Pattyn7-Feb-09 9:17
sitebuilderLuc Pattyn7-Feb-09 9:17 
QuestionPlugins and Abstract classes. Pin
iAmEntity7-Feb-09 6:45
iAmEntity7-Feb-09 6:45 
AnswerRe: Plugins and Abstract classes. Pin
Anthony Mushrow7-Feb-09 7:54
professionalAnthony Mushrow7-Feb-09 7:54 
RantRe: Plugins and Abstract classes. Pin
iAmEntity7-Feb-09 8:05
iAmEntity7-Feb-09 8:05 

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.