Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

5 months of experience of running "RADIX" compiled in X# on customer sites 07 Oct 2021 10:36 #19854

  • ArneOrtlinghaus
  • ArneOrtlinghaus's Avatar
  • Topic Author


  • Posts: 277
  • Just again a feedback of our migration to the Dotnet world:
    Radix Dotnet works very well on some thousand working places.

    The performance is similar to the Win32-Version.

    Most of the errors happening are logical programming errors that would have happened also in Win32.
    These errors are understandable and reproducible.

    We have some more errors together with the old Crystal Reports 9 Runtime, also complete vanishing of the program without any messages. Currently we want to try to integrate the latest Crystal Reports Runtime, which is available only for Dotnet (or Java, but not as C-Dll-Interface).

    Programming in X# works well in total. We have already substituted some old functions by Dotnet framework functions. Of course this is not "gratis", but in some cases it is worth to do it. Also we begin to implement new X# features as interfaces and generic lists for example.

    RADIX needs the .NET Framework 4.7.2. This was an internal decision. Quite a lot of computers had to be updated with the new Dotnet framework. But probably it helped to have a good and stable platform ready for the program. Some customers had to say Good bye to their last Windows XP and Windows Server 2003 installations.

    Arne

    Please Log in or Create an account to join the conversation.

    5 months of experience of running "RADIX" compiled in X# on customer sites 07 Oct 2021 10:46 #19855

    • wriedmann
    • wriedmann's Avatar


  • Posts: 2785
  • Hi Arne,
    great, and thank you very much for letting us know!
    Wolfgang
    P.S. Windows XP, really? XP machines are so slow not that no serious company should they use anymore
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

    Please Log in or Create an account to join the conversation.

    5 months of experience of running "RADIX" compiled in X# on customer sites 07 Oct 2021 11:11 #19856

    • ArneOrtlinghaus
    • ArneOrtlinghaus's Avatar
    • Topic Author


  • Posts: 277
  • > Windows XP, really? XP machines are so slow ...
    The computers did what they had to do. Some server had been even virtualized on a new hardware and had really good performance. So it was more a question of security and functionality.

    Of course these customers had economical reasons, even understandable . But it was good for us that the customers had to update their installations because of clear technical reasons without crying and complaining too much. Often for those customers support is difficult and time consuming.

    Arne

    Please Log in or Create an account to join the conversation.

    5 months of experience of running "RADIX" compiled in X# on customer sites 07 Oct 2021 11:21 #19857

    • robert
    • robert's Avatar


  • Posts: 2371
  • Arne,
    Thanks for sharing this.
    Do you have any idea why the program completely vanishes in combination with Crystal Reports ?
    It may be because of an error in native code.
    I recently discovered that when you run a Vulcan app and install all possible exception handlers,
    then still an exception in native code (for example in the CDX driver) will not be send to the managed error handlers.
    In those cases the (Application) Event Log did have an entry for the crash with the callstack.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    5 months of experience of running "RADIX" compiled in X# on customer sites 07 Oct 2021 11:46 #19858

    • ArneOrtlinghaus
    • ArneOrtlinghaus's Avatar
    • Topic Author


  • Posts: 277
  • > Do you have any idea why the program completely vanishes in combination with Crystal Reports ?
    Directly I have no ideas. But the Crystal Reports exceptions we get sporadically are very hard. Even the Win32 program often crashed, although it succeeded more often to give a last error dialog to the user and write a last log entry before leaving.

    What makes it difficult to find a reason:
    - Radix calls the Crystal Reports Runtime to start output.
    - In the report user functions make calls to Radix to get data in the report.
    - When the Crystal Reports Runtime gets the data, the state of the executable including the Crystal Reports Dlls in the memory may not be the same as before
    - The Crystal Reports Runtime 9 itself has memory leaks and consumes memory with every call.

    In Win32 we accessed the Radix-program directly via C-DLL-Library calls. In Dotnet we use Windows WINAP-Sendmessage-Commands and hidden message loops to interact with the program.

    So we have a nice complex situation to enhance.

    Is there someone who wants to make estimations how many Crystal Report files exist for our program? Someone wanna make a guess? 100, 500, 1000, 10000, more than 10000?


    (The correct answer is: The last choice is true, more than 16000 report files do exist :unsure: :ohmy: :huh: )


    Arne

    Please Log in or Create an account to join the conversation.

    5 months of experience of running "RADIX" compiled in X# on customer sites 07 Oct 2021 11:51 #19859

    • ArneOrtlinghaus
    • ArneOrtlinghaus's Avatar
    • Topic Author


  • Posts: 277
  • Yes, if the program crashes without any messages, the Windows-Eventlog often contains some valid information. It makes sense to always look there if nothing else can be found.
    (The eventlog viewer can be started via the command EVENTVWR, if it is not visible in the computer settings menu)

    Attachments:

    Please Log in or Create an account to join the conversation.

    5 months of experience of running "RADIX" compiled in X# on customer sites 14 Oct 2021 11:09 #19912

    • ArneOrtlinghaus
    • ArneOrtlinghaus's Avatar
    • Topic Author


  • Posts: 277
  • What I want to add:
    Together with the Move to X# we now add a certificate to the Exe program for delivering.

    Antivirus programs are now much friendlier to our programs. Before some Antivirus programs treated our nice new dotnet programs often worse than the older VO programs. Because of directory/filename changes and file content changes and not because of the technology. They detected something new and wanted to show that they were awake :blush:

    Arne

    Please Log in or Create an account to join the conversation.

    Last edit: by ArneOrtlinghaus.
    • Page:
    • 1