Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. DLL Win32 types in C# ??

DLL Win32 types in C# ??

Scheduled Pinned Locked Moved C#
csharpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    EdgarBM
    wrote on last edited by
    #1

    Hi, does any one knows where can I find extense documentation about parameters type changing between unmanaged Win32 DLLs and NET managed code calling? ...I'm trying to call unmanaged code DLLs and I have problems of Null Reference Exceptions (in this first step, later I'll surelly have problems of type incompatibilities) Please, give me any information you can. Thank you in advance, Edgar Edgar Berengena Moreno Software Engineer Appeyron Research

    S L E 3 Replies Last reply
    0
    • E EdgarBM

      Hi, does any one knows where can I find extense documentation about parameters type changing between unmanaged Win32 DLLs and NET managed code calling? ...I'm trying to call unmanaged code DLLs and I have problems of Null Reference Exceptions (in this first step, later I'll surelly have problems of type incompatibilities) Please, give me any information you can. Thank you in advance, Edgar Edgar Berengena Moreno Software Engineer Appeyron Research

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #2

      First sight, ms-help.
      Second sight, ms-help 2.


      And I swallow a small raisin.

      1 Reply Last reply
      0
      • E EdgarBM

        Hi, does any one knows where can I find extense documentation about parameters type changing between unmanaged Win32 DLLs and NET managed code calling? ...I'm trying to call unmanaged code DLLs and I have problems of Null Reference Exceptions (in this first step, later I'll surelly have problems of type incompatibilities) Please, give me any information you can. Thank you in advance, Edgar Edgar Berengena Moreno Software Engineer Appeyron Research

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #3

        MSDN gives you most of the answers. Have a look at Interoperating with Unmanaged Code[^] Like Eric answered my post, its best to give a specific example and to work on that. In the unmanaged world not all things are equal. Also to make code CLS-Compliant stick to signed types. Hope this helps :) MYrc : A .NET IRC client with C# Plugin Capabilities. See http://sourceforge.net/projects/myrc for more info. :-D

        1 Reply Last reply
        0
        • E EdgarBM

          Hi, does any one knows where can I find extense documentation about parameters type changing between unmanaged Win32 DLLs and NET managed code calling? ...I'm trying to call unmanaged code DLLs and I have problems of Null Reference Exceptions (in this first step, later I'll surelly have problems of type incompatibilities) Please, give me any information you can. Thank you in advance, Edgar Edgar Berengena Moreno Software Engineer Appeyron Research

          E Offline
          E Offline
          EdgarBM
          wrote on last edited by
          #4

          Thanks both for your fast replies. They helped a lot. Edgar Berengena Moreno Software Engineer Appeyron Research

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups