Minor bugs in RasDialParams


I have been using your library that I find very useful. I found a few minor bugs that need fixing:
  1. In RasEntry.GetDialParams, before returning dialParams, method dialParams.GetData() needs to be called, otherwise returned data is empty
  2. In RASDIALPARAMS.szUsername, RASDIALPARAMS.szPassword and RASDIALPARAMS.szDomain, line strValue.Substring(0, strValue.IndexOf('\0')) needs to be removed because in the prevoius line, character '\0' is already truncated.
Closed Mar 17, 2011 at 3:15 PM by ctacke
Fixed in change set 59496


ctacke wrote Mar 17, 2011 at 1:10 PM

Thanks. I'm actually working on the library today, so I'll get these changes integrated, along with my fixes, and get it checked in.

wrote Mar 17, 2011 at 3:15 PM

wrote Feb 14, 2013 at 1:29 AM

wrote May 16, 2013 at 5:04 AM