Solved

how do i make my prog mac compatible?

Posted on 1999-01-28
6
202 Views
Last Modified: 2010-05-03
How do i make my program mac compatible. Work on a mac?
0
Comment
Question by:Moo122398
6 Comments
 
LVL 1

Expert Comment

by:hddp666
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


0
 
LVL 5

Expert Comment

by:scrapdog
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.
0
 
LVL 5

Expert Comment

by:heathprovost
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.

Heath
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 5

Expert Comment

by:scrapdog
ID: 1471115
CoRpSe:  what do you have to say about Commodore 64 users?
0
 
LVL 5

Expert Comment

by:scrapdog
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.
0
 
LVL 4

Accepted Solution

by:
idcanada earned 100 total points
ID: 1471118

Maybe Java would be your thing.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Copy a row 12 64
Visual Studio search word table and return Cell index 8 69
MsgBox 4 69
Problem to With line 4 64
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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

820 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