• Bad DLL calling conventin

    Author
    Topic
    #470701

    I’ve been adding code to my VBA project in Word 2007 for several hours, having added a couple hundred lines of code. When I tested, I got an error “Bad DLL calling convention”. There are no DLL calls in the code, no DLL references added to the template.

    The code stops on the first of several near identical Subs. The code I added today involved variations on the Sub; but it’s the first one that gets called that seems to be the problem.

    I had a backup from yesterday. I exported the code modules I added today, and imported them into my backup. No problem of any kind.

    What, then, would trigger the “Badd DLL” error? Could it be corruption in the code raising a bogus error?

    Thanks.

    Viewing 1 reply thread
    Author
    Replies
    Viewing 1 reply thread
    Reply To: Bad DLL calling conventin

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: