小编snm*_*snm的帖子

如何使用DELPHI中用C编写的外部DLL

我需要使用外部dll与数码相机进行通信,我发现程序带有适当的dll,可以实现通信.在dll描述中,我找到了适合我需要的功能.DLL Header看起来像这样....

//-------------------------------------------------------------------
// ReleaseShutter()
// Inputs:
//   timeOutInSecs   timeout in secs to wait for picture to be
//                   taken and downloaded (max 60 secs)
//   pszFilename     option string in which to store the name of the
//                   saved image. Set to NULL if not required
//   numChars        length of pszFilename if defined
//
// Returns://   0 - Success, image saved
//   1 - PSRemote is not running
//   2 - PSRemote is running but camera is not connected
// …
Run Code Online (Sandbox Code Playgroud)

delphi dll

3
推荐指数
1
解决办法
2395
查看次数

标签 统计

delphi ×1

dll ×1