Hi there. I would like to know what are the options of using external dlls in from NAV 2013. I have 3 cases:
1) a single classic dll with public symbols exported
2) a classic dll with corespoding import library file
3) a dll which is a com object (the ones we registered as automations in previous versions of NAV)
So the question are:
1) Can I call a dll method via dotnet interop (s sample code would be very nice)?
2) If the dll has a method which shows some gui interface, how will this run on service tier? It should run on client somehow...
Much thanks for your help.
0
Comments
1. yes you can for example look here http://www.dynamics.is/?p=1297
2. no, if the dll includes gui it must be used on pages and therefore is not available to the server http://www.dynamics.is/?p=1311
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
I've tried it myself and seems to be working (no SN signing needed or anything).
Here is a detailed guideline on how to do this:
MSDN .NET Guide
Niels-Henrik Sejthen
Senior Software Developer
Microsoft Dynamics NAV
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.