Jump to content
View in the app

A better way to browse. Learn more.

Obsidian Forum Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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?

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 Rim
Now the Spinward Marches don't look so GRIM!


 

  • 2 weeks later...

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.

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 Rim
Now the Spinward Marches don't look so GRIM!


 

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.