Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15702

Convert RAS APIs from ANSI to Unicode

$
0
0
hi,

i need to to convert the following RAS APIs from ANSI (A) to the Unicode (W) version:

Code:

RasEnumEntries (done!)
RasEnumConnections (done!)
RasDial
RasGetEntryDialParams
RasHangUp (done!)

Does anyone already converted these APIs to Unicode?

Im already converted "RasEnumEntries" and it works now with VPN connections with unicode characters in the name:

Name:  Screenshot - 09.08.2021 , 14_24_05.png
Views: 3
Size:  4.2 KB

I also converted "RasEnumConnections" and "RasHangUp" to close a connection.

Now i need some help with "RasGetEntryDialParams" and "RasDial"...

I have attached a example project to play around with the APIs & declarations:

Name:  Screenshot - 09.08.2021 , 14_37_09.jpg
Views: 3
Size:  18.2 KB

The "ANSI"-buttons are using the ANSI version of the APIs and they are all working.
You can connect/disonnect and check the status of a connection.
The "UNICODE"-buttons are using the UNICODE version of the APIs.
Currently only the Disconnect-Unicode-button will work.
Attached Images
  
Attached Files

Viewing all articles
Browse latest Browse all 15702

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>