<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel xmlns:blog="http://www.dotnetnuke.com/blog/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
    <title>Philippe Bonneau</title>
    <description>My personal blog on ITQuants</description>
    <link>https://www.it-quants.com/Blogs/tabid/83/BlogId/1/Default.aspx</link>
    <language>en-US</language>
    <webMaster />
    <pubDate>Sun, 14 Jun 2026 02:36:03 GMT</pubDate>
    <lastBuildDate>Sun, 14 Jun 2026 02:36:03 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 4.1.0.0</generator>
    <item>
      <title>Fusion Capital Sophis/Fusion Sophis: how to get more information on access violation?</title>
      <link>https://www.it-quants.com/Blogs/tabid/83/EntryId/78/Fusion-Capital-Sophis-Fusion-Sophis-how-to-get-more-information-on-access-violation.aspx</link>
      <description>&lt;p style="text-align: justify;"&gt;I guess that everybody who uses Fusion Capital Sophis or Fusion Sophis already got the classic "Internal error on MFC message" dialog box that announciates that a crash, access violation or whatever, occured. &lt;/p&gt;
&lt;p style="text-align: justify;"&gt;&lt;img alt="" src="/Portals/0/Users/002/02/2/internal_error.jpg" /&gt;&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;In most cases, unfortunately, classic logs are not sufficient to investigate why the problem occurs. The goal of this post is to propose a method that permits to dump the callstack when such an event occurs.&lt;/p&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx&gt;Sophis&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx&gt;C++&lt;/a&gt;&lt;/div&gt;</description>
      <author />
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx">Sophis</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx">C++</category>
      <comments>https://www.it-quants.com/Blogs/tabid/83/EntryId/78/Fusion-Capital-Sophis-Fusion-Sophis-how-to-get-more-information-on-access-violation.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">https://www.it-quants.com/Blogs/tabid/83/EntryId/78/Fusion-Capital-Sophis-Fusion-Sophis-how-to-get-more-information-on-access-violation.aspx</guid>
      <pubDate>Tue, 11 Oct 2016 21:24:00 GMT</pubDate>
      <trackback:ping>https://www.it-quants.comDesktopModules/BlogTrackback.aspx?id=78</trackback:ping>
    </item>
    <item>
      <title>Fusion Capital Sophis v7: how to compute user data on calculation servers?</title>
      <link>https://www.it-quants.com/Blogs/tabid/83/EntryId/77/Fusion-Capital-Sophis-v7-how-to-compute-user-data-on-calculation-servers.aspx</link>
      <description>&lt;p style="text-align: justify;"&gt;Before the v7, in order to serialize specific indicators calculated by the internal quant libraries, virtual methods like &lt;strong&gt;CSRInstrument::GetCalculationData&lt;/strong&gt; and &lt;strong&gt;CSRInstrument::SetCalculationData&lt;/strong&gt; were used. These methods are not deprecated and a specific implementation of the class &lt;strong&gt;CSRComputationResults&lt;/strong&gt; should be used. The goal of this post is to explain how to declare such a class and to give a complete sample ready to use.&lt;/p&gt;&lt;div class="tags"&gt;Tags: calculation server,Sophis,ITQuant&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx&gt;Sophis&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx&gt;C++&lt;/a&gt;&lt;/div&gt;</description>
      <author />
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx">Sophis</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx">C++</category>
      <comments>https://www.it-quants.com/Blogs/tabid/83/EntryId/77/Fusion-Capital-Sophis-v7-how-to-compute-user-data-on-calculation-servers.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">https://www.it-quants.com/Blogs/tabid/83/EntryId/77/Fusion-Capital-Sophis-v7-how-to-compute-user-data-on-calculation-servers.aspx</guid>
      <pubDate>Fri, 03 Jun 2016 13:13:00 GMT</pubDate>
      <trackback:ping>https://www.it-quants.comDesktopModules/BlogTrackback.aspx?id=77</trackback:ping>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/134/Default.aspx">calculation server</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/5/Default.aspx">Sophis</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/127/Default.aspx">ITQuant</blog:tag>
    </item>
    <item>
      <title>Fusion Invest/Capital Sophis v7: how to update third parties, using XML?</title>
      <link>https://www.it-quants.com/Blogs/tabid/83/EntryId/76/Fusion-Invest-Capital-Sophis-v7-how-to-update-third-parties-using-XML.aspx</link>
      <description>&lt;p style="text-align: justify;"&gt;In my previous post, I've described how to update third parties using the API, as it was done by several Misys clients. This time, continuing on this subject, I will explain how to update third parties, using XML files. I remembered that I've implemented this solution at least one time by a client, in a web service. Third parties were updated using the Sophis xml definition, that you can find in the &lt;strong&gt;party.xsd&lt;/strong&gt; file stored in the &lt;strong&gt;schema&lt;/strong&gt; folder. The web service implementation is already described more in details in this post : &lt;a href="http://www.it-quants.com/Blogs/tabid/83/EntryId/51/Sophis-Risque-how-to-develop-a-IIS-webservice-using-the-API.aspx" target="_blank"&gt;"How to develop a IIS webservice using the API"&lt;/a&gt;. Unfortunately, the C++ code is not anymore maintained in the v7: C++ header files that were present in the Low Level Toolkit folders are not delivered anymore. A workaround exists, this is the subject of this post of how to replace this code.&lt;/p&gt;&lt;div class="tags"&gt;Tags: Sophis,ITQuant,depositary,broker,counterparty,entity&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx&gt;Sophis&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx&gt;C++&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/6/Default.aspx&gt;C#&lt;/a&gt;&lt;/div&gt;</description>
      <author />
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx">Sophis</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx">C++</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/6/Default.aspx">C#</category>
      <comments>https://www.it-quants.com/Blogs/tabid/83/EntryId/76/Fusion-Invest-Capital-Sophis-v7-how-to-update-third-parties-using-XML.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">https://www.it-quants.com/Blogs/tabid/83/EntryId/76/Fusion-Invest-Capital-Sophis-v7-how-to-update-third-parties-using-XML.aspx</guid>
      <pubDate>Fri, 29 Apr 2016 10:35:00 GMT</pubDate>
      <trackback:ping>https://www.it-quants.comDesktopModules/BlogTrackback.aspx?id=76</trackback:ping>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/5/Default.aspx">Sophis</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/127/Default.aspx">ITQuant</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/130/Default.aspx">depositary</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/131/Default.aspx">broker</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/132/Default.aspx">counterparty</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/133/Default.aspx">entity</blog:tag>
    </item>
    <item>
      <title>Fusion Invest/Capital Sophis v7: how to update third parties?</title>
      <link>https://www.it-quants.com/Blogs/tabid/83/EntryId/75/Fusion-Invest-Capital-Sophis-v7-how-to-update-third-parties.aspx</link>
      <description>&lt;p style="text-align: justify;"&gt;For clients on which the Sophis Risque or Sophis Value was already installed, during the migration, it is quite easy to detect which modifications have to be done when comparing the code. But this step is only one of the different tasks that have to be done. For example, almost nothing was changed on the interface &lt;strong&gt;CSRThirdParty&lt;/strong&gt; (eq &lt;strong&gt;CSMThirdParty&lt;/strong&gt; in C#) concerning the third parties (entities, depositaries, counterparties, brokers...). But unlucky, when trying to use some piece of code that permits to update the external reference, the domiciliation, the broker or whatever which field, you will got an exception in v7, indicating that the method is not implemented. This is a well known problem on each client migration.&lt;/p&gt;&lt;div class="tags"&gt;Tags: Sophis,ThirdParties&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx&gt;Sophis&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx&gt;C++&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/6/Default.aspx&gt;C#&lt;/a&gt;&lt;/div&gt;</description>
      <author />
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx">Sophis</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx">C++</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/6/Default.aspx">C#</category>
      <comments>https://www.it-quants.com/Blogs/tabid/83/EntryId/75/Fusion-Invest-Capital-Sophis-v7-how-to-update-third-parties.aspx#Comments</comments>
      <slash:comments>1</slash:comments>
      <guid isPermaLink="true">https://www.it-quants.com/Blogs/tabid/83/EntryId/75/Fusion-Invest-Capital-Sophis-v7-how-to-update-third-parties.aspx</guid>
      <pubDate>Thu, 28 Apr 2016 17:11:00 GMT</pubDate>
      <trackback:ping>https://www.it-quants.comDesktopModules/BlogTrackback.aspx?id=75</trackback:ping>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/5/Default.aspx">Sophis</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/129/Default.aspx">ThirdParties</blog:tag>
    </item>
    <item>
      <title>Fusion Capital Sophis v7: how to filter calculations of native instruments on F9?</title>
      <link>https://www.it-quants.com/Blogs/tabid/83/EntryId/73/Fusion-Capital-Sophis-v7-how-to-filter-calculations-of-native-instruments-on-F9.aspx</link>
      <description>&lt;p style="text-align: justify;"&gt;Testing recently the calculations of some instruments (Convertible bonds) on the calculation servers, I've discovered that very old instruments which are not anymore in position were sent to calculation servers. By the way, these instruments are not valid too, and trying to calculate them today will generate some check error messages. These instruments were stored in position in some folios several years ago (trade date far away from the well-known REPORTING.DATE_DEB date), but are still loaded in memory and sent to calculation servers. The problem does not appear when calculating the folio locally, only when calculated by calculation servers, and the whole calculation of the folio is then rejected. The goal of this post is to propose a workaround that permits to calculate the folios which contain such instruments.&lt;/p&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx&gt;Sophis&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx&gt;C++&lt;/a&gt;&lt;/div&gt;</description>
      <author />
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx">Sophis</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx">C++</category>
      <comments>https://www.it-quants.com/Blogs/tabid/83/EntryId/73/Fusion-Capital-Sophis-v7-how-to-filter-calculations-of-native-instruments-on-F9.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">https://www.it-quants.com/Blogs/tabid/83/EntryId/73/Fusion-Capital-Sophis-v7-how-to-filter-calculations-of-native-instruments-on-F9.aspx</guid>
      <pubDate>Tue, 08 Mar 2016 17:20:00 GMT</pubDate>
      <trackback:ping>https://www.it-quants.comDesktopModules/BlogTrackback.aspx?id=73</trackback:ping>
    </item>
    <item>
      <title>Fusion Capital Sophis v7: how to listen to coherency events in a batch/server mode?</title>
      <link>https://www.it-quants.com/Blogs/tabid/83/EntryId/72/Fusion-Capital-Sophis-v7-how-to-listen-to-coherency-events-in-a-batch-server-mode.aspx</link>
      <description>&lt;p style="text-align: justify;"&gt;Some days ago, I talked about the possibility to use the &lt;strong&gt;Sophis.Core.Data&lt;/strong&gt;, &lt;strong&gt;Sophis.Event.Core&lt;/strong&gt; and &lt;strong&gt;Sophis.Event.Risque&lt;/strong&gt; assemblies, in order to listen to specific events for toolkit columns performance optimizations. I've tried to use the same mechanism in a batch, using the following code :&lt;/p&gt;
&lt;div class="reCodeBlock" style="border: 1px solid #7f9db9; overflow-y: auto;"&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;class&lt;/code&gt; &lt;code style="color: #000000;"&gt;Program&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000000;"&gt;{&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;    &lt;/code&gt;&lt;span style="margin-left: 12px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;static&lt;/code&gt; &lt;code style="color: #006699; font-weight: bold;"&gt;void&lt;/code&gt; &lt;code style="color: #000000;"&gt;ProcessEvent(Sophis.Event.IEvent myEvent, &lt;/code&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;ref&lt;/code&gt; &lt;code style="color: #006699; font-weight: bold;"&gt;bool&lt;/code&gt; &lt;code style="color: #000000;"&gt;bProcess)&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;    &lt;/code&gt;&lt;span style="margin-left: 12px !important;"&gt;&lt;code style="color: #000000;"&gt;{&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;    &lt;/code&gt;&lt;span style="margin-left: 12px !important;"&gt;&lt;code style="color: #000000;"&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;    &lt;/code&gt;&lt;span style="margin-left: 12px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;static&lt;/code&gt; &lt;code style="color: #006699; font-weight: bold;"&gt;void&lt;/code&gt; &lt;code style="color: #000000;"&gt;Main(&lt;/code&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;string&lt;/code&gt;&lt;code style="color: #000000;"&gt;[] args)&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;    &lt;/code&gt;&lt;span style="margin-left: 12px !important;"&gt;&lt;code style="color: #000000;"&gt;{&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #000000;"&gt;CSMApi _api = &lt;/code&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;new&lt;/code&gt; &lt;code style="color: #000000;"&gt;CSMApi();&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;try&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #000000;"&gt;{&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;            &lt;/code&gt;&lt;span style="margin-left: 36px !important;"&gt;&lt;code style="color: #000000;"&gt;_api.Initialise();&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #000000;"&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;catch&lt;/code&gt; &lt;code style="color: #000000;"&gt;(Exception e)&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #000000;"&gt;{&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;            &lt;/code&gt;&lt;span style="margin-left: 36px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;return&lt;/code&gt;&lt;code style="color: #000000;"&gt;;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #000000;"&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #000000;"&gt;Sophis.Event.SophisEventHandler _handler = &lt;/code&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;new&lt;/code&gt; &lt;code style="color: #000000;"&gt;Sophis.Event.SophisEventHandler(ProcessEvent);&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #000000;"&gt;Sophis.Event.SophisEventManager.Instance.AddHandler(_handler, Sophis.Event.Thread.MainProcess, Sophis.Event.Layer.Model);&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;bool&lt;/code&gt; &lt;code style="color: #000000;"&gt;_stop = &lt;/code&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;false&lt;/code&gt;&lt;code style="color: #000000;"&gt;;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;while&lt;/code&gt; &lt;code style="color: #000000;"&gt;(!_stop)&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #000000;"&gt;{&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;            &lt;/code&gt;&lt;span style="margin-left: 36px !important;"&gt;&lt;code style="color: #000000;"&gt;Sophis.Event.SophisEventManager.Instance.Dispatch();&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;            &lt;/code&gt;&lt;span style="margin-left: 36px !important;"&gt;&lt;code style="color: #000000;"&gt;System.Threading.Thread.Sleep(500);&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;        &lt;/code&gt;&lt;span style="margin-left: 24px !important;"&gt;&lt;code style="color: #000000;"&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;Unfortunately, this code does not work as is. Putting a break point in the ProcessEvents method shows that it is never called, even if messages are received and processed. The goal of this post is to explain how it works and what it is missing.&lt;/p&gt;&lt;div class="tags"&gt;Tags: events,Risque,ITQuant&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx&gt;Sophis&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx&gt;C++&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/6/Default.aspx&gt;C#&lt;/a&gt;&lt;/div&gt;</description>
      <author />
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx">Sophis</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx">C++</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/6/Default.aspx">C#</category>
      <comments>https://www.it-quants.com/Blogs/tabid/83/EntryId/72/Fusion-Capital-Sophis-v7-how-to-listen-to-coherency-events-in-a-batch-server-mode.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">https://www.it-quants.com/Blogs/tabid/83/EntryId/72/Fusion-Capital-Sophis-v7-how-to-listen-to-coherency-events-in-a-batch-server-mode.aspx</guid>
      <pubDate>Tue, 02 Feb 2016 12:49:00 GMT</pubDate>
      <trackback:ping>https://www.it-quants.comDesktopModules/BlogTrackback.aspx?id=72</trackback:ping>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/128/Default.aspx">events</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/4/Default.aspx">Risque</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/127/Default.aspx">ITQuant</blog:tag>
    </item>
    <item>
      <title>Fusion Invest v7: How to add a caption bar like the simulation bar?</title>
      <link>https://www.it-quants.com/Blogs/tabid/83/EntryId/70/Fusion-Invest-v7-How-to-add-a-caption-bar-like-the-simulation-bar.aspx</link>
      <description>&lt;p style="text-align: justify;"&gt;One client asked me to add some very visible message in Fusion Invest that permits to warn when the pricing date is not the current date. A good sample of such a message is the native toolbar that is displayed by the application when the simulation mode is selected. The expected result should be the following one:&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;&lt;img alt="" style="width: 600px; height: 339px;" src="/Portals/0/Users/002/02/2/v7_captionbar.png"&gt;&lt;/img&gt;&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;By the way, the core code of Fusion Invest is still written in MFC/C++. Adding such a toolbar is possible by written some C++ code that uses the MFC classes. The goal of this post is to give the code that permits to activate such a functionality.&lt;/p&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx&gt;Sophis&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx&gt;C++&lt;/a&gt;&lt;/div&gt;</description>
      <author />
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx">Sophis</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx">C++</category>
      <comments>https://www.it-quants.com/Blogs/tabid/83/EntryId/70/Fusion-Invest-v7-How-to-add-a-caption-bar-like-the-simulation-bar.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">https://www.it-quants.com/Blogs/tabid/83/EntryId/70/Fusion-Invest-v7-How-to-add-a-caption-bar-like-the-simulation-bar.aspx</guid>
      <pubDate>Mon, 25 Jan 2016 15:26:00 GMT</pubDate>
      <trackback:ping>https://www.it-quants.comDesktopModules/BlogTrackback.aspx?id=70</trackback:ping>
    </item>
    <item>
      <title>Fusion Invest v7: how to display the MFC resource IDD?</title>
      <link>https://www.it-quants.com/Blogs/tabid/83/EntryId/69/Fusion-Invest-v7-how-to-display-the-MFC-resource-IDD.aspx</link>
      <description>&lt;p style="text-align: justify;"&gt;When overloading Sophis dialogs with the toolkit, you need the Win32 resource IDD of the dialog in order to get the resource template somewhere in the Sophis dll's (in most cases in the SophisRiskEn.dll), and customize it by adding new controls. In previous versions of Sophis, there was an option that permitted to display this IDD, by right double-clicking on the Sophis logo in the About box, and, after, by right clicking in the dialog. &lt;/p&gt;
&lt;p style="text-align: justify;"&gt;Right-clicking it in the v7 About box does not enable it anymore, even if this option is still usefull. Looking at the code of the dialog, I've found finally the way to display it. The goal of this post is to share it.&lt;/p&gt;&lt;div class="tags"&gt;Tags: IDD,MFC,Sophis,ITQuant&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx&gt;Sophis&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx&gt;C++&lt;/a&gt;&lt;/div&gt;</description>
      <author />
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx">Sophis</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/3/Default.aspx">C++</category>
      <comments>https://www.it-quants.com/Blogs/tabid/83/EntryId/69/Fusion-Invest-v7-how-to-display-the-MFC-resource-IDD.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">https://www.it-quants.com/Blogs/tabid/83/EntryId/69/Fusion-Invest-v7-how-to-display-the-MFC-resource-IDD.aspx</guid>
      <pubDate>Wed, 30 Dec 2015 17:37:00 GMT</pubDate>
      <trackback:ping>https://www.it-quants.comDesktopModules/BlogTrackback.aspx?id=69</trackback:ping>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/125/Default.aspx">IDD</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/126/Default.aspx">MFC</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/5/Default.aspx">Sophis</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/127/Default.aspx">ITQuant</blog:tag>
    </item>
    <item>
      <title>Fusion Invest v7: How to optimize the refresh of the memory cache when portfolio columns are toolkitted</title>
      <link>https://www.it-quants.com/Blogs/tabid/83/EntryId/67/Fusion-Invest-v7-How-to-optimize-the-refresh-of-the-memory-cache-when-portfolio-columns-are-toolkitted.aspx</link>
      <description>&lt;p style="text-align: justify;"&gt;In most cases, when portfolio columns are toolkitted, they use an internal memory cache to avoid SQL queries on the database when the portfolio lines are displayed (on scrolling or what ever). In order to refresh this memory cache, the Sophis API provides a method, &lt;strong&gt;CSRPortfolioColumn::GetRefreshVersion&lt;/strong&gt;, which is incremented on some actions, for instance when a deal is inserted. Most toolkit implémentations use only this flag to refresh the cache. Unfortunately, testing only the version flag could generate some freeze, when a lot of a deals are inserted and SEC events are received. The goal of this post is to propose a solution in v7 to optmize the refresh of the cache.&lt;/p&gt;&lt;div class="tags"&gt;Tags: CSMInstrument,CSMEvent,CSMPortfolio,CSMPortfolioColumn&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx&gt;Sophis&lt;/a&gt;&lt;/div&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/6/Default.aspx&gt;C#&lt;/a&gt;&lt;/div&gt;</description>
      <author />
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/2/Default.aspx">Sophis</category>
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/6/Default.aspx">C#</category>
      <comments>https://www.it-quants.com/Blogs/tabid/83/EntryId/67/Fusion-Invest-v7-How-to-optimize-the-refresh-of-the-memory-cache-when-portfolio-columns-are-toolkitted.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">https://www.it-quants.com/Blogs/tabid/83/EntryId/67/Fusion-Invest-v7-How-to-optimize-the-refresh-of-the-memory-cache-when-portfolio-columns-are-toolkitted.aspx</guid>
      <pubDate>Fri, 11 Dec 2015 10:34:00 GMT</pubDate>
      <trackback:ping>https://www.it-quants.comDesktopModules/BlogTrackback.aspx?id=67</trackback:ping>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/119/Default.aspx">CSMInstrument</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/120/Default.aspx">CSMEvent</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/121/Default.aspx">CSMPortfolio</blog:tag>
      <blog:tag blog:url="https://www.it-quants.com/Blogs/tabid/83/TagID/122/Default.aspx">CSMPortfolioColumn</blog:tag>
    </item>
    <item>
      <title>Oracle: how to configure Enterprise Manager with last version of Internet browsers....</title>
      <link>https://www.it-quants.com/Blogs/tabid/83/EntryId/66/Oracle-how-to-configure-Enterprise-Manager-with-last-version-of-Internet-browsers.aspx</link>
      <description>&lt;p style="text-align: justify;"&gt;I've got recently a problem when I've updated and tried to install Oracle on a new desktop PC. Windows 8.1 is the OS running currently on it. Trying to connect to Enterprise Manager using the usual https://localhost:1158/em/ url connection string has failed and the following error was displayed: &lt;strong&gt;"The server certificate included a public key that was too weak. (Error code: ssl_error_weak_server_cert_key)&lt;/strong&gt;". According to &lt;a target="_blank" href="http://stackoverflow.com/questions/31265573/ssl-error-weak-server-cert-key-issue-in-firefox"&gt;a post on stackoverflow&lt;/a&gt;, this seems to be due to an update of security on different internet browsers. By the way, the problem occurs on Firefox and Internet Explorer. The goal of this post is to explain how I've resolved it, since the indications done in other links are not sufficient.&lt;/p&gt;&lt;div class="category"&gt;Category: &lt;a href=https://www.it-quants.com/Blogs/tabid/83/CatID/4/Default.aspx&gt;Oracle&lt;/a&gt;&lt;/div&gt;</description>
      <author />
      <category domain="https://www.it-quants.com/Blogs/tabid/83/CatID/4/Default.aspx">Oracle</category>
      <comments>https://www.it-quants.com/Blogs/tabid/83/EntryId/66/Oracle-how-to-configure-Enterprise-Manager-with-last-version-of-Internet-browsers.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">https://www.it-quants.com/Blogs/tabid/83/EntryId/66/Oracle-how-to-configure-Enterprise-Manager-with-last-version-of-Internet-browsers.aspx</guid>
      <pubDate>Thu, 23 Jul 2015 12:22:00 GMT</pubDate>
      <trackback:ping>https://www.it-quants.comDesktopModules/BlogTrackback.aspx?id=66</trackback:ping>
    </item>
  </channel>
</rss>