10.10.2012, 18:11 | #1 |
Участник
|
ax-erp: How to call external dll files from AX
Источник: http://microsoft-dynamics-ax-erp.blo...s-from-ax.html
============== This is how u can call a dll from AX. I have used the Beep function in kernel32.dll The parameters of Beep are BOOL Beep(DWORD dwFreq,DWORD dwDuration); The AX Code is static void AB_DLL(Args _args) { DLL winApiDLL = new DLL('kernel32'); DLLFunction Function = new DLLFunction(winApiDLL,'Beep'); Function.arg(extTypes::DWord,extTypes::DWord); Function.call(400,1000); } Run this and u'll hear a beep (if ur sound is on). Источник: http://microsoft-dynamics-ax-erp.blo...s-from-ax.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|