I am attempting to reference a 3rd party .Net DLL which contains a static class that I need to reference. From my understanding, a static class can not be instantiated. How would I go about referencing any classes, methods, or properties of the static class using wwDotnetBridge?
You need to use the appropriate static variants of the wwDotnetBridge methods.
+++ Rick ---
Thanks for your quick response.
This got me further, but with some unexpected issues.
If I use CreateObject("wwDotNetBridge") instead of getwwDotNetBridge() the following command fails.
loBridge.InvokeStaticMethod("NiceLabel.SDK.PrintEngineFactory.PrintEngine", "Initialize")
This command
loLabel = loBridge.InvokeStaticMethod("NiceLabel.SDK.PrintEngineFactory.PrintEngine", "OpenLabel", "C:\Users\Public\Documents\NiceLabel 2019\SDK\Samples\SimpleTestApplication\SimpleSample1.nlbl")
Succeeds with the getwwDotNetBridge() but does not return a reference to the Label but a value of true.
When getwwDotnetBridge() I can not walk through the code to see what is being returned by wwDotnetBride.