pinvoke
Can I export a C++ interface with C-Style methods to a C# dll
I\'m trying to avoid COM. I\'m designing a mixture C# and C++ controls on a C++ exe. One method I came up with is PInvoking my C++ exe from C#, and sending windows messages to the C# windows. However[详细]
2023-03-14 20:22 分类:问答Unable to load C++ DLL in C# application in Windows 7 32 bit OS
I have a DLL written in C++ that needs to be used by an application in C#. Setti开发者_JAVA技巧ngs:[详细]
2023-03-14 19:04 分类:问答How to dynamically load and unload a native DLL file?
I have a buggy third-party DLL 开发者_运维技巧files that, after some time of execution, starts throwing the access violation exceptions. When that happens I want to reload that DLL file. How do I do t[详细]
2023-03-14 17:49 分类:问答How to correctly P/Invoke this function?
How to correctly P/Invoke this function? co开发者_如何学JAVAnst char * GetReplyTo(const char * pszInText, char * pszOutText, int len)[详细]
2023-03-14 07:06 分类:问答PInvoke problem
This is the signature of the native c method: bool nativeMethod1 (unsigned char *arrayIn, unsigned int arrayInSize,[详细]
2023-03-14 03:51 分类:问答Hooking into Windows message loop in WPF window adds white border on the inside
I am trying to create a WPF window with WindowStyle=\"None\" (for custom buttons and no title) that cannot be resized.Setting ResizeMode to NoResize removes the aero border, which I want to keep.[详细]
2023-03-13 03:03 分类:问答PInvoke and IStream
I have an exported function from a dll written in c++ with the following signiture: Foo( LPSTREAM *pStream, UINT &Size )[详细]
2023-03-13 01:10 分类:问答Is there a tool that generates P/Invoke signatures for arbitrary unmanaged DLL?
I stumbled upon a tool that generates P/Invoke signatures for Microsoft\'s开发者_运维百科 own unmanaged DLLs: PInvoke Interop Assistant[详细]
2023-03-12 21:02 分类:问答What is wrong with this pinvoke?
I have this piece of code that has not been modified but all of a sudden it has stopped working... I could swear that it used to work but can\'t guarantee it. It throws an exception:[详细]
2023-03-12 17:02 分类:问答PInvoke PFCreateInterface C#
I am attempting to pinvoke PFCreateInterface in C# for a packet filtering app. However, the example on pinvoke.net seems inadequately documented. For starters, once StartPacketFilter() in main is call[详细]
2023-03-12 09:59 分类:问答