dymosoftware / DCD-SDK-Sample

DYMO Connect SDK Samples
Other
60 stars 26 forks source link

Unable to print labels at all #68

Open rm3dom opened 1 year ago

rm3dom commented 1 year ago

Please see sample project here:

https://github.com/rm3dom/dymo_connect_fails

Tested on Windows 10

The README.md describes the issue.

bubblesnout commented 1 year ago

You need to run the following to initialize the SDK before you can use it properly:

DymoSDK.App.Init();

rm3dom commented 1 year ago

You need to run the following to initialize the SDK before you can use it properly:

DymoSDK.App.Init();

Fantastic, thank you, will give it a go...

bubblesnout commented 1 year ago

I just put it in my program startup function, appears that it only needs to be run once.

rm3dom commented 1 year ago

Yeah haven't tried it, but it does sound like what I was missing. They load assemblies at runtime and cache classes in a dict. The dict was empty in my case