Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
DLLImport C++ 函数,以 char* 作为输入或输出参数
我有两个想要 DllImport 的 C 函数 bool SendString const char pSendStr long strSize bool ReadString char pReadStr long readStrSize
c
pinvoke
dllimport
有没有原生 DLL 导出函数查看器? [复制]
这个问题在这里已经有答案了 是否有免费的本机 Windows DLL 导出函数查看器 它显示函数名称及其参数列表 dumpbin从 Visual Studio 命令提示符处 dumpbin exports csp dll 输出示例 Micr
dll
function
Native
dllimport
C# 中 PInvoke 代码的使用
我有以下使用 DLLImport 的 C 代码 using System namespace LvFpga class RegTest DllImport kernel32 public extern static int LoadLibr
c
pinvoke
dllimport
从 Metro Style App c# 加载 C 库 (gsdll32.dll)
我想使用 Metro Style App c 中的 gsdll32 dll 我加载dll如下 DllImport gsdll32 dll EntryPoint gsapi delete instance private static ext
c
pdf
microsoftmetro
dllimport
Ghostscript
尝试在 C# 中使用 dllimport 读取或写入受保护的内存
我的项目有一个问题 在 C DLL 中 extern C declspec dllexport int results char imgInput void tree struct kd node nodeTree new tree kd
c
WebServices
dllimport
为按钮添加 UAC 防护罩并保留其背景图像?
在 winforms 应用程序中使用 C 和 Net 4 0 是否可以将 UAC 屏蔽添加到按钮并保留按钮背景图像 如何 这就是我现在正在使用的 但它删除了图像 DllImport user32 dll public static exte
c
WinForms
uac
dllimport
powershell 中的 DLLImport 用于使用相对路径访问 C 风格 32 位 API
我想用powershell中的相对路径导入dll 下面是我尝试导入 dll 的代码片段 dirpath split path MyInvocation MyCommand Definition testDllPath dirpath Tes
PowerShell
dllimport
32bit
在 C# 中使用 Delphi DLL
我有一个用 Delphi 未知版本 编写的第三方 神秘 dll delphi 中的工作示例 2009 年过去 非常需要在我的 C 代码中使用所述 dll 并且几乎没有关于如何做到这一点的相关知识 这是使用这个 dll 的 Delpi 示例
c
Delphi
dllimport
尝试 Azure 与 Unity 连接时出现“NotImplementedException”(c#)
我使用的是Unity 2019 3 6f1 我创建了一个简单的 DLL 用于连接到 Azure 并上传文件 但是 当我调用此 DLL 来尝试连接到 Azure blob 存储时 我得到以下堆栈跟踪 NotImplementedExcepti
c
unitygameengine
dll
azureblobstorage
dllimport
什么时候适合使用 extern 关键字而不使用 [DllImport] 属性?
今天我重新阅读一些 Net 文档时 我注意到该文档的第一部分extern关键词文档 https msdn microsoft com en us library e59b22c5 aspx claims extern 修饰符用于声明外部实现
c
NET
dllimport
DUMPBIN 实用程序损坏的名称输出
我正在使用 DUMPBIN 实用程序从 c dll 中获取损坏的名称以在 c 应用程序中使用 我使用 declspec dllexport 公开一个 C 类成员函数 输出的损坏名称结果如下 InitPort CProtocolStack Q
c
dll
dllimport
dllexport
使用 DllImport 在 C# 中调用 OpenGL 函数?
我目前正在为 OpenGL 开发一个 C 实用程序库 对于跨平台窗口管理 我使用 GLFW 并使用 DllImport 成功加载了 glfwCreateWindow 或 glfwMakeContextCurrent 等函数 现在我想使用 O
c
OpenGL
dllimport
glew
C# 上的 DllImport
如何在 C 中访问 C DLL 的函数 以下是 DLL 的原型 NOMANGLE int CCONV SSPSendCommand SSP COMMAND cmd SSP COMMAND INFO sspInfo NOMANGLE int
c
dllimport
如何从 C++ DLL 中的 C# 简单函数调用
我在 C 中有一个简单的函数 不是类的方法 declspec dllexport extern C void stdcall TestFunc 我尝试从 C 调用它 DllImport ImportTest dll public stati
c
dllimport
有什么方法可以调试我的 .NET 代码通过 dllimport 调用非托管 dll 中的函数后发生的情况吗?
有什么方法可以调试我的 NET 代码通过 dllimport 调用非托管 dll 中的函数后发生的情况吗 我通过 dllimport 在非托管内部公开了一个 dll 函数 当我在单步执行代码时调用函数时 会发生一些事情并且它永远不会返回 我
c
NET
dllimport
将字符串从本机 C++ DLL 传递到 C# 应用程序
我用C 写了一个DLL 其中一个函数写入字符数组 C 函数 EXPORT int xmain int argc char argv char argv2 char pTypeName 4096 Other pTypeName ends up
c
string
visualstudio2008
dllimport
如何使用 DLLImport 将字符串从 C# 传递到 C++(以及从 C++ 传递到 C#)?
我很长一段时间以来一直试图在 C 和 C 之间发送字符串 但还没有成功 所以我的问题很简单 有谁知道将字符串从 C 发送到 C 以及从 C 发送到 C 的方法吗 一些示例代码会有帮助 在你的c代码中 extern C declspec dl
c
string
dllimport
如何声明 DLL 导入签名?
这是后续帖子使用 NET 中的 pHash https stackoverflow com questions 6254447 using phash from net 您将如何在 NET 中声明以下 C 声明 int ph dct ima
c
NET
dllimport
在 C# 中导入 DLL
我正在尝试使用 DllImport 将 dll 导入到我的 C 项目 如下所示 DllImport kernel32 private static extern long WritePrivateProfileString string s
c
NET
dll
dllimport
在 C# 中使用 SetFilePointer 使堆栈不平衡
好的 我在 NET 4 0 中使用 C 中的 SetFilePointer 函数 下面是我用来调用这个函数的 dllimports DllImport Kernel32 dll SetLastError true CharSet CharS
c
net40
pinvoke
dllimport
signature
1
2
3
4
5
6
»