Marshal.GetFunctionPointerForDelegate Method

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • VeNoM00

    #1

    Marshal.GetFunctionPointerForDelegate Method

    Marshal.GetFunc tionPointerForD elegate Method
    Note: This method is new in the .NET Framework version 2.0.

    http://msdn2.microsoft.com/en-us/library/at4fb09f

    I need to use this function in an older version of the framework... Any
    idea?

    Thanks for any suggestions.


  • Dragon

    #2
    Re: Marshal.GetFunc tionPointerForD elegate Method

    Hi,

    "VeNoM00" <venom00@nospam .it> ñîîáùèë/ñîîáùèëà â íîâîñòÿõ ñëåäóþùåå:
    news:eG5sgga0FH A.2752@TK2MSFTN GP12.phx.gbl...[color=blue]
    > Marshal.GetFunc tionPointerForD elegate Method
    > Note: This method is new in the .NET Framework version 2.0.
    >
    > http://msdn2.microsoft.com/en-us/library/at4fb09f
    >
    > I need to use this function in an older version of the framework...[/color]
    Any[color=blue]
    > idea?
    >
    > Thanks for any suggestions.
    >
    >[/color]

    I'm not sure, but you can try

    ~
    YourDelegate.Me thod.MethodHand le.Value
    ~

    HTH,
    Roman


    Comment

    • Mattias Sjögren

      #3
      Re: Marshal.GetFunc tionPointerForD elegate Method

      >I need to use this function in an older version of the framework... Any[color=blue]
      >idea?[/color]

      Well you can't since it's not there. If you tell us what you're trying
      to accomplish we may be able to suggest another solution.


      Mattias

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

      Comment

      Working...