Results 1 to 3 of 3

Thread: Unicode...

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    6

    Unicode...

    the damn strconv function doesnt allow you to convert to unicode anymore, so I need a new solution. Im using the
    Code:
    Declare Auto Function NetScheduleJobAdd Lib "netapi32.dll" (ByVal Servername As String, ByVal Buffer As Object, ByVal Jobid As Integer) As Long
    api. The problem is...the servername needs to be unicode encoded in order to function properly. I need to take a regular string and convert it to unicode. Can anyone help?

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    I think to problem is solved if you change
    Declare Auto Function
    to
    Declare Unicode Function

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    6
    Nope, that wont do it. I need to pass a unicode formatted string to it.

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