Welcome to MSDN Blogs Sign in | Join | Help

May 2004 - Posts

echo '>' and '<'

'>' and '<' are special characters in command prompt. They means input and output redirect. So they can't be directly echoed in command prompt. You need to escape them with '^'. C:\>echo < The syntax of the command is incorrect. C:\>echo
Posted by junfeng | 4 Comments
Filed under:

Accessing Resources Using LoadFrom Locks Assembly

Mark Tucker asks this question: <quote> I have the need to place a resources-only assembly in a well-known directory location that is not the GAC or under the ApplicationBase. I then use Assembly.LoadFrom to load the resource, assembly.GetManifestResourceStream()
Posted by junfeng | 5 Comments
Filed under:

Error 1709 when install .Net framework 1.1

Error 1709 is that Microsoft installer is not registered. “msiexec.exe /regserver” should fix that.
Posted by junfeng | 1 Comments
Filed under:

Assembly loading failure when shadowcopy is enabled on multiple appdomains

There is a known assembly loading race in .Net framework 1.0 and 1.1 when shadow copy is enabled in multiple appdomains. If your application has multiple appdomains and multiple threads, and those appdomains have the same CachePath , and the same ApplicationName
Posted by junfeng | 0 Comments
Filed under:

Premature optimization is the root of all evil

Larry Osterman posted a blog about optimization http://blogs.msdn.com/LarryOsterman/archive/2004/05/03/125198.aspx . It simply says”Premature optimization is the root of all evil”! And I posted an interesting article about optimization in
Posted by junfeng | 5 Comments
Filed under:

Relative Path

Relative path is used a lot in Win32, and it makes sense. When I say relative path, I mean relative to the current directory. After all, there is no other directory that I can relative to. But in .Net, we do have another one! And it is called ApplicationBase!
Posted by junfeng | 4 Comments
Filed under:
 
Page view tracker