[Mono-winforms-list] Re : Win32 API shared libaries - working...(kinda)

Dan Maltes dan@astusa.com
Wed, 15 Oct 2003 10:29:53 -0400


Steven,
	I can relate.  Using "free" software can really eat up time.
Samba, for example, has been a killer for me in the past.  When things
go wrong, you feel so helpless.  The late nights, confusing info on the
net, the books that don't help with troubleshooting, the updates that
break things again, etc.  Unfortunately, it's one of those hidden costs
that people don't like to talk about, but it's real.  It's one thing for
the folks at home to tinker and put in the extra brute force time to get
it working, but business know time is money, and wasted time is even
more money.
	I hope the mono swf/wine implementation is just going through
growing pains and will soon become a painless install and configuration
like apache.  If not, there is going to be some resistance by those who
simply dread the configuration and troubleshooting time drain and,
therefore, added cost.

-Dan

-----Original Message-----
From: mono-winforms-list-admin@lists.ximian.com
[mailto:mono-winforms-list-admin@lists.ximian.com] On Behalf Of
s.livingstone@btinternet.com
Sent: Wednesday, October 15, 2003 9:47 AM
To: mono-winforms-list@lists.ximian.com
Subject: [Mono-winforms-list] Re : Win32 API shared libaries -
working...(kinda)


Well, after almost giving up, i decided to push on one last time and try
to get things working. I managed to get the winform version working
*eventually* with a LOT of fiddling (how i miss setup.exe !!). So much
so that i will have to try to re-trace exactly what i did.

I ran the install mono wine setup from
http://www.nullenvoid.com/mono/wiki/index.php/MonoWinePackages

I found that it was looking for the hidden .wine directory in my home
directory, but it wasn't installed there - it was in some other folder
(etc i think). I copied that entire directory to my home dir and ran the
app and it seems to work. The results of my first hello world winform
are shown below.

<blurb>
So, yes, i'm glad i got this working, but not having used Unix sincein
the early 90's and now trying Linux after working on Windows ever since,
i see a lot of work to be done before this is prime time. I feel lucky
that i actually got the right combination to get it working, but it is
far simpler on Windows. RPM's are a step in the right direction, but
installing packages for different flavours and versions of the OS from a
number of sites on the web with a hash of other dependencies really is a
pain. This isn't having a go at any OS or platform or anything, just an
opinion having spent the last while trying to get this stuff running!
</blurb>

I am going to try to fire up a "install guide" from people who know
zilch about Unix/Linux, but want to test their C# apps on Mono. Will
post a link if i get it done anytime soon.

Now onto "Hello ASP.Net" :)

Output
=3D=3D=3D=3D=3D=3D
# mono helloform.exe
=EF=BB=BFMonoWin32: Initializing WineLib
Could not stat /nt (No such file or directory), ignoring drive E:
Warning: could not find wine config [Drive x] entry for current working
directory /mnt/hgfs/Main/csharp; starting in windows directory.
Warning: Language 'en_US' was not found, retrying without country
name...
Warning: Language 'en' was not recognized, defaulting to English
Building font metrics. This may take some time...
Font metrics: 0.0% done
fixme:font:LFD_InitFontInfo DBCS fonts like
'-daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0'
are not working correctly now.
fixme:font:LFD_InitFontInfo DBCS fonts like
'-daewoo-mincho-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0'
are not working correctly now.
fixme:font:LFD_InitFontInfo DBCS fonts like
'-daewoo-mincho-medium-r-normal--24-170-100-100-c-240-ksc5601.1987-0'
are not working correctly now.
fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-fangsong
ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working
correctly now.
fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song
ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working
correctly now.
fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song
ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0' are not working
correctly now.
Font metrics: 0.4% done
Font metrics: 0.8% done
Font metrics: 1.2% done
Font metrics: 1.6% done
Font metrics: 2.0% done
... bunch of font stuff
Font metrics: 100.0% done
err:menu:MENU_GetSysMenu failed to load system menu!


Regards,
Steven
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list