Debug a bad DLL calling convention

前端 未结 6 884
轻奢々
轻奢々 2020-12-09 10:20

How do I debug a bad DLL calling convention error in MSAccess VBA code?

I made some changes to a function in a module and then got the error. How do a debug it to fi

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-09 10:44

    In Excel VBA, this can be caused by any of several problems:

    1. A parameter or return-value type mismatch.
    2. An object method (such as AutoFit) applied to an erroneous object variation for which that method isn’t available.
    3. A call to an external library function.
    4. Broken library references

    For resolutions to these causes, see my post at: Runtime Error 49, Bad DLL calling convention

提交回复
热议问题