Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/174668

From BetaArchive Wiki
Knowledge Base


INFO: Dbgrid32.ocx Requires Grdkrn32.dll

Article ID: 174668

Article Last Modified on 12/10/2003



APPLIES TO

  • Microsoft Visual C++ 4.0 Standard Edition
  • Microsoft Visual C++ 4.1 Subscription
  • Microsoft Visual C++ 4.2 Enterprise Edition
  • Microsoft Visual C++ 4.2 Professional Edition



This article was previously published under Q174668

SUMMARY

Attempting to register the Dbgrid32.ocx file with RegSvr32.exe, on a Windows NT version 3.51 machine, where Visual C++ or Visual Basic is not installed, gives the following error message:

LoadLibrary failed GetLastError is 0x0000045a

MORE INFORMATION

When trying to use Dbgrid32.ocx, one must also include Grdkrn32.dll in the Windows system directory apart from the other redistributable DLLs.

NOTE: When you run the setup wizard from Visual Basic, Grdkrn32.dll is mentioned in the Swdepend.ini file that is created. Another source of information is the Sw32tmpl.ini file found in vb\setupkit\kitfil32, where it says under dbgrid32.ocx that a file named Grdkrn32.dll is also required.

This dependency is not present in the Dbgrid32.ocx file that ships with Visual C++ 5.0.

Keywords: kbinfo kbarttypeinf KB174668