[Mono-winforms-list] Re : Win32 API shared libaries - working...(kinda)
s.livingstone@btinternet.com
s.livingstone@btinternet.com
Wed, 15 Oct 2003 14:47:26 +0100 (BST)
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 *eventual=
ly* with a LOT of fiddling (how i miss setup.exe !!). So much so that i wil=
l 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 direc=
tory, but it wasn't installed there - it was in some other folder (etc i th=
ink). 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 act=
ually 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 la=
st while trying to get this stuff running!
</blurb>
I am going to try to fire up a "install guide" from people who know zilch a=
bout Unix/Linux, but want to test their C# apps on Mono. Will post a link i=
f 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 dir=
ectory /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-nor=
mal--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