Re: C++ Wrapper for VB.net
Please, edit your post to add the Code tags around the code snippets. Otherwise your code is absolutely unreadable!
Re: C++ Wrapper for VB.net
Do the dll functions work when called from a C++ test project?
Re: C++ Wrapper for VB.net
Hello Arjay:
YES is 100% working when it is being called in the C++ test project.. I don't have the source code of this c++ dll, I only have the DLL and a .H header.
Regards,
Newbie here
Quote:
Originally Posted by
Arjay
Do the dll functions work when called from a C++ test project?
Re: C++ Wrapper for VB.net
@VictorN:
Sorry if you could not read my code., I don't know how to put my code around the code snippets.
Quote:
Originally Posted by
VictorN
Please, edit your post to add the Code tags around the code snippets. Otherwise your code is absolutely unreadable!
Re: C++ Wrapper for VB.net
Quote:
Originally Posted by
kpax1684
@VictorN:
Sorry if you could not read my code., I don't know how to put my code around the code snippets.
Hmm, being almost four years here in Forum but not having read the Announcement: Before you post.... yet? :confused::eek:
Re: C++ Wrapper for VB.net
Thanks, VictorN for reminding me.., I tried to make it colorful but this is i've got..,
Quote:
Originally Posted by
VictorN
Re: C++ Wrapper for VB.net
Quote:
Originally Posted by
kpax1684
Thanks, VictorN for reminding me.., I tried to make it colorful but this is i've got..,
it's OK now. To be readable code has to be formatted with proper tabs7indentations and whitespaces. Colorisation is not so important!
Re: C++ Wrapper for VB.net
Check out the pinvoke.net site.
Re: C++ Wrapper for VB.net
I have checked the pinvoke site but I could not get a better explanation there..,
Re: C++ Wrapper for VB.net
Quote:
Originally Posted by
kpax1684
I have checked the pinvoke site but I could not get a better explanation there..,
How you use the pinvoke.net site is you find a signature that is correct for your function prototype. There are many examples of Win32 prototypes so you should be able to find one similar to what you need.