Its been a while since last posted and realized that I owe it to the readers and followers of this blog an update why there have not been new articles regarding featuring.
Since, as you might be aware, Nokia Developer has been discontinued and hence all support to discussion board has been withdrawn by Microsoft. In effect to this, there has not been any more featuring (Quite obviously!). Regretfully, none of the links to the previously posted articles that link to the Nokia Developer site might work.
See you around sometime soon (Hopefully) with something new…
Lee is attempting to convert one of his custom effects from a Managed language like C# to a more native language C++ for the Nokia Imaging SDK by following a Wiki article by SB Dev. While Lee’s C# version works fine, the C++ version throws a NullReferenceException.
In the course of discussion Lee and SBDev confirm that the original code in the wiki throws the same exception. Yan_ feels that since Lee gives CustomFilter directly to DelegateFiltering, there might be some unmanaged resources creating de-allocation issues. The allocated buffer is de-allocated when the garbage collector frees it, but that is not happening in this case. Hence manually freeing the resources might help. This suggestion worked for Lee.
This discussion was featured to highlight tricks for memory management when a large amount of memory is instantiated.