CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2017
    Posts
    2

    Have a Function I'd like to compile into a dll.

    Hi there. I have zero experience with VB and was giving a function coded in VB and would like to compile it into a function to use with another language. Is this code VB 6?

    https://justpaste.it/1aykl

    I have downloaded MS VB Community compiler, with this can I compile it into a dll? If not what do I need to do this? Thank you for your time and have a good one.

  2. #2
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,824

    Re: Have a Function I'd like to compile into a dll.

    to use with another language
    Which other language? Why not write this function in that language?
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  3. #3
    Join Date
    Sep 2017
    Posts
    2

    Re: Have a Function I'd like to compile into a dll.

    Quote Originally Posted by 2kaud View Post
    Which other language? Why not write this function in that language?
    Autoit. The math and expressions would take me longer to rewrite than just compile into a dynamic link library that autoit can load it(at least I think it can.)

    https://www.autoitscript.com/autoit3...ns/DllCall.htm

  4. #4
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Have a Function I'd like to compile into a dll.

    That is VB.Net code linked in the OP

    I have moved the thread to the correct forum area.
    Always use [code][/code] tags when posting code.

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

Featured