Announcement

Collapse
No announcement yet.

Hiding Console WIndow of Plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hiding Console WIndow of Plugin

    I'm jumping into plugin development. I've installed and studied the sample plugin, no problem. Other than having to learn the HTML part (one of the 10,000 different ways to do HTML), it's just a Windows Console application.

    By default, console applications cause a console window to appear, and the sample plugin is no different. I know how to hide the window through the use of
    System.Runtime.InteropServices and I can do that. But I thought that surely this is something that every HS plugin developer has to deal with, so there must be a way of doing it that is already coded. Yet I have not been able to find it.

    Can anyone point me to that little bit of obscure magic so I don't have to roll my own?

    Thanks,

    Brad

    #2
    Originally posted by bradleyward View Post
    I'm jumping into plugin development. I've installed and studied the sample plugin, no problem. Other than having to learn the HTML part (one of the 10,000 different ways to do HTML), it's just a Windows Console application.

    By default, console applications cause a console window to appear, and the sample plugin is no different. I know how to hide the window through the use of
    System.Runtime.InteropServices and I can do that. But I thought that surely this is something that every HS plugin developer has to deal with, so there must be a way of doing it that is already coded. Yet I have not been able to find it.

    Can anyone point me to that little bit of obscure magic so I don't have to roll my own?

    Thanks,

    Brad
    When HS runs the plug-in it doesn't open a console window unless the user sets Developer Mode, so you don't need to do anything.

    Steve

    Comment


      #3
      Thanks for the prompt reply! I suspected it would be something simple like that.

      Comment

      Working...
      X