Daily Consolidation: Just yesterday, a new study calling on Dll file interface, summed up as follows:
1. Create ClassLibrary class library in C #, by reference DLL path,
The reference code: [the DllImport (@ "C: \ XXXX \ XXcompany_XXinterface.dll", the CharSet = CharSet.Ansi)]
2. The DLL of the secondary dispensing through ClassLibrary library, AX facilitate call directly inside.
3. Compile the C # program, DLL file installed after the raw ingredients.
4. After packing our DLL files put under AX installation path: C: \ Program Files (x86) \ in the Microsoft Dynamics AX \ 60 \ Client \ the Bin
The direct reference to the DLL in the dispensing procedure in AX
6. The code calls can be used directly in the program.