Valhalla Legends Forums Archive | .NET Platform | CodeDom

AuthorMessageTime
dRAgoN
Just wondering, when working with this building the base classes and such how can I go about exposeing a said control to my scripts?
March 8, 2007, 6:31 PM
Myndfyr
What do you mean?  What kind of code are you generating?  What scripts?

You've given no details, and CodeDom is very complex.
March 8, 2007, 6:46 PM
dRAgoN
I'm compileing DLL's with the host App useing the same namespace as the host App, for use with the host App.
March 8, 2007, 6:53 PM
Myndfyr
[quote author=l)ragon link=topic=16452.msg166442#msg166442 date=1173379993]
I'm compileing DLL's with the host App useing the same namespace as the host App, for use with the host App.
[/quote]

I still don't understand why you need to use CodeDom.  It's for dynamic code generation.  Are you generating code on the fly, or are you trying to compile code on the fly?
March 8, 2007, 8:10 PM
dRAgoN
[quote author=MyndFyre[vL] link=topic=16452.msg166444#msg166444 date=1173384656]
[quote author=l)ragon link=topic=16452.msg166442#msg166442 date=1173379993]
I'm compileing DLL's with the host App useing the same namespace as the host App, for use with the host App.
[/quote]

I still don't understand why you need to use CodeDom.  It's for dynamic code generation.  Are you generating code on the fly, or are you trying to compile code on the fly?
[/quote]
Went with CodeDom so that I don't have to continualy update sections of my app internaly, it compiles what it needs at startup and if said dlls allready exists it loads them for what ever classes I have them based for.
Problem is I want a said control/s in my host app to be exposed to these loaded DLL's so that I dont have to send the referance to each of these objects my app is compileing/loading, I figured if I had kept them in the same namespace that I woulden't need to do this but I guess not.
March 9, 2007, 12:22 AM
Myndfyr
I'm sorry, but without more info, maybe a code sample or an object or UML diagram, I really don't understand what it is you're doing, and can't offer help.
March 9, 2007, 12:25 AM

Search