Link to home
Start Free TrialLog in
Avatar of Dan_Fraser
Dan_Fraser

asked on

Bad Kernel, COMDLG32.DLL file is linked to missing export kernel32.dll

I recently recieved an email from someone who had downloaded my software.  She said that she had recieved the following errors:
"Error Starting Program....The COMDLG32.DLL file is linked to missing export kernel32.dll GetSystemDefaultUILanguage"
"RUNDLL    Error loading powerprof.dll"
"RUNDLL   Error loading mmsys.cpl"
"Error occurred loading  c:\program files\outlook express\wabimp.dll  file not installed or corrupted"

She did not mention her system specs so I assume she is running Windows 98 (common Windows, I guess).  I didn't know what to do, so i told her to try sfc.exe.  I know my application overwrites older ocx and dll files, which includes the comdlg32.dll file, but it does not touch the kernel.  If you need to know, the software is at http://www.vayt.com.

Please help, this is urgent!
Avatar of moorhouselondon
moorhouselondon
Flag of United Kingdom of Great Britain and Northern Ireland image

This article here describes the wabimp.dll as having been moved to the directory specified in your question.  Previously the file was somewhere else (Windows\System or Winnt\System32), so this gives an insight into the problem being to do with version control.  

http://www.microsoft.com/resources/documentation/ie/5/all/reskit/en-us/part6/appxbtrb.mspx

There are numerous questions that need to be asked to troubleshoot further.  What version of Windows she has, etc. which will pinpoint whether your software is taking her system back in time, or whether you are moving her too far forward without refreshing files.  I take it all files installed by you are registered by the installation utility, or by regservr32??
ASKER CERTIFIED SOLUTION
Avatar of BillDL
BillDL
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ouch.

ee should do a AA+ grading with an answer as comprehensive as that.
Thank you, Dan.

Just one more possibly related issue that wasn't present prior to installing the program.

Internet Explorer 5.01.  Edit > "Find on this page" shows the following error message:

Microsoft Internet Explorer
An error has ocurred in this dialog
Error: 34
Incompatible version of the RPC Stub.

The "Find" dialog peeps out from behind the error msg, but closes when "OK" is clicked.

Possible cause, if this affects any users AND your program installs the specified file, is that it has installed another version of OLEAUT32.dll in c:\windows\system.

Possible solution:
Extract the original OLEAUT32.dll from the Win98 CD in DOS or run SFC in Windows to extract the named file and replace it.  Reboot required.

Alternatively, download Dcom98.exe.  Shut down and reboot to command prompt.  Rename OLEAUT32.dll to OLEAUT32.OLD.  Shut down and restart, ignoring the error about file not found.  Install Dcom98 and then reboot.

DCOM98.EXE Version 1.3 (1201 KB) 9/1/2004
http://www.microsoft.com/downloads/details.aspx?familyid=08b1ac1b-7a11-43e8-b59d-0867f9bdda66&displaylang=en

http://download.microsoft.com/download/d/1/3/d13cd456-f0cf-4fb2-a17f-20afc79f8a51/DCOM98.EXE

Cause of problem:

The version off the Win98SE CD is 2.40.4275.  I currently have version 3.50.5016.0 which appears to have been installed by your program.  This is a Windows XP version of that file that is incompatible with Win98.  It wasn't introduced by any other installations that I can determine.

I look forward to finding more Windows XP file versions on my system when related errors pop up :-)

I hate being critical Dan, because I am NOT a software developer, but I have created my own installer packages and self-extracting distributions using a variety of programs.  In all of them I have used, there are options to enable "condition checking" and then select the files to install from a specified source according to the findings.  The simplest way to verify the operating system would be to retrieve the following values from the registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion

"ProductName"  (eg. Microsoft Windows 98)
"VersionNumber" (eg. 4.10.2222)
"SubVersionNumber" (eg.  A )

Did you actually test this application in a Windows 98 environment?


Avatar of Dan_Fraser
Dan_Fraser

ASKER

This answer comes late, but yes, I tried it on Windows 98, with just the software, and it worked flawlessly.  I suppose that it was my installer, so that will be fixed.