Implemented the VisM.OCX interface for .Net Applications using IRIS .Net Native API .
The version used is IRIS for Windows (x86-64) 2020.1 (Build 215U) Mon Mar 30 2020 20:14:33 EDT.
In 2019.3 it will crash with a null pointer error.
Importing CacheDirect.Emulator.cls into the appropriate namespace. (The sample console application assumes that the namespace is USER)
Load C_SharpConsoleApplication.csproj file into Visual Studio.
The version I used is as follows.
Microsoft Visual Studio Community 2019 Version 16.6.0
Choose Add Reference from the project settings in Visual Studio and add the following files.
Click Build C_SharpConsoleApplication 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
The Keep Alive Feature
Server Read Loop and Quick Check
Read and Write Hooks
Other Server Side Hooks
User Cancel Option
It does not support any features specific to Visual Basic in the Cache Direct features as follows:.
Callback function, MessageBox, DoEvents, etc.