Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


how do i make my prog mac compatible?

Posted on 1999-01-28
Medium Priority
Last Modified: 2010-05-03
How do i make my program mac compatible. Work on a mac?
Question by:Moo122398
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 1471111
PCs and Macs have fundamental differences in the way their processors work(big-endian byte vs. little-endian byte, and so forth). Windows software will NOT run on a Mac. There is no easy way to make a Windows program run on a Mac. There are attempts underway to make software for one platform (Windows) accessible by another platform (Mac). For example, there is an effort underway in Switzerland to make all Windows software accessible to the Linux OS. JAVA is another example of an attempt to create platform-independent software (runs on any machine or OS), but this actually entails each OS to have a JAVA virtual machine (translator) that reads the JAVA, and then converts it to the machine-level commands of the specific OS.

VB also uses a virtual machine (MSVBVM50.dll/MSVBVM60.dll) to translate the "compiled" VB program into PC machine code. There might be a VB virtual machine .DLL for Mac computers.

On the other hand, Microsoft is not really interested in proliferation of the Mac OS. For example, Microsoft produces a great deal of Mac software; MS threatened to stop development of the Office suite for Mac, if they did not cower, (Edited by Computer101) &c. MS did allow them to produce a rather odd-looking product of no tangible improvement over past Macs.

You need to compile your project specifically to run on the Mac operating system. This might prove to be a weird one for you to figure out. Most of th development software out there is for Windows/DOS/PC machines.

"In a society of winners and losers, protection of marketshare is king."
                                                  -Dr. Johnson


Expert Comment

ID: 1471112
You could write it in ANSI C, ANSI Pascal, etc. (or ANY language that has an accepted standard).  Then compile the program using a compiler on both machines.

Expert Comment

ID: 1471113
If you use NO api calls, dont use any controls outside of the basic one included with VB, and basically dont use and unusaual basic calls, there is a way (sort of).  If the user of the MAC has the latest verion of MS Office for Macintosh, you can create your application as a macro that runs under one of the office apps.  This isnt really a very good option and the limitations are pretty stiff, but if you HAVE to run your VB code it is currently the only way.

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Expert Comment

ID: 1471115
CoRpSe:  what do you have to say about Commodore 64 users?

Expert Comment

ID: 1471117
Ahh, that's good that you didn't make any negative comments against the Commie!!  The Commie made me what I am today.

I can't say I hate MACs, but I do have two major bones to pick:

1.  The keyboard sucks
2.  The keyboard buffer seems to take precedence over anything...one false copy+paste, and your machine could be *quack*ing for several hours, with no way to stop it.

Accepted Solution

idcanada earned 200 total points
ID: 1471118

Maybe Java would be your thing.

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question