Results 1 to 2 of 2

Thread: Visual C++ DLLs for Visual Basic

  1. #1

    Thread Starter
    Member
    Join Date
    May 2002
    Location
    Great Britain
    Posts
    60

    Visual C++ DLLs for Visual Basic

    This may be asking a lot, but please try to help!

    I'm trying to create a very simple encryption DLL for use in a Visual Basic program.

    The encryptor works by having one function to set the random number seed using 'srand'. The other function will encrypt an array of bytes by xor-ing them with rand()/128. I hope that explained it well enough.

    Can anyone give me an idea of how this can be done so the DLL can be called from within a Visual Basic program?

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Search this forum for dlls and vb, it has been explained quite a few times. It will do if you know C. We won't write the code for you.
    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