P
(PeteCresswell)
MS Access has started throwing this error at the exit point of
one of my routines.
/Decompile followed with a compact/repair makes it go away; but
what's got me worried is that it's come back twice over the past
weeks - for total of 3 appearances.
I also am pretty sure I've been through this a couple of times in
years past.
Googling, most of what I see is in the spirit of Jeffery
MacLeod's post to microsoft.public.access.modulesdaovba in the "
Possible answer to Err 49: Bad DLL calling convention" thread:
---------------------------------------------------------
The error you are receiving error # 49: "Bad DLL calling
convention" is often caused by incorrectly omitting or including
the ByVal keyword from the Declare statement. This error can also
be caused if the wrong parameters are passed.
----------------------------------------------------------
That's fine, and I'll be extra careful to make sure I don't
default any of my passed parms to ByRef... but what's got my
attention is that it happens, then goes away with the
compact/repair and doesn't happen on the next test using the same
data.
Anybody have any further insights?
My main concern is that the application is somehow subtly
corrupted and that the other shoe is going to fall eventually.
OTOH, maybe I'm lying about the test data being the same and it's
tripping over a Null or something....
one of my routines.
/Decompile followed with a compact/repair makes it go away; but
what's got me worried is that it's come back twice over the past
weeks - for total of 3 appearances.
I also am pretty sure I've been through this a couple of times in
years past.
Googling, most of what I see is in the spirit of Jeffery
MacLeod's post to microsoft.public.access.modulesdaovba in the "
Possible answer to Err 49: Bad DLL calling convention" thread:
---------------------------------------------------------
The error you are receiving error # 49: "Bad DLL calling
convention" is often caused by incorrectly omitting or including
the ByVal keyword from the Declare statement. This error can also
be caused if the wrong parameters are passed.
----------------------------------------------------------
That's fine, and I'll be extra careful to make sure I don't
default any of my passed parms to ByRef... but what's got my
attention is that it happens, then goes away with the
compact/repair and doesn't happen on the next test using the same
data.
Anybody have any further insights?
My main concern is that the application is somehow subtly
corrupted and that the other shoe is going to fall eventually.
OTOH, maybe I'm lying about the test data being the same and it's
tripping over a Null or something....