Login  
Search All Forums
Dart Home | Custom Development Reply | Licensing Issues Topics | Forums   
AuthorForum: Licensing Issues
Topic: Multiple AppDomains
MattZUSmith

From: Mount Arlington, NJ USA
Posts: 5
Member Since: 08/22/13
posted April 4, 2014 2:25 PM

Using version 4.4.4.8 of Sockets for .NET.

I previously had an assembly relationship of the form:

Main.exe -> ClassLibrary.dll -> Dart.Sockets.Dll.

Both Main and ClassLibrary were compiled with licenses.licx files. No problem so far.

I have to change things so that ClassLibrary is within its own Application Domain (.NET AppDomain class). So now I have:

( Main.exe ) -> ( ClassLibrary.dll -> Dart.Sockets.dll)

So Main is executing in the default app domain, and ClassLibrary and Dart.Sockets are in a separate app domain. Still, all the assemblies are compiled on my PC with my valid developer license and licenses.licx files. But now when I run Main.exe to test I get this message in a window with title "Power TCP Sockets for .NET": the developer license found in 'ClassLibrary.DLL' is not an Extended Distribution License, which is required to distribute PowerTCP Sockets for .NET with your developed interface (API). 

I'm not distributing a component that can be plugged into someone else's executable; I'm calling it from my own compiled executable with the required licenses.licx file. I shouldn't need an Extended Distribution License. What can be done?
Nick B (Admin)

From: Utica, NY USA
Posts: 567
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted April 4, 2014 3:48 PM

Hello,

Using app domains prevents our component from seeing the license in the compiled application (and including the licenses.licx in the ClassLibrary.dll project results in the assumption of a plugin scenario); is not using app domains an option?

Just a note: for application not utilizing app domains, the licenses.licx file only needs to be in the top-level calling application's project; in this case, your Main.exe project.
MattZUSmith

From: Mount Arlington, NJ USA
Posts: 5
Member Since: 08/22/13
posted April 4, 2014 3:54 PM

The application is a Windows service, and we're making a change so that we can update ClassLibrary while the service remains running. You need app domains to do that. So not using app domains is not an option.
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 376
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted April 11, 2014 2:37 PM

This issue has been resolved off-line. If you find yourself in a similar situation please contact sales@dart.com or call 315.790.5456 for assistance.

Best regards,
Jamie
Reply | Licensing Issues Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX