Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Some customers have experienced problems when calling the nt6400.dll functions in VB5.0 under the NT4.0 operating system. One customers functions were declared correctly in his AT6400.BAS file but he was getting the following error:

Run time error 49
Bad DLL calling convention.

It turned out that he had declared our NT DLL function as follows:

Declare Function SendAT6400Block% Lib "nt6400.dll" (ByVal ADDRESS%, ByVal cmd$, ByVal irqnum%)

The problem was that he had a copy of nt6400.dll in his current project directory. He also had this file in the system directory. The problem was resolved when he took the nt6400.dll out from his project directory and placed in the operating system directory.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.