Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
GeneralInvalid Cast exception Pin
tantiboh16-Apr-05 9:53
tantiboh16-Apr-05 9:53 
GeneralRe: Invalid Cast exception Pin
Heath Stewart16-Apr-05 10:15
protectorHeath Stewart16-Apr-05 10:15 
GeneralRe: Invalid Cast exception Pin
Heath Stewart16-Apr-05 10:20
protectorHeath Stewart16-Apr-05 10:20 
GeneralRe: Invalid Cast exception Pin
tantiboh16-Apr-05 13:59
tantiboh16-Apr-05 13:59 
GeneralCrystal Report Speed Pin
Kyaw Soe Khaing16-Apr-05 9:20
Kyaw Soe Khaing16-Apr-05 9:20 
GeneralDynamic Assemblies Pin
Pepperman500016-Apr-05 4:45
Pepperman500016-Apr-05 4:45 
GeneralRe: Dynamic Assemblies Pin
Heath Stewart16-Apr-05 8:11
protectorHeath Stewart16-Apr-05 8:11 
GeneralRe: Dynamic Assemblies Pin
Pepperman500016-Apr-05 8:33
Pepperman500016-Apr-05 8:33 
Thanks for the reply Heath.

I have tried to call "DefineDynamicAssembly" on a secondary AppDomain but I always get a SerializationException. Basically says AssemblyBuilder is not marked as Serializable. I'm guessing that might have something to do with the AppDomainSetup of my new AppDomain. Would could solve that problem?

As for the Load function mentioned above, I dont believe I could use that because I need to generate the compiled code with an AssemblyBuilder, ModuleBuilder, MethodBuilder, etc, and I believe DefineDynamicAssembly is the only way to initialize the AssemblyBuilder to compile OpCodes.
GeneralRe: Dynamic Assemblies Pin
Heath Stewart16-Apr-05 8:43
protectorHeath Stewart16-Apr-05 8:43 
GeneralRe: Dynamic Assemblies Pin
Pepperman500016-Apr-05 8:50
Pepperman500016-Apr-05 8:50 
GeneralManaging access in nested classes Pin
matthias s.16-Apr-05 4:17
matthias s.16-Apr-05 4:17 
GeneralRe: Managing access in nested classes Pin
leppie16-Apr-05 5:53
leppie16-Apr-05 5:53 
GeneralRe: Managing access in nested classes Pin
Phil Harding16-Apr-05 14:54
Phil Harding16-Apr-05 14:54 
GeneralCross-Frame access Pin
Anonymous16-Apr-05 4:07
Anonymous16-Apr-05 4:07 
GeneralRe: Cross-Frame access Pin
Heath Stewart16-Apr-05 8:46
protectorHeath Stewart16-Apr-05 8:46 
GeneralRe: Cross-Frame access Pin
Anonymous16-Apr-05 9:33
Anonymous16-Apr-05 9:33 
GeneralRe: Cross-Frame access Pin
Heath Stewart16-Apr-05 9:37
protectorHeath Stewart16-Apr-05 9:37 
GeneralRe: Cross-Frame access Pin
Anonymous16-Apr-05 10:05
Anonymous16-Apr-05 10:05 
GeneralRe: Cross-Frame access Pin
Heath Stewart16-Apr-05 10:32
protectorHeath Stewart16-Apr-05 10:32 
GeneralRe: Cross-Frame access Pin
Anonymous16-Apr-05 10:52
Anonymous16-Apr-05 10:52 
Generalhelp me plz Pin
fekra16-Apr-05 4:03
fekra16-Apr-05 4:03 
GeneralRe: help me plz Pin
Colin Angus Mackay16-Apr-05 10:49
Colin Angus Mackay16-Apr-05 10:49 
Questioncenter text? Pin
Larsson16-Apr-05 3:33
Larsson16-Apr-05 3:33 
AnswerRe: center text? Pin
Heath Stewart16-Apr-05 10:00
protectorHeath Stewart16-Apr-05 10:00 
GeneralRe: center text? Pin
Larsson16-Apr-05 10:11
Larsson16-Apr-05 10:11 

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.