By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,820 Members | 870 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,820 IT Pros & Developers. It's quick & easy.

CallConvCdecl

P: n/a
Hi

Has anybody ever used that class? I would need to implement an attribute
using that class, to declare a callback-function with Cdecl Calling
Convention.Are there samples for that?

Ralph
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
>Has anybody ever used that class? I would need to implement an attribute
using that class, to declare a callback-function with Cdecl Calling
Convention.Are there samples for that?


For that to work the attribute would have to be placed on the
delegate's Invoke method. But since you don't write that explicitly in
VB.NET you can't do it that way.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.