Have a Function I'd like to compile into a dll.
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

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

  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
    5,706

    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. 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/

    C++17 Compiler: Microsoft VS2017 (15.3.4)

  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
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,240

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


On-Demand Webinars (sponsored)