January 7, 200917 yr I have a program written in C#. It consists of a small main executable and several added DLL's. In other words, it is a Solution with several added projects. Here is where it gets interesting. A co-worker has created a stand-alone executable that does somethnig that I can use in my program. The co-workers program produces an exe when compiled and it has its own main routine. His program has its own namespeace and has just one class. The plan is for me to create my own class in my code that inherits the co-workers class. How do I do this? Also, are there special considerations to be given since I am going to make my own class and DLL that uses his code that is written as if it was a single execuatable?
January 8, 200917 yr Have you looked into using Reflection? I came up with Crate 3.0 technology. Crate 4.0 - we shall just have to wait and see.Down and out on the Solomani RimNow the Spinward Marches don't look so GRIM!
January 18, 200917 yr Uhm... just ask your co-worker to refactor his project in a sane way (or do it yourself): a core class library + a thin executable wrapper. This way you can actually reuse his code. That's the entire point of having a library.
January 19, 200917 yr Uhm... just ask your co-worker to refactor his project in a sane way (or do it yourself): a core class library + a thin executable wrapper. This way you can actually reuse his code. That's the entire point of having a library. That was my initial thinking... Though I was thinking it may be possible in some manner... I came up with Crate 3.0 technology. Crate 4.0 - we shall just have to wait and see.Down and out on the Solomani RimNow the Spinward Marches don't look so GRIM!
Create an account or sign in to comment