[
https://issues.apache.org/jira/browse/GEODE-9352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17358665#comment-17358665
]
Michael Martell commented on GEODE-9352:
----------------------------------------
To run on Mac:
* I added a CMakeLists.txt to build the Engine.dylib. So build using:
** cd Engine
** mkdir build
** cd build
** cmake ..
** cmake --build . (this will create the libEngine.dylib, which is referenced
by the P/Invoke)
* Add Solution Explorer add-on to VSCode
* Open the .sln file, right-click -> build (this will build the executable)
* From command line: dotnet run ./DotNetCallbackTest
> Create .NET Core Sample Showing Callbacks from C++ to C#
> --------------------------------------------------------
>
> Key: GEODE-9352
> URL: https://issues.apache.org/jira/browse/GEODE-9352
> Project: Geode
> Issue Type: Task
> Components: native client
> Reporter: Michael Martell
> Assignee: Michael Martell
> Priority: Major
> Attachments: DotNetCallbackTest.zip
>
>
> Write a C# sample project showing how to call C# from unmanaged code. This
> should be a .NET Core project that runs on all platforms. This will be needed
> for the .NET Core client.
> A good pattern to follow looks like the dotnet authInitialize example,
> wherein the user passes in a class that implements IAuthinitialize and the
> C++ code calls into the user's GetCredentials function.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)