Welcome to GASP Sign in | Join | Help

Hugo Batista

<wsa:RelatesTo>
Software Engineering
</wsa:RelatesTo>

News


  • All information or content in this site is provided "AS IS" with no warranties, and confer no rights. The views expressed by me do not necessarily reflect the official policy, position, or opinions of the company where I work.





Browse by Tags

All Tags » CodeSnippets   (RSS)
Eclipse vs VS 2005
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...
Crystal Reports: Update on memory leak workaround
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...
Debugging release code: MDdbg, ILDASM &amp;amp; Deblector to the rescue!
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...
.Text to CS 2.0 Migration Tool
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...
The good, the villain and the storyteller
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...
AbandonedMutexException inside IBM Informix Client SDK
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...
Dynamically calling generic methods (or how to use generics through COMInterop)
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...
Crystal Reports XI R2 preventing WinFX January CTP VS extensions installation..
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...
Mapping objects through domains using serialization
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...
Memory Leak inside Crystal Reports XI
[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...
Managed Memory Leak
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...
MSDTC: How to enable XA Transactions via registry key
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...