use functions in .h file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I hope I haven't gone to the wrong group..

Actually, I am a beginner, so please don't mind if I have asked some stupid
question. .
Now I'm writing an application using speech SDK (SAPI) with visual
basic.net, but I want to use some functions in a .h file provided by the SDK,
I am very confused that if there's any way I can include .h file in VB.net?

Many thanks!!

Regards,
Katy
 
Hello katy,

You can use P/Invoke for this. Read there: http://samples.gotdotnet.com/quickstart/howto/
(Interoperability section)
k> Hi,
k> I hope I haven't gone to the wrong group..
k> Actually, I am a beginner, so please don't mind if I have asked some
k> stupid
k> question. .
k> Now I'm writing an application using speech SDK (SAPI) with visual
k> basic.net, but I want to use some functions in a .h file provided by
k> the SDK,
k> I am very confused that if there's any way I can include .h file in
k> VB.net?
k> Many thanks!!
k>
k> Regards,
k> Katy
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Back
Top