Sunday, May 20, 2007

How do I call a C/C++ vararg function from C#?

Usually you write declarations for each signature using which you intend to call the function. But there is another way:

In VC#.NET, if you're willing to rely on undocumented features, you can
also use the __arglist keyword to define a real .NET vararg method.

[Link]

No comments:

About Me

My photo
C/C++ Programmer doing CAD on Windows. Some web development experience. Bangalorean.

Blog Archive

Labels