Results 1 to 36 of 36

Thread: C++ -> VB variable types

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member brenaaro's Avatar
    Join Date
    Sep 2001
    Location
    Montreal, Canada
    Posts
    391

    C++ -> VB variable types

    Hi, I found this Base64 dll written in C++ but I need to call it's functions from VB. Most of the variable types I can figure out and get to work, but there's a couple that I don't know how to translate into VB and could use some help. The list is below.

    Code:
    UINT cb  =  ByVal cb As Long
    LPCTSTR lpInput  =  ByVal lpInput As String    ?
    LPUINT lpEqualSigns  =  ByRef lpEqualSigns As Long  ?
    LPCBYTE lpInput  =  ?? (supposed to be the string to encode)
    LPTSTR lpOutput  =  ?? (supposed to be the output buffer, I'm guessing it would be a string of spaces)
    LPCTSTR lpInput  =  ??
    LPBYTE  lpOutput  =  ??
    BASE64CALLBACK lpEndCallback  =  ??
    LPVOID lpvParam  =  lpvParam As Any ?? (ByVal/ByRef?)
    If anyone can shed some light on this I would really appreciate it. I'm trying to get in contact with the author but I don't know if I will be able to.
    Last edited by brenaaro; Dec 3rd, 2002 at 08:56 AM.
    And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.

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