BlueM.Sim Development: Difference between revisions

From BlueM
Jump to navigation Jump to search
(move Debugging section here)
(→‎Compilation: Improved intructions for TeeChart license)
Line 26: Line 26:
:→ ''see [[BlueM.Sim compilation]]''
:→ ''see [[BlueM.Sim compilation]]''


When compiling BlueM.Win and BlueM.Wave, a [https://www.steema.com/product/net TeeChart .NET] Pro license is required.
BlueM.Win includes BlueM.Wave which uses [TeeChart .NET](https://www.steema.com/product/net) for all charts. To compile a fully functional version of BlueM.Win, you need a valid TeeChart .NET Pro license file located at both <code>BlueM.Win\source\My Project\TeeChart.licenses</code> and <code>BlueM.Wave\source\My Project\TeeChart.licenses</code>.


For testing purposes, you can use the evaluation version of TeeChart by removing the file <code>My Project\TeeChart.licenses</code> from the project within Visual Studio. This will allow you to compile, but any charts will be displayed with a watermark.
For testing purposes, you can use the evaluation version of TeeChart by creating empty text files in place of the license files or by excluding the corresponding entries from the BlueM.Win and Wave projects in Visual Studio. This will allow you to compile, but any charts will be displayed with a watermark.


==Debugging==
==Debugging==

Revision as of 13:04, 14 September 2023

BlueM_icon.png BlueM.Sim | Downloads | Application | Theory | Development

Source code

The source code consists of the following individual projects:

All source code and issues are managed on GitHub: https://github.com/bluemodel

Most individual BlueM components are configured to build to a common parent output folder ..\bin\<Platform>\<Configuration>. The recommended folder structure is thus to have all individual components in one single parent folder as follows:

BlueM
 - BlueM.DLLAdapter
 - BlueM.LaPipe
 - BlueM.Sim
 - BlueM.Wave
 - BlueM.Win

This also ensures that references between projects work out of the box.

Compilation

see BlueM.Sim compilation

BlueM.Win includes BlueM.Wave which uses [TeeChart .NET](https://www.steema.com/product/net) for all charts. To compile a fully functional version of BlueM.Win, you need a valid TeeChart .NET Pro license file located at both BlueM.Win\source\My Project\TeeChart.licenses and BlueM.Wave\source\My Project\TeeChart.licenses.

For testing purposes, you can use the evaluation version of TeeChart by creating empty text files in place of the license files or by excluding the corresponding entries from the BlueM.Win and Wave projects in Visual Studio. This will allow you to compile, but any charts will be displayed with a watermark.

Debugging

Screenshot of debug setting in BlueM.Win required for debugging BlueM.Sim

In order to be able to debug BlueM.Sim, you need to activate the option Enable native code debugging in the Debug section of the project properties of the startup-application (i.e. BlueM.Win).

This is a per-user-setting and needs to be activated for every individual build setup.

Testing

see BlueM.DLLAdapterTest

Docs

BlueM.Sim:

siehe BlueM.Sim Code

Style

siehe Code-Formatierung