Saturday, 28 September 2013

StrPtr not recognized in visual basic (VS 2012)?

StrPtr not recognized in visual basic (VS 2012)?

I'm using VS 2012:
Here's my situation:
I'm writing some code in visual basic that calls a dll function that I've
written in C++ (also written using vs 2012). One of my function's
arguments takes the wchar_t* data type, so I need to format my string from
vb accordingly using StrPtr.
Here's my problem:
Visual Basic does not recognize StrPtr as a function. I get: 'StrPtr' is
not declared. It may be inaccessible due to its protection level.'
What does this mean?

No comments:

Post a Comment