Wednesday, July 18, 2007

v1.4.3 ogre-based application failed to execute

Windows doesn't provide any useful information, and the debugger only told one:
LDR: LdrpWalkImportDescriptor() failed to probe for its manifest, ntstatus 0xc0150002

This is a very rusty problem, later I found how to solve it.
The v1.4.3 ogre sdk require VS2005 SP1, you only need deploy your system with a directory, <vs>\vc\redist\x86\Microsoft.VC80.CRT
now the dialog will no longer pop up. enjoy your ogre time!

if another error dialog about directx poped up, just update to the newest directx redist.

Thursday, February 15, 2007

China's New Year

It says that in the ancient age, there was a monster call Nian(or Year), with two acuminate horns, very ferocious, it lives in deep see, only crawl to the land every last night of the year, hurt people and animals. So every in that night, all the villagers will hide inside the mountains, to get away from Nian's hurt.
One last night of the year, villagers were preparing to leave like every years before, here comes a old man with all white hairs, he told a old woman, if she allowed to let him stay one night in her house, he can definitely can drive Nian away, but nobody give him a shit, they left as usual, the old man insisted to stay.
When the Nian rushed into the village that night, suddenly the old man fired firecrackers, Nian got frighten, and dare not to move forward even one step, Nian has fear with red color, fire flash and explodents. One gate opened, inside the yard, a old man in red laughed in a big voice, Nian left as much as it could while it saw the old man.
In the second day, villagers returned to the village, they found everything are still what they was. So they knew the old man with white hair is a god, he came to help them to drive Nian away, and they knew the three issues to drive Nian away. From that day on, in each last night of the year, every home stick red papers with nice words on them beside their gates, and every home fire firecrackers, keep light for a whole night, wait to the next year's first day.
This custom go round, now it becames china traditional most important and most ceremonious festival. And this day we called in chinese "Guo Nian", means the Nian past(Year past).

Wednesday, February 14, 2007

ASP.NET 2.0 returns a HTTP 404 Error

ASP.NET 2.0 support a new feature, when you need to maintaince your web site, you can put a empty file named app_offline.htm to the site's folder, if this file's size is less than 512 bytes, all request will get a HTTP 404 error, or redirect to app_offline.htm.

I met a problem, I didn't have such a app_offline.htm file, but I always get a http 404 error under .net 2.0(Server OS: Win2003), later i know, the IIS6 prohibited .net 2.0, if you want to reenable it, you need to run "aspnet_regiis -i -enable" under C:\windows\Microsoft.NET\Framework\v2.0.50727, this simple trick spend me hours to solve
#- -

Today is Valentine's Day, I'm single, I have nothing to do except doing my work, four days later, that will be Chinese traditional festival, Sprint Festival, all of us are busy preparing for that.

Tonight I want to write something about chinese new year.

Sunday, January 21, 2007

Dog's Dying Crying

From last year july, I heard the news there's a county launched dog slaughtering, they did it just only because the rabies let some people dead! But just heard, until today.

Why dog bites? if you do not show your animus to a dog, if you do not attack a dog, dare it bite you? No! Those hydrophobic dogs already died or sent to animal salvation station because of they might hurt people. The rest dogs they are smart, even if a human kind, will not attack a bigger animal, dare you attack a elephant or lion? Keep self safe is the basic law in nature, whatever a human being or an insect, every creature obey this law.

The government can have another better way to prevent rabies, they can set up better welfare system, let the best friends of human can have a place to live. Or promote people's moral diathesis, why I say moral? Look at the original place where starts dog slaughtering, that's a county where the people's average moral diathesis is quite low, maybe someone out there wants to relieve their discontentment, so they attack dogs. Why the government choose dog slaughtering? If they corrupt a little more, the saved money is absolute enough to build pet welfare system. How can we continuely believe the government's intelligence? Human kind developed millions years, why there are so many people's intelligence is still in a lower level?

Just less than a century before, in the second world war, no one will forget those massacres on human, the racial massacres will be shameful wounds and stay in history forever, nanjing, ukraine, italian massacres, who can remember? In today, there are more massacres in Africa. What's inside human? the evil never ends.

We kill mosquitos because of the yellow fever, We kill birds because of the avian influenza, We kill civets because of SARS, We kill dogs because of rabies, when shall we start to kill human beings because of AIDS/lunacy/hepatitis/etc? Human body can take far more contagious diseases than any other creatures in the world can do. We Kill, Kill, Kill, Until nothing can be killed except ourself.

Last month, I saw a dog, and it scared not because of my look, but of I'm a human! It might just get away from those slaughterman. Today, I saw a dog dying by human's selfish, this dog, looks familiar.

Saturday, January 20, 2007

A strange problem in platforms incompatibility

I found a strange problem between .net application and 16bit application(in nt vm), my operating system is Windows XP SP2.

Case 1: I started a 16bit application under a .net application ( I didn't redirect any standard stream), the 16bit application cannot accept any input, neither output anything.
Case 2: Same as above, but I redirected all standard streams, and specify CreateNoWindow in System.Diagnostics.ProcessStartInfo, unfortrunately, this parameter cannot hide the console window. the other problems are all similar to the above.
Case 3:So I used a middle layer between .net and 16bit vm, I created a process cmd.exe in a .net application with all standard stream redirected, and under the cmd.exe, I started a 16bit sub process, another problem occured, all standard streams are all correct, but the 16bit sub process take down the whole CPU usage.

Maybe this is another evidence about the .net platform is a really *platform* and *environment*. #-_-

Sunday, January 07, 2007

I'm back

The optical cables in the sea ground have broken due to the earth quake in taiwan. These time I cannot access #- -
And a interesting stuff is that the day the quake happened, is the birthday of the leader of new China. We made a joke Chairman Mao attacked Taiwan for they forgot who they are and who they were.
A teacher asked me to live in lab, I'm not interesting, it wont be too long we will get holidays, and in this week I'll move my computer from dormity to home.

I feel my english expression ability lost too much :(