ITQuants blog

By Philippe Bonneau on 11/30/2014 9:25 PM

This week, I just wondered why the Sophis R&D didn't permit to override the CSRGlobalFunctions class in C# before the 6.3 version. If you take a look at the DotNet toolkit, you will see that a CSMGlobalFunctions is defined, but no static method Register exist as for the other classes. This point was several times scrolled up to Sophis in the toolkit forums, and I know some clients who ask Sophis to provide a toolkit permitting their own implementation. Unfortunately, they don't have the code and the interface provided in C# does not implement all virtual of CSRGlobalFunctions, for instance StartPortfolioAddition which is a callback on which we can implement the agregation of results for user columns that we want to store in a cache.

For remember, the overriding of the CSRGlobalFunctions class permits to be called when the folios are calculated (StartPortfolioCalculation, EndPortfolioCalculation).

The goal of this post is to describe how to implement a C++ implementation of the CSRGlobalFunctions that permits to implement callback in C#.

By Philippe Bonneau on 1/30/2013 7:57 PM
I forgot to give the code used in the precedent webservice sample (Calling a secured webservice in Sophis Risque). These lines make the conversion and release the memory:
By Philippe Bonneau on 9/13/2012 1:08 PM

Since it tooks me a few minutes to retrieve the right proeprties to set in order to have a main menu, this article describes exactly what to do to have:

- no margin between the menu and the title bar

- have the main toolbar menu that is resized with the main window

By Philippe Bonneau on 3/7/2012 11:34 AM
Just to give a sample on how to use it on classes containing several fields as keys. This sample is using as key a string field and datetime one.
By Philippe Bonneau on 3/2/2012 12:54 PM

Working on a project on which I have to analyze Lotus documents, I have to make some extraction in order to insert them into one Oracle database.

For this stuff, I'm using the .Net Interop.Domino driver which pretty fine to parse all documents of a ".nsf" file.

By Philippe Bonneau on 2/22/2012 2:33 PM
.Net 3.5 introcuces new options when compiling the C# code. I discovered it when I tried to compile the smartthreadpool library provided on CodeProject. One of the new option is the lambda operator: =>

Search blog