Click here to Skip to main content
15,915,867 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to create a memory mapped file in a service? Pin
occam5-Apr-11 23:29
occam5-Apr-11 23:29 
AnswerRe: How to create a memory mapped file in a service? Pin
PIEBALDconsult5-Apr-11 19:16
mvePIEBALDconsult5-Apr-11 19:16 
GeneralRe: How to create a memory mapped file in a service? Pin
occam7-Apr-11 22:08
occam7-Apr-11 22:08 
QuestionADDINS Pin
Abou taleb4-Apr-11 13:36
Abou taleb4-Apr-11 13:36 
AnswerRe: ADDINS Pin
dan!sh 4-Apr-11 20:41
professional dan!sh 4-Apr-11 20:41 
Questionchange common button properties from external thread Pin
Member 78123184-Apr-11 13:24
Member 78123184-Apr-11 13:24 
AnswerRe: change common button properties from external thread Pin
Luc Pattyn4-Apr-11 15:12
sitebuilderLuc Pattyn4-Apr-11 15:12 
QuestionExecute cross-app domain code Pin
Benny_Lava4-Apr-11 3:43
Benny_Lava4-Apr-11 3:43 
Hello,

This is the situation I have an assembly A (plugin) loaded into separate app domain, that assembly fires a couple of events.

And i have a class B created using the default App domain.

Now Class A raises and event and event handler in class B catches that event, but since it is called from another App domain (A) it cannot see variables of app domain B (all variables are null) in this case a public static object that is 100% not null on app domain B.

I think i understand why the variable is null, but how do i execute event handler code in app domain B so that code executed in app domain B will see the variables initialized?

I have tried CrossAppDomainDelegate but it can only call mehods that don't have any parameters, and since this is an event handler it has parameters and not standard event signature but with a custom EventArgs.

How can i solve this problem.

Thank you!
AnswerRe: Execute cross-app domain code Pin
BobJanova4-Apr-11 4:53
BobJanova4-Apr-11 4:53 
QuestionDataset to defined XML schema Pin
Yosh_3-Apr-11 23:37
professionalYosh_3-Apr-11 23:37 
AnswerRe: Dataset to defined XML schema Pin
#realJSOP4-Apr-11 1:20
professional#realJSOP4-Apr-11 1:20 
GeneralRe: Dataset to defined XML schema Pin
Yosh_4-Apr-11 1:27
professionalYosh_4-Apr-11 1:27 
GeneralRe: Dataset to defined XML schema Pin
Pete O'Hanlon4-Apr-11 1:38
mvePete O'Hanlon4-Apr-11 1:38 
GeneralRe: Dataset to defined XML schema Pin
Yosh_4-Apr-11 1:40
professionalYosh_4-Apr-11 1:40 
GeneralRe: Dataset to defined XML schema Pin
Pete O'Hanlon4-Apr-11 1:44
mvePete O'Hanlon4-Apr-11 1:44 
GeneralRe: Dataset to defined XML schema Pin
Yosh_4-Apr-11 2:05
professionalYosh_4-Apr-11 2:05 
GeneralRe: Dataset to defined XML schema Pin
Pete O'Hanlon4-Apr-11 2:14
mvePete O'Hanlon4-Apr-11 2:14 
GeneralRe: Dataset to defined XML schema Pin
Yosh_4-Apr-11 2:23
professionalYosh_4-Apr-11 2:23 
AnswerRe: Dataset to defined XML schema Pin
Rob Philpott4-Apr-11 2:17
Rob Philpott4-Apr-11 2:17 
GeneralRe: Dataset to defined XML schema Pin
Yosh_4-Apr-11 2:31
professionalYosh_4-Apr-11 2:31 
GeneralRe: Dataset to defined XML schema Pin
Rob Philpott4-Apr-11 2:37
Rob Philpott4-Apr-11 2:37 
GeneralRe: Dataset to defined XML schema Pin
Yosh_4-Apr-11 3:19
professionalYosh_4-Apr-11 3:19 
GeneralRe: Dataset to defined XML schema Pin
Pete O'Hanlon4-Apr-11 2:41
mvePete O'Hanlon4-Apr-11 2:41 
GeneralRe: Dataset to defined XML schema Pin
Yosh_4-Apr-11 2:58
professionalYosh_4-Apr-11 2:58 
GeneralRe: Dataset to defined XML schema Pin
Pete O'Hanlon4-Apr-11 3:26
mvePete O'Hanlon4-Apr-11 3:26 

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.