Welcome to the CoderBoard Community!

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to exclusive download links, post topics, communicate privately with other members (conversations), respond to polls, share content and access many other special features.
Registration is fast, simple and absolutely FREE so please, join our community today!

Click Here to Sign Up Now!

PInvoker.NET 1.3.3

Discussion in '.NET Development' started by beastie, Jan 27, 2016.

  1. beastie

    beastie Well-Known Member

    Joined:
    Dec 1, 2015
    Messages:
    491
    Likes Received:
    6,771
    What is PInvoker ?
    PInvoker .NET generates a pinvoke based .NET interop assembly (dll) by importing a number of C++ static dlls and a C++ header file (.h).

    It imports the functions and variables exported by the native static dll, finds their definitions in the header file and from these exports pinvoke compatible types and functions in a .NET interop assembly (dll).

    The generated pinvoke based interop assembly gives applications written in C#, VB.NET or any other .NET language access to the functions and variables in the native dlls.


    What does the PInvoker Installation Contain ?
    The PInvoker installation contains two applications.

    PInvoker.exe is a console application for use in continuous build environments. It can also be run as part of a post-build step in Visual Studio projects to automatically generate a .NET interop assembly whilst building a solution.

    PInvokerGui.exe is a windows forms application which provides a user interface for the console application. This allows configuration settings to be easily defined and a project file exported which can then be read by the console-application form of PInvoker.

    What does PInvoker Support ?
    The current version of PInvoker produces pinvoke based interop assemblies for

    • Dll Exported variables.
    • Dll Exported functions (stdcall and cdecl).
    • Arrays.
    • Strings.
    • Classes and Structures with public member variables only.
    • Bitfield structures.
    • Unions.
    • Enums.
    • Function pointers.
    • Typedefs.
    • Namespaces.
    • Nested types.
    • Constants (constant variables in namespace scope and #define constants).
    Support for the following is to be included in future versions

    • Classes and structures with protected and private members.
    • __declspec(dllexport) classes
    • Instance methods.
    • Constructors and destructors.
    • Inheritance.
    • Interfaces.
    • COM types (BSTR etc).
    • Templates.
    • STL Headers.
    • Interface generation for x64 processors (64-bit).
    The interface assemblies produced by PInvoker are compatible with the compact framework 2.0 except for

    • Returning structs by value from functions.
    Requirements
    The .NET interop assemblies generated by PInvoker require the PInvoker.Marshal.dll assembly.

    This file is verifyable and freely distributable and can be copied and deployed with your applications as required.

    PInvoker uses the .NET 2.0 SP2 Framework.

    Download
    Hidden Content:
    You must reply before you can see the hidden data contained here.
     
    #1
  2. tiodor

    tiodor New Member

    Joined:
    Feb 14, 2016
    Messages:
    17
    Likes Received:
    5
    Many thanks, old, but still pretty useful tool
     
    #2
  3. mglee

    mglee New Member

    Joined:
    Feb 16, 2016
    Messages:
    14
    Likes Received:
    2
    thanks
     
    #3
  4. jonnynovikov

    jonnynovikov New Member

    Joined:
    Feb 19, 2016
    Messages:
    10
    Likes Received:
    0
  5. MohamedElSadany

    MohamedElSadany New Member

    Joined:
    Feb 25, 2016
    Messages:
    22
    Likes Received:
    0
  6. htp000000

    htp000000 New Member

    Joined:
    Mar 8, 2016
    Messages:
    23
    Likes Received:
    1
    thanks
     
    #6
  7. Adal

    Adal Member

    Joined:
    Mar 6, 2016
    Messages:
    31
    Likes Received:
    0
    gracias
     
    #7
  8. tunkobarrios

    tunkobarrios New Member

    Joined:
    Mar 2, 2016
    Messages:
    26
    Likes Received:
    0
    Thank ...
     
    #8
  9. CHOUAiB

    CHOUAiB New Member

    Joined:
    Mar 16, 2016
    Messages:
    22
    Likes Received:
    0
    this is a good tool.
    thanks for this
     
    #9
  10. Venenarius

    Venenarius Member

    Joined:
    Mar 9, 2016
    Messages:
    101
    Likes Received:
    1
  11. boycodon00

    boycodon00 Member

    Joined:
    Mar 17, 2016
    Messages:
    55
    Likes Received:
    0
    thanks for sharing
     
    #11
  12. phkerr

    phkerr New Member

    Joined:
    Mar 22, 2016
    Messages:
    24
    Likes Received:
    1
    thanks for share
     
    #12
  13. masiz

    masiz New Member

    Joined:
    Mar 6, 2016
    Messages:
    23
    Likes Received:
    1
     
    #13
  14. tatweertech

    tatweertech Member

    Joined:
    Apr 17, 2016
    Messages:
    50
    Likes Received:
    0
  15. sheduler

    sheduler New Member

    Joined:
    Mar 11, 2016
    Messages:
    12
    Likes Received:
    0
    thanks for share
     
    #15
  16. roder

    roder New Member

    Joined:
    May 2, 2016
    Messages:
    3
    Likes Received:
    0
    Thank you
     
    #16
  17. sittichai33

    sittichai33 New Member

    Joined:
    May 4, 2016
    Messages:
    7
    Likes Received:
    0
  18. xtovo

    xtovo New Member

    Joined:
    Mar 24, 2016
    Messages:
    4
    Likes Received:
    1
    thx
     
    #18
  19. dcweb

    dcweb New Member

    Joined:
    Jun 1, 2016
    Messages:
    10
    Likes Received:
    0
    thx....
     
    #19
  20. arungpalakka

    arungpalakka Member

    Joined:
    Feb 6, 2016
    Messages:
    56
    Likes Received:
    1
    Thanks a lot
     
    #20

Share This Page