C# Control Panel applet

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stuart Roberts

    #1

    C# Control Panel applet

    I wish to implement a control panel applet for my application, accessed from
    the standard windows control panel. Is they a simple way of ding this for a
    C# project? Am I right in thinking that i just need a dll file (renamed to
    cpl?) with some sort of standard interface?


    --
    Regards,

    Stu.

    If you let idiots piss you off, you will go
    around pissed off the rest of your life.

    Never argue with idiots because they will
    bring it down to their level and beat you
    with experience.


  • Grant Richins [MS]

    #2
    Re: C# Control Panel applet

    Yes, you are correct. However the 'interface' is really just a bunch of
    specifically named functions exported from the DLL. C# (and VB.NET) do not
    allow you to export functions from a DLL. You would need to use the managed
    C++ extensions to export the native functions and then call your C# code.

    --
    --Grant
    This posting is provided "AS IS" with no warranties, and confers no rights.


    "Stuart Roberts" <news@heronwood .co.uk> wrote in message
    news:ojpiu-gu4.ln1@mrnosey .heronwood.co.u k...[color=blue]
    > I wish to implement a control panel applet for my application, accessed[/color]
    from[color=blue]
    > the standard windows control panel. Is they a simple way of ding this for[/color]
    a[color=blue]
    > C# project? Am I right in thinking that i just need a dll file (renamed[/color]
    to[color=blue]
    > cpl?) with some sort of standard interface?
    >
    >
    > --
    > Regards,
    >
    > Stu.
    >
    > If you let idiots piss you off, you will go
    > around pissed off the rest of your life.
    >
    > Never argue with idiots because they will
    > bring it down to their level and beat you
    > with experience.
    >
    >[/color]


    Comment

    Working...