Try and move the dll to a folder that is part of your windows "path"
environment. You can check it by typing path in a dos-box.

/b



Ayesha Soni wrote:

> Hi,
> I am trying to call a DLL from within Axapta.I have over-ridden the
> WinAPI class for the same and added a new method with the following code:
> static int putDataInQueue(CustTable varCustTable)
> {
>
> DLL _winApiDLL = new DLL('AxaptaDataDLL');
> DLLFunction _insertInQueue = new DLLFunction(_winApiDLL, 'AxaptaData');
> _insertInQueue.returns(ExtTypes::DWord);
> _insertInQueue.arg(ExtTypes::String);
> if
> (_insertInQueue.call(varCustTable.Name,varCustTable.AccountNum,varCustTable.Address)
> == 0)
> return WinAPI::getLastError();
> return 0;
> }
> However,Axapta gives an error "Unable to Open DLL", and is not able to
> locate and identify the DLL.
> Any help will be highly appreciated.
> Regards,
> Ayesha
>
>
> ---------------------------------
> Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
> Download Messenger Now
>
> [Non-text portions of this message have been removed]
>
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/development-axapta/
>     * To unsubscribe from this group, send an email to:
>       [EMAIL PROTECTED]
>       <mailto:[EMAIL PROTECTED]>
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>





Yahoo! Groups Links

Reply via email to