Hello,
sizeof(RASCONNA) returns different values in VC++ 7.0 and VC++ 6.0.
This causes failure of RasEnumConnections calls.
This apparently happens because of the changes in ras.h between VC 7 and VC
6
Workaround:
1. Ignore MSDN example on RasEnumConnections
2. Hardcode
lpRasConn->dwSize = 412;lpcb=412;
Did anybody encounter a similar problem?
Cheers,
Aleksey

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to