dllimport
Accessing functions from a 3rd Party SDK in Visual C++ Express 2010
I am wanting to work with a specific piece of hardware that I have gotten from a vendor. I found out that they have an sdk. I downloaded the documentation and materials and everything else needed. Inc[详细]
2023-03-25 14:19 分类:问答__cdecl and __declspec calling conventions confusion
I am writing a DLL fo开发者_运维知识库r a third party application. The main software engineer mentions that the application uses the __cdecl (/Gd) calling convention. That I need to make sure that I u[详细]
2023-03-24 11:14 分类:问答PHP adding new .dll makes Apache server unable to start
I am trying to add an extension to my PHP.I have the file - libssh2.dll - in the appropriate directory (as listed in my php.ini file) and made sure the extension=libssh2.dll.I also copied the .dll fil[详细]
2023-03-23 16:30 分类:问答What exactly is this API and what is it doing?
I know you are gonna hate me for that kind of question. But could somebody tell me what the following code is doing?[详细]
2023-03-22 16:24 分类:问答Importing a DLL in C#
I\'m trying to import a dll to my C# project using DllImport as follows: [DllImport(\"kernel32\")] private static extern long WritePrivateProfileString(string section, string key,string val,string fi[详细]
2023-03-21 08:09 分类:问答DllImport Returning null terminated string AccessViolationException
I am trying to interface with a Dll that implements several functions, one of which takes a null terminated string and an int, and returns a null te开发者_JAVA技巧rminated string. I have attempted to[详细]
2023-03-21 01:05 分类:问答create a wrapper for libraries c#
Sometimes it will be great if I could use some other programs dll and customize them. For example there is a device called usb uirt where I can send ir signals from a computer. The software that is us[详细]
2023-03-21 00:35 分类:问答DLLimport unable to load dll
I am using an unmanaged dll in cpp which I call from from my C# web project. It works fine on my localhost but simply does not work on my shared hosting, winhost. It happens when I try to use one of t[详细]
2023-03-20 13:47 分类:问答C# P/Invoke [DllImport] - array memory management
I\'m passing a byte[] to a function accepting an unsigned char* One way I can do this is to pass an IntPtr, and allocate/deallocate memory in managed code as follows:[详细]
2023-03-19 04:35 分类:问答MarshalAs question in C#
I\'m having trouble receiving data from an external dll routine. The dll is to read data from a mirco-controller chip.This works fine in Delphi,and I\'m trying to get it to work in C#.[详细]
2023-03-18 17:30 分类:问答