Windows ce设备应用程序开发 [英] windows ce device application development
问题描述
嗨...
这是pradeep
我正在为Windows ce设备(海豚6500)开发应用程序,该设备还带有摄像头.我想在我的应用程序中调用相机,我尝试使用"CameraCaptureDialog",但它会引发错误,因为
Hi...
this is pradeep
I am developing application for windows ce device (dolphin 6500), the device has camera also. I want to invoke camera in my application, I try with "CameraCaptureDialog" but it raising error as
"Can't find an Entry Point 'SHCameraCapture' in a PInvoke DLL 'aygshell.dll'."
请帮帮我......
在此先感谢....
please help me......
Thanks in advance....
推荐答案
从以下内容开始:运行一些二进制转储实用程序,以查看真正导出的内容和名称.例如,使用
Start with the following: run some binary dump utility to see what''s really exported and under what names. For example, use
DUMPBIN.EXE \full-path-name-to\aygshell.dll > aygshell.dll.dump.txt
,您可以通过Visual Studio命令提示符来执行.
在[DllImport]
属性中使用显式的EntryPoint
参数.
然后可以修饰名称( http://en.wikipedia.org/wiki/Name_mangling [extern C".关于调用约定和签名,您可能需要通过文档甚至是一些猜测来了解它.
You can do it through Visual Studio Command Prompt.
Use explicit EntryPoint
parameter in your [DllImport]
attribute.
Then name could be decorated (http://en.wikipedia.org/wiki/Name_mangling[^]), you could misspell it, etc. This method is even useful if you write your own native DLL, especially with C++. This way, you can avoid pointless "extern C
". As to the calling conventions and signature, you need to know it, possibly through documentation or even through some guesswork.
这篇关于Windows ce设备应用程序开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!