From: Mark M. <mie...@gm...> - 2012-04-04 18:26:52
|
On Wed, Apr 4, 2012 at 11:10 AM, Sanford Geiger <san...@li...> wrote: > Apparently, the Samples directory that I have does not contain the listview > or treeview sub-directory. Should I have these directories? No, I just made them up as an illustration. They don't exist. > I also cannot > find makedll.rex. makedll.rex is not a part of the ooRexx distribution. It is just a helper utility to compile a resource only DLL: /* makeDLL.rex */ -- Compile a resource script file to a resource only DLL (a binary resource.) -- Assumes, the Microsoft tools are in the path. -- First arg is the resource script file name, without the extension. The -- second arg is optional and can be used to rename the output DLL file. use arg cmdLine if arg(1, 'O') then return doHelp() parse var cmdLine inFile outFile . if outFile == "" then outFile = inFile inFile = inFile'.rc' if \ haveTools() then return doHelp() 'rc -r -fo'outFile'.res' inFile 'link' outFile'.res /NOENTRY /DLL /MACHINE:X86 /OUT:'outFile'.dll' return 0 -- Simplistic check for rc.exe to see if the tools are accessible. ::routine haveTools 'rc /? > nul 2>&1' rcRet = RC if rcRet <> 0 then do say "rcexe or link.exe (or both) do not appear to be in the path." return .false end return .true ::routine doHelp say say "makeDLL: compile a resource only DLL using Microsoft's tools." say 'rc.exe and link.exe must be in the path.' say say 'Syntax: makeDll rcFile [outFile]' say 'where rcFile is the input file, leave off the .rc extension.' say 'outFile is optional, used to rename the output file.' say say 'Examples:' say 'makeDll OpenWatcom' say ' Compiles OpenWatcom.rc producing OpenWatcom.dll.' say say 'makeDll OpenWatcom OpenWatcomMS' say ' Compiles OpenWatcom.rc producing OpenWatcomMS.dll.' return 0 > was also wondering if an ooRexx program can be compiled > into an executable form, such that it would run as an exe file, or perhaps > in a JVM environment. No, there is no (easy, good) way to do that. What Oliver was talking about is compiling resources into a DLL for user by ooDialog. -- Mark Miesfeld |