Hi, I'm looking to see if I'm approaching this subject correctly and how I can speed up performance/production.
I'm using a program that allows plug-ins. The plug-in is initialized through a Startup function we define in our plug-in dll. This startup function takes in an Interface* that can be used to communicate back to the program. I want to use C# for
all my programming but have a thin managed/unmanaged wrapper that allows me to interface with the program. There are 2 parts...
1) The Program communicates through the plugin from static exported function calls... For this I'm just using global events so in each callback I call a C# event function if the C# plugin registerd to the event.
static void GetPlugInInfo(PlugInInfo* info)
if (GlobalEvents::GetPlugInInfo != nullptr)
// copy ManagedPlugInInfo -> passed in plug in info by copying each member variable
// is this the fatest way to do this, is there a way I can just do a memcpy if my struct i
View Complete Post