Results 1 to 10 of 10

Thread: [RESOLVED] Convert RAS APIs from ANSI to Unicode

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Mith's Avatar
    Join Date
    Jul 2017
    Location
    Thailand
    Posts
    540

    Resolved [RESOLVED] Convert RAS APIs from ANSI to Unicode

    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 (not needed anymore)
    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: 465
Size:  4.2 KB

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

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

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

    Name:  Screenshot - 09.08.2021 , 14_37_09.jpg
Views: 413
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.
    Attached Files Attached Files
    Last edited by Mith; Aug 9th, 2021 at 04:16 AM. Reason: new infos, project update

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width