Darwinbots Forum
Code center => Darwinbots Program Source Code => Topic started 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?
-
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.
-
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.
-
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).
-
...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.
-
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.
-
*pimps Java*
*surreptiously*
-
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.
-
( :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...
-
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?
-
A bit more than X10?
:P
-
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?
-
Still the same problem, I don't think there's any VB dlls or equivelant for unix.
Try searching for some.
-
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.
-
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.
-
Neither did I actually :D