Eclipse plugin remote file system

Posted in PROGRAMMING, SERVERS, WEBBLOG by edeguzman on March 15, 2012

Have you ever experience working on a C++ project with GNU compiler where the build was on remote server. It’s really a pain where every now and then you have to upload your changes to the build server just for you to build.

I got a situation where I’m using windows workstation and I got a very old but big project which is multi-platform supporting windows, linux and solaris. Each of the three supported platforms has its own build server. I’m using Eclipse as my IDE for this C++ project  and good thing we have this NFS server that is mounted to all three platforms, having all my modified changes reflected to all build servers. Refer to below figure 1 diagram for the environment setup.
                Figure 1 Build Environment setup


You can see my full article at below article.


Replacing Easysoft Oracle driver with Oracle instant client

Posted in C/C++ LANGUAGE, PROGRAMMING, WEBBLOG by edeguzman on March 13, 2012

  I’ve decided to create an article on the several things that I’ve done to replace the Easysoft Oracle driver with the Oracle instant client because I did not found any article related to this topic (I might save someone’s time). For a minute I thought that this activity we’ll involved several man-dates to accomplish this activity, however it turn out to be just several man-hours but of course not involving build environment for our application.

The Easysoft  Oracle driver is really a good ODBC driver but the problem you have to pay for the license.  This is the reason we have to find an alternative that can also work harmoniously with unixODBC for the reason we want to cut cost. Good thing that Oracle finally provide there own ODBC driver that can work with unixODBC and it’s FREE!

You can follow everything I did in the below URL.

DOM Nodes with empty TEXT NODE

Posted in C/C++ LANGUAGE, PROGRAMMING by edeguzman on February 13, 2012

In most cases DOM nodes can probably contain empty TEXT nodes for the reason that you read from file and tabs or spaces are being preserved in element nodes. This empty TEXT nodes sometimes a troublesome whenever you have an operation like you want to traverse to each child element nodes and do some process but suddenly the traversing to child nodes stop because of this empty TEXT node.

 I tried to google around to find a faster why to remove this empty TEXT nodes because I was hoping that there’s just an API call in DOM object that will automatically remove all empty TEXT nodes without affecting the child element nodes. I saw a lot of people encounter the same issue but provided complicate solution like using XSL. Then I decided to code it myself,  I was able to code it in 15 minutes in C++,  and I was googling around for about 1.5 hours 😦   Now after awhile I work on the servlet side then I’d encountered the same dilemma this time in Java.  This is the reason why I decided to share part of my code, just in case if someone might stumble in this dilemma.

Read more about this article in the below URL.





CreateWindowEx Access Violation

Posted in C/C++ LANGUAGE, PROGRAMMING by edeguzman on January 30, 2010

Have you ever experience loading DLL with a window class on single thread that went successful then upon unloading that DLL and you load that DLL for the second time but it crash? This article might be helpful to you.

This bug is kind a weird and really hard to trace. To make things worst MSDN some what provides a misleading documentation. I wasted 4 days working on this weird bug and ended up to have an easy fixed. I googled around but ended up to have a handful of information and found out that alot of people did encounter this kind of problem but no providing fixed.


Access Violation in unallocated pointer

Posted in C/C++ LANGUAGE, PROGRAMMING by edeguzman on November 9, 2009

Lately I was debugging a bug in an application that crashes on Windows Vista but not crashing in Windows XP. I was clueless on what causing the crashes and why its not crashing on Windows XP. I had to do stack tracing for me determine where it crashes and I used the WinDebug tool. With WinDebug I was able to determine that it was the access violation thing that causes the crashes in vista. It’s kind a hard to debug cause it crashes unexpectedly that you won’t be able to determine on which area on the process that cause to crash. And worst on stack trace it points to a function that was not it even called.

After googling around the net for some time I was able to found out that it was the unallocated pointer or uninitialized pointer that causes the crashed. There was a struct pointer that was used without allocating memory or initializing to null.

Below Example :