Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How to call unmanaged c++ dll in wcf library?
chandrashekhar sharma
Dec 21 2015 5:50 AM
567
Reply
I want to call c++ method from wcf service for get ip camera status.
Bellow code run successfully using wpf application but i want to run this method in wcf library then consume in wpf application.
when call method from wcf library then throw exeption. "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"
Hide
Copy Code
[DllImport("dhnetsdk.dll")]
private static extern bool CLIENT_CapturePicture(int hPlayHandle, string pchPicFileName);
Please give solution on urgent basis.
Thanks & Regards
Chandrashekhar Sharma
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
using wcf client can communicate with service...
How to call c++ dll in wcf Service?