When I try to install Windows 7 on my Acer computer which uses ULi chipset, I got no hard drive. It seems Windows 7 does not carry ULi drive, and requires to load ULi drivers manually. After some search on Google, I manage to find the driver at
http://www.4shared.com/file/i1fDjHnr/ULI1575_RAID_F6.html
You simply extract the driver from the archive file and put the extracted file onto an USB pen drive. Load the driver from the USb drive prepared when you reach the empty drive screen. Hope this helps others in a similar situation.
Thursday, June 17, 2010
Wednesday, June 16, 2010
TraceSource
Yesterday I was trying to get the TraceSource (http://msdn.microsoft.com/en-us/library/ms228993.aspx) working in C# under mono. I have been following the example in Microsoft website, but nothing seems to work. Today, I finally manage to get the TraceSource working. It turns out that I need to include TRACE as a define symbols in the compiler option (see the image below).
After making this change, my code
works perfectly as intended.
Another catch I found with TraceSource is that the switchName attribute in the source element seems to be got ignored. To define the switch level, it seems better to use the switchValue attribute in the source element directly.
After making this change, my code
TraceSource ts = new TraceSource("DefaultTraceSource");
ts.TraceEvent (TraceEventType.Error, 1, "test");
works perfectly as intended.
Another catch I found with TraceSource is that the switchName attribute in the source element seems to be got ignored. To define the switch level, it seems better to use the switchValue attribute in the source element directly.
Labels:
c#,
Compiler Options,
debug,
mono,
TRACE,
TraceSource
Subscribe to:
Posts (Atom)