From: "Ara.T.Howard" Date: 2005-08-09T04:35:47+09:00 Subject: Re: wine and win32ole On Tue, 9 Aug 2005, Daniel Amelang wrote: > You said you were interested in 'using wine to compile win32ole on > *nix' (first post), which is entirely different that 'trying to use > win32ole on *nix' (second post). > > Anyways, assuming you want to make win32ole calls in a ruby script > running on *nix inside a wine install (whew!)...I have had success > with the following setup (that should be relavent to your question): > > 1) I installed wine (via codeweavers installer) i compiled from the latest wine source - and reason to prefer your appoach? > 2) I installed ruby windows one-click installer into the wine environment > 3) I installed windows office > 4) I was able to make win32ole calls in ruby (the wine one) > > I haven't tried controlling excel via win32ole calls in this > environment, but I have done very similiar things that lead me to > believe that you can. > > Hope that helps! tremendously. i did not consider installing the one click under wine - tricky! standard ruby core dumps just loading win32ole if you call the nix ruby and try to load a win32ole compiled against winelib. your approach makes a good bit more sense! basically i'm trying to setup an environment to do windows filetype conversions on a bsd server. this sounds like a good approach. i'll ping the list if i successfully convert an excel doc this way. many thanks! -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes of death | Like a lamp standing in a strong breeze. --Nagarjuna ===============================================================================