• Welcome to Valhalla Legends Archive.
 

CodeDom

Started by l)ragon, March 08, 2007, 12:31 PM

Previous topic - Next topic

l)ragon

Just wondering, when working with this building the base classes and such how can I go about exposeing a said control to my scripts?
*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*ˆ¨¯¯¨ˆ*^~·.,l)ragon,.-·~^*ˆ¨¯¯¨ˆ*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*

MyndFyre

What do you mean?  What kind of code are you generating?  What scripts?

You've given no details, and CodeDom is very complex.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

l)ragon

#2
I'm compileing DLL's with the host App useing the same namespace as the host App, for use with the host App.
*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*ˆ¨¯¯¨ˆ*^~·.,l)ragon,.-·~^*ˆ¨¯¯¨ˆ*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*

MyndFyre

Quote from: l)ragon on March 08, 2007, 12:53 PM
I'm compileing DLL's with the host App useing the same namespace as the host App, for use with the host App.

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?
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

l)ragon

Quote from: MyndFyre[vL] on March 08, 2007, 02:10 PM
Quote from: l)ragon on March 08, 2007, 12:53 PM
I'm compileing DLL's with the host App useing the same namespace as the host App, for use with the host App.

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?
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.
*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*ˆ¨¯¯¨ˆ*^~·.,l)ragon,.-·~^*ˆ¨¯¯¨ˆ*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*

MyndFyre

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.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.