Managed Control Panel?

  • Thread starter Thread starter Paul Colton
  • Start date Start date
P

Paul Colton

Are there any examples on writing a Windows Control Panel applet using
managed code?

-Paul
 
Paul,
Are there any examples on writing a Windows Control Panel applet using
managed code?

Which lanaugage do you want to write it in? Applets must export a
static entry point called CPlApplet that's called by the Control
Panel, and exporting functions that way is only possible in C++ and IL
assembler.



Mattias
 
Hi Paul,

From your description, you wants to make an Control Panel Applet with C#.
If I have any misunderstanding, please correct me.

Based on my knowledge, we can not make Control Panel Applet within C#.
Since we can not export the function as we make the legacy dll in C++ do.

Here is a link you may take a look.
http://groups.google.com/groups?q="Control+Panel+applet"+vb.net&hl=zh-CN
&lr=&ie=UTF-8&oe=UTF-8&selm=%23jVHlv9EDHA.1656%40TK2MSFTNGP10.phx.gbl&rnum=3

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Paul,

From your description, you wants to make an Control Panel Applet with C#.
If I have any misunderstanding, please correct me.

Based on my knowledge, we can not export the function in C# as we do in
C++.

Here is a link you may take a look.
http://groups.google.com/groups?q="Control+Panel+applet"+vb.net&hl=zh-CN
&lr=&ie=UTF-8&oe=UTF-8&selm=%23jVHlv9EDHA.1656%40TK2MSFTNGP10.phx.gbl&rnum=3

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Paul,
C# would be my choice. Can you use interop for the entry point?

No you can't do this in pure C#. It would at least require some
post-build tweaking of the assembly with ILDASM and ILASM.



Mattias
 
Back
Top