Discussion:
[Wxnet-users] RE: [Wxnet-developers] Using TowxNet Utility to convert xrc to vb source code
Michael Muegel
20 years ago
Permalink
Raj reports towxnet.exe does not output anything when run from a DOS command
shell.
Nothing happens when I run the file or even when I try
to open it.
I tried running towxnet.exe w/out args from a DOS command prompt on a
vanilla WinXP Pro install and see the same thing. Just returns. If I use
"towxnet.exe --gui" the GUI does load, however.

But from a cygwin shell the no-opts version works as I'd expect. I never ran
this using anything but cygwin (Alexander Olk wrote it and I just hacked
VB.NET support). Without args usage info is printed out from cygwin. Odd.
The code looks to be just using Console.WriteLine.

Anybody else see this or have some time to look into it?

-Mike

--
Michael S. Muegel
Dallas, TX
Michael Muegel
20 years ago
Permalink
Okay. How can I load from cgywin shell? Do I need to
install anything from their website?
Well, as a work around you could install cygwin. But this is clearly a bug
in towxnet. Cygwin install is at http://sources.redhat.com/cygwin/. Not sure
if you are a UN*X person but Cygwin is pretty cool. Just make sure you
install the rxvt terminal emulator and use it to run bash inside of like so:

$ cat 'c:\cygwin\cygwin.bat'
---
@echo off

c:
chdir c:\cygwin\bin

rxvt -g 80x40 -e bash --login
---

The towxnet GUI mode works I think. You could try it unless you need to do
batch jobs.

-Mike

--
Michael S. Muegel
Dallas, TX
...
Loading...