+ Reply to Thread
Results 1 to 8 of 8

Mac Versions of Library Functions?

  1. #1
    Forum Contributor
    Join Date
    10-10-2018
    Location
    Calgary, Canada
    MS-Off Ver
    2016
    Posts
    214

    Mac Versions of Library Functions?

    I have over 60k lines of code, and therefore use many Library functions for all my features to work. I am aware that they only work for Windows machines, and won't work properly for Mac? Can someone give me the Mac equivalents or advise me what to do if my App is run on Mac? Thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Mac Versions of Library Functions?

    Hello superlative,

    With over 60k lines of code, your user name fits, the easiest solution would be to install a virtual machine and run Windows to get what you need.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    10-10-2018
    Location
    Calgary, Canada
    MS-Off Ver
    2016
    Posts
    214

    Re: Mac Versions of Library Functions?

    Thanks. I'm sure I'm not the only one who uses those libraries. Is that the solution if other people use those same libraries?

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Mac Versions of Library Functions?

    There is no public documentation as to what Windows API calls will work on a Mac and therefore no guarantee that anything that does work now will continue to do so. The short answer is to not use any of them on a Mac. Since there is no indication from your code as to what you are using them for, it's pretty hard to comment further.
    Rory

  5. #5
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Mac Versions of Library Functions?

    I'm a Mac user and I don't use those Library functions or their equivalent.

    You may be interested in conditional compilation, which helps make code cross platform so that you don't get compile errors

    Please Login or Register  to view this content.
    Much of the functionality of library functions isn't as exposed to the user in Mac as it is in Windows. Other issues will be your use of ActiveX controls (not supported by Mac).
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Mac Versions of Library Functions?

    Hello superlative,

    Digging in to this issue a little further, I found there is a new language XOJO that might help you implement some of these functions. As Rory pointed out documentation on which calls will work on the Mac are scarce. This language is similar to VBA but it far simpler and easier to learn. It allows cross platform app devlopment for MacOS, Windows, Linux, iOS, and Raspberry Pi.

    You can learn more and download the software from here Build Native, Cross-Platform Apps

  7. #7
    Forum Contributor
    Join Date
    10-10-2018
    Location
    Calgary, Canada
    MS-Off Ver
    2016
    Posts
    214

    Re: Mac Versions of Library Functions?

    Quote Originally Posted by rorya View Post
    Since there is no indication from your code as to what you are using them for, it's pretty hard to comment further.
    There is indication in the comments: for a custom menu system, for determining and moving cursor position, and for managing the clipboard. Thanks.

  8. #8
    Forum Contributor
    Join Date
    10-10-2018
    Location
    Calgary, Canada
    MS-Off Ver
    2016
    Posts
    214

    Re: Mac Versions of Library Functions?

    Thanks for all your help everyone! I will look into all the suggestions.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Library for different functions in VBA?
    By -Citizen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2020, 05:45 AM
  2. Functions Chr, UBound - Can't find project or library
    By amprut86 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-13-2017, 08:56 AM
  3. Replies: 0
    Last Post: 11-01-2013, 07:39 AM
  4. Can't find project or library - MS Forms 2.0 Ojbect Library
    By RTSmith in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-11-2012, 06:51 PM
  5. [SOLVED] Question on functions various Excel versions support
    By TP in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-20-2006, 09:20 AM
  6. Calling functions from a xll library
    By eLiNK in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-08-2005, 11:10 AM
  7. Replies: 3
    Last Post: 10-08-2005, 03:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1