Function Pointer Types

Posted by: IKVM.NET Weblog, on 02 Dec 2011 | View original | Bookmarked: 0 time(s)

In today's snapshot I also added support for function pointer types. The CLI supports both managed and unmanaged function pointer types, however both are unverifiable. Here's a small C++/CLI example of using a managed function pointer type (in the call methodsignature): void func() { System::Console::WriteLine("Hello from Func"); } void call(void (*p)()) { p(); } void main() { call(func); } Compile this with...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: XML | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 292 | Hits: 5

Similar Posts

  • F# in VS2010 more
  • Take Two: A jQuery WCF/ASMX ServiceProxy Client more
  • Getting and Setting Query String Values in JavaScript more
  • Gauge for SQL Server Reporting Services by Nevron more
  • Customizing the SharePoint ECB with Javascript, Part 1 more
  • TechEd South Africa Slides and Code - .NET RIA Services and ViewModel more
  • WPF Release History : Q2 2009 (version 2009.2.701) more
  • Event Aggregation with jQuery more
  • Custom Events in jQuery more
  • A Lightweight Event Framework in JavaScript more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD