Darwinbots Forum

Code center => Darwinbots Program Source Code => Topic started by: MightyPenguin on June 06, 2005, 08:52:18 AM

Title: Can DB be run in Mac OSX?
Post by: MightyPenguin on June 06, 2005, 08:52:18 AM
Well? We're waiting...

And if not, is there an easy way to convert it?
Title: Can DB be run in Mac OSX?
Post by: Numsgil on June 06, 2005, 09:01:12 AM
It depends if you can find msvb60.dll (I think that's what it's called) for a Mac.  Since this is visual basic, you need to have several DLLs to interpret function calls.  I don't know if you can find it for a Mac or not.  That goes for unix, linux, and any other operating system you can think of that's not windows.

If no such libraries exist, we'd have to port it to a new language.  Which, let me tell you, is about the hugest pain imaginable.  Not to mention we lose any forms, windows, etc. that we designed.  On the other hand, it would run alot faster.
Title: Can DB be run in Mac OSX?
Post by: MightyPenguin on June 06, 2005, 09:17:30 AM
Um, do Macs even use .dll files? I know for a fact that they won't take .exe files, so you'd definitely need to recompile it.
Title: Can DB be run in Mac OSX?
Post by: Numsgil on June 06, 2005, 10:44:17 AM
I found this link http://www.realsoftware.com/realbasic/guid...ingvisualbasic/ (http://www.realsoftware.com/realbasic/guides/portingvisualbasic/).  So it might be possible, but it means alot of work in the end (like maybe two weeks of solid effort).
Title: Can DB be run in Mac OSX?
Post by: MightyPenguin on June 07, 2005, 04:32:03 AM
...you're just saying that so you don't have to do more work. I week you could do it in a week if you wanted to.

And eat.
Title: Can DB be run in Mac OSX?
Post by: Numsgil on June 07, 2005, 04:46:11 AM
Haha, thanks for the confidence :P

If a relatively easy way comes up to port it, I'd be all over it.  Problem is that porting it means programmers (ie: PY, I'm pretty good with languages, being my minor and all) have to learn a new language.
Title: Can DB be run in Mac OSX?
Post by: MightyPenguin on June 07, 2005, 09:51:04 AM
*pimps Java*

*surreptiously*
Title: Can DB be run in Mac OSX?
Post by: Numsgil on June 07, 2005, 09:59:54 AM
It'd be easier to use some procedural language, instead of OOP, since VB is procedural and that's the paradigm the code's been written in.
Title: Can DB be run in Mac OSX?
Post by: Botsareus on June 07, 2005, 09:39:15 PM
( :banghead: I should of known Num was going to have trouble with this)

Guys SLOW DOWN;

I know for a fact there is Visual Basic for Mac , I have no idea were to get it.

All you have to do is compile it in macs vb.

Worest Case Senerio: Get a "windows subsystem"( dont bother I dont know the correct name, I know for a fact there is one) for mac , and run any windows application you like...
Title: Can DB be run in Mac OSX?
Post by: MightyPenguin on June 09, 2005, 12:57:16 PM
It's called virtual PC.

And I think the problem goes deeper than a simple recompile if it calls on more outre .dlls .

Does anyone know what X11 does?
Title: Can DB be run in Mac OSX?
Post by: Numsgil on June 09, 2005, 01:07:17 PM
A bit more than X10?

 :P
Title: Can DB be run in Mac OSX?
Post by: MightyPenguin on June 09, 2005, 05:58:08 PM
Quote
Prior to the introduction of Mac OS X, virtually the only way developers could create a graphical application in a UNIX-based operating system was with the X Window System, more commonly called X11. X11 for Mac OS X offers UNIX users the ability to run thousands of X11 applications concurrently with other Mac OS X applications.

It's a platform for running Linux programs on Macs.

So all we need to do is port DB into a Linux friendly form, right?
Title: Can DB be run in Mac OSX?
Post by: Numsgil on June 09, 2005, 06:04:39 PM
Still the same problem, I don't think there's any VB dlls or equivelant for unix.

Try searching for some.
Title: Can DB be run in Mac OSX?
Post by: MightyPenguin on June 09, 2005, 06:17:31 PM
Quote
Still the same problem, I don't think there's any VB dlls or equivelant for unix.

Try searching for some.
That would involve effort. You're the programmer, you do it.

Or port it into a language I can understand (java!) , and then ask me to do your job.
Title: Can DB be run in Mac OSX?
Post by: Numsgil on June 09, 2005, 06:30:26 PM
You don't understand VB?

You know, I didn't know a bit of VB before I started Darwinbots.  It's just that easy.  It was designed to be that easy.
Title: Can DB be run in Mac OSX?
Post by: PurpleYouko on June 10, 2005, 12:53:17 PM
Neither did I actually  :D