Initial Release
Implemented the VisM.OCX interface for .Net Applications using IRIS .Net Native API .
The version I tested this tool is IRIS for Windows (x86-64) 2022.2 (Build 368U) Fri Oct 21 2022 16:43:20 EDT
Importing CacheDirect.Emulator.cls into the appropriate namespace. (The sample console application assumes that the namespace is USER)
Create a Console C# application project in Visual Studio 2019.
The version I used is as follows.
Microsoft Visual Studio Community 2019 Version 16.11.15
Add the following files to the project
Delete Program.cs
When building with Visual Studio 2022, add the following files
Choose Add Reference from the project settings in Visual Studio and add the following files.
<InstallDir>\InterSystems\IRIS\dev\dotnet\bin\v4.6.2
InterSystems.Data.IRISClient.dll
For Visual Studio 2022
<InstallDir>\InterSystems\IRIS\dev\dotnet\bin\net6.0
InterSystems.Data.IRISClient.dll
Click Build from the Visual Studio build menu.
Make sure there are no errors in the output window.
If you get an error, there's something wrong with the reference settings being not working properly.
Module1.vb is a samle VB.Net code to use the emulator.
to run the sample
It does not support any features specific to Visual Basic in the Cache Direct features as follows:.
2 Constructors are defined
cacheDirectWapper(string constr)
cacheDirectWapper(IRISConnection irisconn)
If you need to switch namespaces within your application, you must import CacheDirect.Emulator class into each namespace or do package mapping.
Initial Release