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
 
Back
Top