Is it possible to call DLL functions from a Linux program?
Vincent Béron
vberon at mecano.gme.usherb.ca
Sun Apr 13 19:43:04 CDT 2003
Le dim 13/04/2003 à 20:41, Dan Kegel a écrit :
> Eloy wrote:
> > Now, I want to run this program natively under Linux - I mean, I don't
> > want to run wcmd because that requires an X server.
>
> I suggest just running your little Windows program under Wine.
> Don't use wcmd, you don't need it.
> For instance, in my ~/bin, I have a shell script winword
> which just contains
> wine -- "c:\\Program Files\\Microsoft Office\\Office\\winword.exe" "$@"
> That more or less lets me run microsoft word from the commandline.
>
> You can configure wine to not require X. I've done it
> on some commandline Windows programs I wanted to use
> in shell scripts on Linux. It was and is a pain, I
> believe, because so few of the Wine developers
> use commandline Windows programs without X, but it
> is doable. (And maybe it's easier than it used to be;
> I don't know.)
I know for sure that even without X loaded (telinit 3 or ssh w/o X),
it's possible to use commandline Windows programs, with either x11drv or
ttydrv specified in the config.
Eg, "wine -- p3_corr.exe p3_1.ent p3_1.sor" works fine through ssh.
Vincent
More information about the wine-devel
mailing list