Re: Unmanaged code

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello Jason,

Using platform invoke
Read there http://msdn2.microsoft.com/en-gb/library/ms173184.aspx and see sample http://msdn2.microsoft.com/en-gb/library/ms173187.aspx of calling WinAPI


J> Hello
J> J> I've got a DLL from a 3rd party vendor and they wrote the DLL in C++
J> so I can't just easily add a reference to it. How do I add that dll,
J> to my C# application?
J> J> Any idea, examples?
J> ---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche


.



Relevant Pages

  • Access crashes when calling DLL function.
    ... (Running Access 2003 SP3 on WinXP Pro.) ... I have a module created by a 3rd party vendor which calls ... whenever any of the DLL functions are ... ..mdb is not any larger megabytes-wize than the working ones. ...
    (microsoft.public.access.modulesdaovba)
  • Re: WINLOGGON.EXE then lsAss.exe....both bad image, safe mode=blank sc
    ... Please check this against your installation diskette. ... > I tried safe mode, but all i get is a blank screen with only safe mode ... Do you need to contact the 3rd party vendor for new copies because ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: My DLL leaks memory
    ... > I have a DLL that leaks memory, this DLL is critical to my companies ... > The DLL is from a 3rd party vendor, and they are out of buisness, so ... Betov. ...
    (alt.lang.asm)
  • Re: May I Use eVCs component in V.S. dot net 2003??
    ... use the P/Invoke (Platform Invoke), capability of managed code in either C# ... or VB.NET to call exported functions from the DLL, ...
    (microsoft.public.windowsce.app.development)
  • How to call DLLs in Web Service
    ... For a windows or console mode application to call a function in a DLL, ... Use platform invoke to call load library and explicitly specify the ...
    (microsoft.public.dotnet.framework.aspnet)