Browse by Tags
All Tags »
CodeSnippets (RSS)
Through Mário , I found a comparison between VS 2005 and Eclipse . Here's my comment about the comparison: I'm a frequent user of VS.NET and a recent user for Eclipse. On the last months, I've been developing J2ME apps on Eclipse. My first impression
Read More...
I've received a few mails about my post on crystal memory leaks ( original version with pictures available here ), and the class I posted to solve the problem. Since that code was written to work on .net framework 1.1 and Crystal Reports XI, here's the
Read More...
Sometimes, it would be useful to debug some code, which we have no source. For example, when we are using an external library or framework, like WCF, or a ado provider, and we want to trap a suspect behaviour. Today, for example, I needed to debug a strange
Read More...
Migrating a .text 0.94/95 blog to CS was more easy than I thought, thanks to Metablog API. I only migrated posts, and didn't care about trackbacks or comments. Simple, efficient, and no pain. For those wanting to do the same, here's the code. It will
Read More...
24 hours later I submitted this to IBM , I was contacted by a representative to let me know that a hotfix media cd was leaving US by express mail, with my problem solved. Today I received the hotfix and confirmed that the problem is not reproducible anymore.
Read More...
Last days, I detected an AbandonedMutexException when using Ifx Data Provider under stress. The exception is thrown as following: System.Threading.AbandonedMutexException: The wait completed due to an abandoned mutex. at System.Threading.WaitHandle.WaitOne(Int64
Read More...
Generics are one of my favourite features from .Net 2.0. While migrating some of my existing code to use generics and boost some performance and benefit from type safety, I found parts of my code which are exposed to COM components, and need to sustain
Read More...
My karma around crystal products continue. After installing Crystal Reports XI R2, I tried to install visual studio extensions for WinFx, and in the end, Visual Studio was raising an exception, breaking installation In the event log, i was getting: Error
Read More...
Lately in a forum, someone asked for a simple mapper between objects from different domains (ex: Service Data Contract & Internal Types). Here's a simple way of do it, just as simple as using serialization. We serialize the source domain object, handle
Read More...
[UPDATE - 23-02-2006] - Some folks asked me how did I drilled down into the problem. Here are some pictures that illustrate how. If you've read some last posts ( 1 )( 2 ), you may wonder what kind of library am I using. It's Crystal Reports XI, from Business
Read More...
Here's a very small example of a memory leak in managed code. Today I found something similar navigating inside a library I consume. The problem is really simple: you subscribe an event on a long duration object. In this case, a singleton one. So, if
Read More...
If you work with some database providers like Informix, DB2 or Oracle, you might need support to XA Transactions to achieve interaction with their Trx resource manager. After WinXp SP2 and Win2003 SP1, this is not enabled by default. To activate it through
Read More...