Results 1 to 4 of 4

Thread: Create a function that returns a character

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Location
    Ont, Canada, Earth
    Posts
    458

    Create a function that returns a character

    Hi,
    How can I create a function in C/C++ that returns a character (or string)?

    (I want to put it in a dll)
    Thanks

    Tomexx.

  2. #2
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    If it's for VB create a function that returns BSTR * or BSTR.

    Is that what you mean?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Location
    Ont, Canada, Earth
    Posts
    458
    Well, it is for VB. However I've no idea how to do what you suggested. Could you give me an example?
    Thanks

    Tomexx.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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