.NET component and COM server

.NET component and COM server Commit Details

Date:2011-02-06 11:52:44 (7 years 8 months ago)
Author:Allan Cornet
Branch:master
Commit:fb29197ced733ecdfb6a495b12d5bcfc03044e56
Parents: 99380cb5111879d6d6be73a79a86125a81b1bb6f
Message:update for 5.3.0

Changes:
MNET_Component_and_COM_server/src/C#/Com_Interface/Scilab_COM_server.csproj (1 diff)
MNET_Component_and_COM_server/src/C#/Scilab_Component/Scilab_API.cs (2 diffs)
MNET_Component_and_COM_server/src/C#/Scilab_Component/Scilab_API_Wrapper.cs (1 diff)
MNET_Component_and_COM_server/src/C#/Scilab_Component/Scilab_Component.csproj (1 diff)
MNET_Component_and_COM_server/tests/tests_excel.xlsm

File differences

NET_Component_and_COM_server/src/C#/Com_Interface/Scilab_COM_server.csproj
5757
5858
5959
60
60
61
6162
6263
6364
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<RegisterForComInterop>false</RegisterForComInterop>
<RegisterForComInterop>true</RegisterForComInterop>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>..\..\..\bin\x86\</OutputPath>
NET_Component_and_COM_server/src/C#/Scilab_Component/Scilab_API.cs
5555
5656
5757
58
5958
6059
6160
......
7069
7170
7271
73
74
72
73
74
7575
7676
7777
7878
79
79
8080
8181
8282
public Scilab_API()
{
string ScilabPath = FindScilab.getScilabPath();
if (ScilabPath.CompareTo("") != 0)
{
AddScilabPathEnvironment.Add(ScilabPath + "\\bin");
// We wait scilab
Thread.Sleep(2000);
waitEmptyCommandQueue();
while (Scilab_API_Wrapper.ConsoleIsWaitingForInput() != 1)
Thread.Sleep(3000);
// ConsoleIsWaitingForInput broken ???
//while (Scilab_API_Wrapper.ConsoleIsWaitingForInput() != 1)
{
Thread.Sleep(10);
}
setVisibleMainWindow(false);
}
//=============================================================================
/// <summary>
NET_Component_and_COM_server/src/C#/Scilab_Component/Scilab_API_Wrapper.cs
7676
7777
7878
79
79
8080
8181
82
82
8383
8484
8585
[DllImport(GUI_DLL, CharSet = CharSet.Ansi)]
public unsafe static extern void setVisibleMainWindow([In]int bVisibleState);
//=============================================================================
[DllImport(ACTION_BINDING_DLL, CharSet = CharSet.Ansi)]
[DllImport(LIBSCILAB_DLL, CharSet = CharSet.Ansi)]
public unsafe static extern int isEmptyCommandQueue();
//=============================================================================
[DllImport(ACTION_BINDING_DLL, CharSet = CharSet.Ansi)]
[DllImport(LIBSCILAB_DLL, CharSet = CharSet.Ansi)]
public unsafe static extern int StoreCommandWithFlag([In]string command, Int32 flag);
//=============================================================================
[DllImport(SCILAB_WINDOWS_DLL, CharSet = CharSet.Ansi)]
NET_Component_and_COM_server/src/C#/Scilab_Component/Scilab_Component.csproj
5858
5959
6060
61
6162
6263
6364
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RegisterForComInterop>true</RegisterForComInterop>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>..\..\..\bin\x86\</OutputPath>

Archive Download the corresponding diff file

Branches