Intergrating Navision with external application
jks
Member Posts: 277
Hi all,
I have successfully integrated an external application XYZ designed by me in C++ with Navision using ATL COM. i.e I am invoking some of the functions of application XYZ in Navision via ATL COM. But the problem is I had to copy all dlls of application XYZ in the installation directory of Navision. i.e in
C:\Program Files\Microsoft Business Solution-Navision\Client
If I do not do this then when I run Navision to access fun. of XYZ, Navision crashes. This is because I guess Navision's exe finsql.exe and its dll are available in Client folder.
Is there any way to solve this problem. i.e I do not want to copy the dlls of XYZ application in Client folder of Navision.
Thanks for any help.
I have successfully integrated an external application XYZ designed by me in C++ with Navision using ATL COM. i.e I am invoking some of the functions of application XYZ in Navision via ATL COM. But the problem is I had to copy all dlls of application XYZ in the installation directory of Navision. i.e in
C:\Program Files\Microsoft Business Solution-Navision\Client
If I do not do this then when I run Navision to access fun. of XYZ, Navision crashes. This is because I guess Navision's exe finsql.exe and its dll are available in Client folder.
Is there any way to solve this problem. i.e I do not want to copy the dlls of XYZ application in Client folder of Navision.
Thanks for any help.
0
Comments
-
No. It doesn't work.
I have >10 dlls of application XYZ. And one COM dll.
When I register COM dll say abc.dll from a specific path say d:\temp then it loads only one dependent dll say opq.dll of XYZ from that path. But then
opq.dll searches for its dependent dll in the Client directory of Navision installation and then crashes if I haven't loaded all 10 dlls there in Client folder.
Is there any change that should I do in my COM dll or in any dll of XYZ so that all dll gets loaded from the path d:\temp.
Please help.0 -
So, maybe you should keep those dlls in \windows\system32 or add the path of those dll's to system environment variable PATH0
-
Hi,
Thanks for your help. But it also doesn't work.
I set PATH env. variable in My Computer's property to d:\temp and also copied dlls in c:\winnt\system32. but no luck.
](*,) ](*,)0 -
I think, your only way is to minimize number of DLLs by merging the code to one.
If it is not real, you can create simple batch (.BAT) to correctly install and register all DLLs to target PC.0 -
see registry key HKEY_LOCAL_MACHINE\SOFTWARE\Navision\Microsoft Business Solutions-Navision\W1 4.00 etc...0
-
Hi all,
Mydlls of application XYZ are not COM dll. I mean to say I can't register them.
My XYZ application is the mixture of managed and unmanaged code. i.e some of the dlls of XYZ are compiled in .net.
So one thing that I have noticed is my Navision crashes only if .net dlls have not been placed in Client folder of Navision.
Should I change something in my .net specific dlls.
Thanks for any help.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 327 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

