what happen?

  • Thread starter Thread starter bobo
  • Start date Start date
B

bobo

I call RasSetEntryProperties() to create a phone-book entry in c#.but the
result is 603("The caller's buffer is too small").pls help me ! thanks
bobo huo
 
What happen is that your buffer must be the size of the RASENTRY structure.
Marshalling RASENTRY is far from trivial. I bet you are not doing it right.
In particular you must watch the size of those embedded arrays. Consider a
ready-made component instead - it's not that expensive:
http://www.intelliprog.com/netcf/ras.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top