skip to main | skip to sidebar

asp tech blog

Friday, September 30, 2005

using C++ dll in C#

this article have thorough explaination of how to import unmanaged dll into .NET code and use it.

http://msdn.microsoft.com/msdnmag/issues/02/08/CQA/

using System.Runtime.InteropServices; // DllImport
public class Win32 {
[DllImport("User32.Dll")]
public static extern void SetWindowText(int h, String s);
}
Posted by GD_V3 at 10:46 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Link

  • Avinash's blog

Blog Archive

  • ►  2010 (4)
    • ►  November (1)
    • ►  October (1)
    • ►  August (1)
    • ►  February (1)
  • ►  2009 (6)
    • ►  November (2)
    • ►  May (2)
    • ►  April (2)
  • ►  2008 (3)
    • ►  October (1)
    • ►  April (1)
    • ►  January (1)
  • ►  2007 (10)
    • ►  December (1)
    • ►  November (1)
    • ►  October (2)
    • ►  August (5)
    • ►  July (1)
  • ►  2006 (11)
    • ►  November (1)
    • ►  October (1)
    • ►  May (4)
    • ►  April (2)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ▼  2005 (19)
    • ►  December (1)
    • ►  November (1)
    • ▼  September (4)
      • using C++ dll in C#
      • loop webcontrols in a page, and disable them all
      • add a blank entry to the databind dropdownlist
      • retain value of password filed when postback
    • ►  August (2)
    • ►  July (3)
    • ►  April (1)
    • ►  March (1)
    • ►  February (2)
    • ►  January (4)
  • ►  2004 (15)
    • ►  December (8)
    • ►  November (7)

About Me

GD_V3
View my complete profile