Click here to Skip to main content
15,918,889 members
Home / Discussions / C#
   

C#

 
QuestionOrganizing my project Pin
peterchen2-Feb-06 11:54
peterchen2-Feb-06 11:54 
QuestionLib Files Help please Pin
DocH0liday2-Feb-06 11:53
DocH0liday2-Feb-06 11:53 
QuestionVirual Serial Port Pin
Ross King2-Feb-06 11:43
Ross King2-Feb-06 11:43 
AnswerRe: Virual Serial Port Pin
bskirkman2-Feb-06 17:48
bskirkman2-Feb-06 17:48 
AnswerRe: Virual Serial Port Pin
vikas amin24-Jul-08 11:41
vikas amin24-Jul-08 11:41 
QuestionDelegates from dynamically loaded DLL Pin
Tepel2-Feb-06 11:39
Tepel2-Feb-06 11:39 
AnswerRe: Delegates from dynamically loaded DLL Pin
leppie2-Feb-06 11:58
leppie2-Feb-06 11:58 
GeneralRe: Delegates from dynamically loaded DLL Pin
Tepel2-Feb-06 12:14
Tepel2-Feb-06 12:14 
ahhh, never knew it would be that simple!
thanks, you're a life saver!

Edit (for those who want to know):
when you have functions in a seperate AppDomain you can _not_ call them from any other domain directly. What you can do is create a method in the class that contains the function that does a DynamicInvoke()

so in my case it was as simple as this:

<br />
// call the function<br />
FooFunction.Invoke(null);<br />
<br />
// the function class would then have the following method<br />
public object Invoke (params object[] args)<br />
{<br />
    this.Delegate.DynamicInvoke(args);<br />
}<br />


and thats it, it works brilliantly!
-- modified at 18:14 Thursday 2nd February, 2006
Questionturn GUI program into service Pin
BlackDice2-Feb-06 11:29
BlackDice2-Feb-06 11:29 
AnswerRe: turn GUI program into service Pin
malharone2-Feb-06 11:39
malharone2-Feb-06 11:39 
GeneralRe: turn GUI program into service Pin
BlackDice2-Feb-06 11:54
BlackDice2-Feb-06 11:54 
GeneralRe: turn GUI program into service Pin
Colin Angus Mackay2-Feb-06 12:06
Colin Angus Mackay2-Feb-06 12:06 
GeneralRe: turn GUI program into service Pin
BlackDice2-Feb-06 12:14
BlackDice2-Feb-06 12:14 
GeneralRe: turn GUI program into service Pin
Colin Angus Mackay2-Feb-06 12:20
Colin Angus Mackay2-Feb-06 12:20 
GeneralRe: turn GUI program into service Pin
malharone2-Feb-06 12:11
malharone2-Feb-06 12:11 
GeneralRe: turn GUI program into service Pin
BlackDice2-Feb-06 12:16
BlackDice2-Feb-06 12:16 
AnswerRe: turn GUI program into service Pin
Colin Angus Mackay2-Feb-06 12:02
Colin Angus Mackay2-Feb-06 12:02 
AnswerRe: turn GUI program into service Pin
Andy Brummer2-Feb-06 12:19
sitebuilderAndy Brummer2-Feb-06 12:19 
AnswerRe: turn GUI program into service Pin
bskirkman2-Feb-06 17:53
bskirkman2-Feb-06 17:53 
GeneralRe: turn GUI program into service Pin
bskirkman2-Feb-06 17:55
bskirkman2-Feb-06 17:55 
QuestionC# Class Inheritance Pin
LighthouseJ2-Feb-06 11:16
LighthouseJ2-Feb-06 11:16 
AnswerRe: C# Class Inheritance Pin
Guffa2-Feb-06 11:21
Guffa2-Feb-06 11:21 
GeneralRe: C# Class Inheritance Pin
LighthouseJ2-Feb-06 11:44
LighthouseJ2-Feb-06 11:44 
AnswerRe: C# Class Inheritance Pin
Guffa2-Feb-06 22:19
Guffa2-Feb-06 22:19 
GeneralRe: C# Class Inheritance Pin
LighthouseJ3-Feb-06 4:34
LighthouseJ3-Feb-06 4:34 

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.