Re: Using Fortran or C code in Rev
--- Bill Vlahos [EMAIL PROTECTED] wrote: A co-worker asked me how to use existing fortran or C code within a Revolution application (or called by a Revolution application)? This would be primarily for Mac OS 9 and X and maybe some Windows. Bill Vlahos Hi Bill, There's the External SDK for exactly this sort of purposes. I guess he's running CodeWarrior? Then writing XCMD's and XFCN's should be a breeze. For Windows he could build a DLL to accomplish the same tasks. Too bad there's no architecture for external objects ; though it would cause problems to build and compile these on all the platforms supported by MC/RR. Oh well, maybe someday :-) Best regards, Jan Schenkel. = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
standalone desktop info
is there a way to tell whether a file is a standalone or not from the desktop? thanks. = [EMAIL PROTECTED]http://www.erikhansen.org __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: standalone desktop info
--- erik hansen [EMAIL PROTECTED] wrote: is there a way to tell whether a file is a standalone or not from the desktop? thanks. Hi Erik, If the icon has a 'dog ear', it's a file. If the icon is in the shape of a diamond, it's an application. However, double-clicking a revolution stack will automatically disable the Revolution UI, unlike when you open it from within Revolution. Hope this cleared things up, Jan Schenkel. = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Sliders/progress bars templates?
Is there a Revolution (or SC?) library anywhere which contains a collection nice-looking pre-fabbed sliders and progress bars? I saw a couple that did interesting things on thee user projects section of the web site, but I'm wondering if there might be a set of templates out there? Thanks, Mark ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using Fortran or C code in Rev
Bill Vlahos [EMAIL PROTECTED] wrote: A co-worker asked me how to use existing fortran or C code within a Revolution application (or called by a Revolution application)? There are two options I'm aware of: (1) communicate between Rev and compiled program via disk files (acceptable if the compiled program takes at least a second or two to run), (2) build an external (if running on locked volumes or if compiled program executes very fast). Option (1) I'm doing this with MC and a Fortran program on Windows. The MC GUI writes inputs to a disk file, tells the system shell to run the Fortran exe, then reads in the output files and displays results. To get the Windows OS shell command, get the shellCommand in Rev. For command.com on, e.g., Win 98, use start command's /m option to minimize the shell console window, plus set hideConsoleWindows to true in Rev. For list of start options, enter start in command.com console window. For cmd.exe on, e.g., Win XP, use start command's /min or /b option to hide the shell console window, plus set hideConsoleWindows to true in Rev. for list of start options, enter help start in cmd.exe console window. (command.com also available but different behavior than on Win 98) Combine two or more shell commands in one Rev get shell() by using the character, as you have to do with a path with spaces in the name. For example, for the shellCommand cmd.exe, in order to execute C:\Path with spaces in name\myprog.exe, sincecd is immune to spaces in path but start isn't, use get shell(cd C:\Path with spaces in name start /min /high /wait myprog.exe) Command.com on Win 98 returns executable output to the console (e.g., print * from Fortran and STOP) to the Rev it variable on completion so that you can check for a good run. Cmd.exe on Win XP doesn't seem to return anything to Rev, so I delete old output files before a run and then check for new good output files after the run. AppleScript should do the job on Macs. Option (2): I've only found the glue files needed to build XCMDs and XFCNs written in C, C++ and Pascal. To make a Fortran program into an XCMD, the thing to do would be to write a C program that calls the Fortran executable and then build that package into an XCMD using the C glue files. I you translate the glue files into Fortran, please let us know! Rich Herz [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using Fortran or C code in Rev
Apple's Project Builder is a great IDE and it's based on GCC, which any Unix geek likely knows and loves. OK, I just read a tantalizing post in the archives by Ken Ray about the latest version of Metacard being Mach-O based That's right, Alex. And Rev 2.0 will also be (since it inherits the MC engine specs). Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using Fortran or C code in Rev
On Wednesday, November 6, 2002, at 12:06 PM, Ken Ray wrote: Apple's Project Builder is a great IDE and it's based on GCC, which any Unix geek likely knows and loves. OK, I just read a tantalizing post in the archives by Ken Ray about the latest version of Metacard being Mach-O based That's right, Alex. And Rev 2.0 will also be (since it inherits the MC engine specs). Do you think that it will get us closer to being able to use dyld library bundles and OS X frameworks from Rev apps, or will it still be only XCMDs and such. Alex Rice, Software Developer Architectural Research Consultants, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution