By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,572 Members | 1,439 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,572 IT Pros & Developers. It's quick & easy.

Help interoperability between C dll and vb.net

P: 1
Hello Everyone,

I am new to interoperability between C dll and vb.net and I have been Having problems for quiet a while.

I have a dll file written in C that I got from an equipment manufacturer and I am trying to import and use it in vb.net, the dll functions I am having problems with are as follows:
1. Void GetNextCommand(Command *curCommand, LPVoid parameters, LPVoid ImageData)

2. void OCR_State(int nationCode, Byte *imageData, int imageSize, char *ocrString, int *ocrStringSize)

The following parameters are filled with values from the functions and returned to calling function.
for function 1 :parameters, imageData
for function 2 : *imageData, *ocrString
My main issue is that how do I marshall the parameters that should be returned to the calling function.

Regards
Dec 9 '13 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.