Put your DLL file at Client\Bin at Axapta folder under Program Files. That folder's name is :
C:\Program Files (x86)\Microsoft Dynamics AX\50\Client\Bin\
at my PC.
Set parameters with extTypes enum at Arg method. Sample usage:
void Test()
{
DLL testDll;
DLLFunction test;
;
testDll = new DLL("MyTestDLL.dll");
test = new DLLFunction(printDLL, "MyTestingMethod");
test.arg(extTypes::Word ,extTypes::String);
test.call(12345,"ABCDE");
}
C:\Program Files (x86)\Microsoft Dynamics AX\50\Client\Bin\
at my PC.
Set parameters with extTypes enum at Arg method. Sample usage:
void Test()
{
DLL testDll;
DLLFunction test;
;
testDll = new DLL("MyTestDLL.dll");
test = new DLLFunction(printDLL, "MyTestingMethod");
test.arg(extTypes::Word ,extTypes::String);
test.call(12345,"ABCDE");
}