Access runtime 2003 with Common Dialog DLL

S

Stan Lukken

I've built an MDE application, packaged and installed with tools from the
Developer Extensions. The application installs without error and runs
perfectly on several computers. Runtime warnings occur only on a few
specific computers. The difference in configuration between those systems
that do and those that do not generate warnings is not clear. All systems
run the XP OS with all critical updates for both the OS and Office, if Office
is installed. My MDE runs without warnings on machines that include Office
XP Pro and on machines that do not have any version of Office on them. The
two machines that generate warnings appear unique in that they include Office
XP Standard (without Access).

Because my MDE makes use of "comdlg32.dll", I suspect a registration
problem. The initial form presented to the user includes a common dialog
object. Before the form is displayed, a warning message says "There is no
object in this control". The application's initial form will then display,
but any attempt to use a control that refers to the common dialog object will
generate additional warning messages saying the class or object does not
support the set of events. My attempts to register the DLL using "regsvr32"
results in the message "comdlg32.dll was loaded, but the DLLRegisterServer
entry point was not found. This file cannot be registered."

My questions? Is this a registration problem with "comdlg32.dll", and if
so, how can I resolve it? If not, why does my MDE operate without flaw on
other machines where no manual registration of the dll was ever performed?
Thank for your help. . .
 
D

Douglas J. Steele

comdlg32.dll seems to be one of the most sensitive to version differences.

What are you using that dll for? Can you replace it by making API calls
instead?
 
S

Stan Lukken

The application prompts the user for several files of varied names and
locations known only to the user. Once processed, new files are saved to
names and locations also chosen by the user. The methods available in this
DLL have always worked well for me in the past, besides providing a familiar
file-prompting interface for the user. The code runs perfectly on a vast
majority of its installs. What can be done to make it operational on the
handful that remain? Do you have a solution?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top