Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: Validation in Multilingual Application using c# Pin
AmitSumit16-Jul-09 23:43
AmitSumit16-Jul-09 23:43 
GeneralRe: Validation in Multilingual Application using c# Pin
0x3c017-Jul-09 0:27
0x3c017-Jul-09 0:27 
GeneralRe: Validation in Multilingual Application using c# Pin
Luc Pattyn17-Jul-09 0:35
sitebuilderLuc Pattyn17-Jul-09 0:35 
GeneralRe: Validation in Multilingual Application using c# Pin
0x3c017-Jul-09 1:18
0x3c017-Jul-09 1:18 
GeneralRe: Validation in Multilingual Application using c# Pin
Luc Pattyn17-Jul-09 1:23
sitebuilderLuc Pattyn17-Jul-09 1:23 
QuestionHow to access a file in different machine Pin
arun_pk16-Jul-09 23:10
arun_pk16-Jul-09 23:10 
AnswerRe: How to access a file in different machine Pin
Tom Deketelaere16-Jul-09 23:18
professionalTom Deketelaere16-Jul-09 23:18 
QuestionLoad Type in DLL in a different AppDomain Pin
Nandiator16-Jul-09 21:57
Nandiator16-Jul-09 21:57 
Hi,

First of all, excuse my English.
My app (Compact Framework) loads 2 copies if the same dll (exactly the same DLL renamed) using reflection.
The DLL should load the corresponding config file according to the DLL name (if the DLL is ModuleA.dll the config is ModuleA.txt, and so on).
My problem is this:
When I load the first DLL, everything goes OK, but when I load the second one when I do Assembly.LoadFrom( FullPath ) it loads the first DLL insteag of the 2nd one, despite the fact that FullPath contains the first DLL's path.
In addition there are the variables which shoul be global to each DLL. As everything is loaded from the first DLL, the globals are the first DLL's ones.

After looking for info I realised that what I need to do is to load each DLL in a different AppDomain, so they are isolated from each other.

To summarize:

One compilation: MyModule.dll
2 copies of the same DLL: MyModuleA.dll & MyModuleB.dll
One config file for each DLL: MyModuleA.txt & MyModuleB.txt
One appdomain for each DLL is needed.

Anyone knows how to do this in Compact Framework?
AnswerRe: Load Type in DLL in a different AppDomain Pin
JoeSharp16-Jul-09 22:16
JoeSharp16-Jul-09 22:16 
GeneralRe: Load Type in DLL in a different AppDomain Pin
Nandiator17-Jul-09 2:59
Nandiator17-Jul-09 2:59 
AnswerRe: Load Type in DLL in a different AppDomain Pin
PIEBALDconsult17-Jul-09 4:48
mvePIEBALDconsult17-Jul-09 4:48 
GeneralRe: Load Type in DLL in a different AppDomain Pin
Nandiator19-Jul-09 21:23
Nandiator19-Jul-09 21:23 
QuestionPassing values from one form to another form in C#.net using windows application Pin
elci16-Jul-09 21:23
elci16-Jul-09 21:23 
AnswerRe: Passing values from one form to another form in C#.net using windows application Pin
Manas Bhardwaj16-Jul-09 21:47
professionalManas Bhardwaj16-Jul-09 21:47 
AnswerRe: Passing values from one form to another form in C#.net using windows application Pin
musefan16-Jul-09 21:54
musefan16-Jul-09 21:54 
GeneralRe: Passing values from one form to another form in C#.net using windows application Pin
elci16-Jul-09 23:07
elci16-Jul-09 23:07 
AnswerRe: Passing values from one form to another form in C#.net using windows application Pin
DaveyM6916-Jul-09 22:37
professionalDaveyM6916-Jul-09 22:37 
QuestionAdd myuserControl to Window Pin
Satish Pai16-Jul-09 21:06
Satish Pai16-Jul-09 21:06 
AnswerRe: Add myuserControl to Window Pin
Baeltazor16-Jul-09 23:27
Baeltazor16-Jul-09 23:27 
GeneralRe: Add myuserControl to Window Pin
Satish Pai17-Jul-09 1:21
Satish Pai17-Jul-09 1:21 
GeneralRe: Add myuserControl to Window Pin
Baeltazor18-Jul-09 0:51
Baeltazor18-Jul-09 0:51 
Question'Screen Capture' Performance Improvement Suggestions... Pin
Trapper-Hell16-Jul-09 20:35
Trapper-Hell16-Jul-09 20:35 
AnswerRe: 'Screen Capture' Performance Improvement Suggestions... Pin
stancrm16-Jul-09 20:40
stancrm16-Jul-09 20:40 
GeneralRe: 'Screen Capture' Performance Improvement Suggestions... Pin
Trapper-Hell16-Jul-09 21:50
Trapper-Hell16-Jul-09 21:50 
AnswerRe: 'Screen Capture' Performance Improvement Suggestions... Pin
Luc Pattyn17-Jul-09 0:46
sitebuilderLuc Pattyn17-Jul-09 0:46 

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.