Thanks for the reply.
Our application is a VC++ 7.1 unmanaged application. We have some new pieces
that we call that were written in C# that we call through a C++ MFC mixed
mode DLL. This functionality is delay-loaded so we don't have the dot net
overhead unless the functionality is actually used. Although we get the same
symptoms if delay-loading of this dll is disabled.
We also have a mail module in our application that uses mapi to send mail.
The symptoms that we get vary. But they do seem to be related to the number
of DLL's that are currently loaded in the application. Generally it will be
that crystal reports says it can't find on of it's u2*.dll's, unable to
create the report viewer ActiveX control or login errors connecting to the
database.
Non of these errors ever occur on W2K or WXP, only on W98SE and WME.
The reports work fine until a feature is accessed that loads more dll's into
the process space, such as loading mapi in the unmanaged C++ code or doing
certain things in the C# code such as getting a list of SQL servers using
SQLDMO.
Once the failing condition is reached, it cannot be corrected without
exiting the application, sometimes even rebooting is required.
I have done extensive remote debugging on the computer with a debug build
and the only commonality that I can come up with is the number of dll's that
are currently loaded when the error occurs.
Also, as long as I stay away from the program's functionality that loads the
extra dll's, the reports work fine no matter how many times I run them.
--
Thanks,
Bruce
"William DePalo [MVP VC++]" <wi***********@mvps.org> wrote in message
news:eG**************@TK2MSFTNGP14.phx.gbl...
"Bruce" <bw*****@nospam.nospam> wrote in message
news:O6**************@TK2MSFTNGP12.phx.gbl...I thought that I had read somewhere before about a limit to the number of
DLL's that could be loaded by a 32 bit application when it is run on
Windows 98/ME operating systems.
But I can't seem to find the document in MSDN.
Well, you won't find something that says "you can load at most 'n'
libraries" because there is no such hard and fast rule.
Our application uses Crystal Reports 9 and we have issues on 98 SE and ME
that seem to be dependent on the number of DLL's that are currently
loaded by the application.
What kind of issues?
Regards,
Will