[ActiveLock-Users]FW: HELP ME!?!?!?! Run-time Error '429'
Brought to you by:
ialkan
From: Carl S. <CS...@Hi...> - 2004-04-04 02:49:04
|
Warning: inexperienced user! After a little bit of debugging, I have determined that the error is occurring at this line, not in the function but on this line: crc = CRCCheckSumTypeLib(New ActiveLock2.Globals) I thought I had lifted the code from Example1 that was included in the ActiveLock distribution, but it is a little different. I've included the function below. My question then is why does this work on Win2K but not on Windows 95? Imagehlp.dll is included in the distribution and is on the target system (Windows 95). From the MSKB: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/mapf ileandchecksum.asp Requirements Client: Requires Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95. Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server. Unicode: Implemented as Unicode and ANSI versions, except on Windows Me/98/95. Header: Declared in Imagehlp.h. Library: Use Imagehlp.lib. Do I need to (somehow?) include the .lib?!?! And what's that mean about Unicode "except on Windows ME/98/95"? It doesn't work for those platforms? '' ' Performs CRC checksum on the type library containing the object. ' @param obj COM object used to determine the file path to the type library ' Public Function CRCCheckSumTypeLib(obj As IUnknown) As Long Dim strDllPath As String strDllPath = GetTypeLibPathFromObject(obj) Dim HeaderSum As Long, RealSum As Long MapFileAndCheckSum strDllPath, HeaderSum, RealSum CRCCheckSumTypeLib = RealSum End Function And this is defined at the top of the code for the same form. Private Declare Function MapFileAndCheckSum Lib "imagehlp" Alias "MapFileAndCheckSumA" (ByVal FileName As String, HeaderSum As Long, CheckSum As Long) As Long >-----Original Message----- >From: Carl Sewell [mailto:CS...@Hi...] >Sent: Saturday, April 03, 2004 11:38 AM >To: act...@li... >Subject: HELP ME!?!?!?! Run-time Error '429' > > >Warning: inexperienced user! > >I created an application with ActiveLock2 (downloaded a month or so >ago) and all appears to be working well. I've installed it on Windows >2000 machines without any problems (uh, once I included the ActiveLock >libraries!). However, when I tried installing it on a Windows 95 >machine, the install reports being successful, but when I try to run >the application I get: > >Run-time Error '429' > >ActiveX component can't create object. > >I verified that all the DLLs were referenced in the Registry. When I >tried to manually register "alcrypto.dll", REGSVR32 reports: >"alcrypto.dll was loaded, but the DllRegisterServer entry point was >not found. DllRegisterServer may not be exported, or a corrupt version >of alcrypto.dll may be in memory." > >I uninstalled the application, manually removed 'alcrypto.dll' and >then reinstalled the application. I still get the same Run-time Error >when I try to run the program and REGSVR32 reports the same message. >Is there a problem with 'alcrypto.dll' running on Windows95? I get >the same error message when running REGSVR32 on a successful >installation on W2K. > >Where do I begin to trouble-shoot this problem? Any help would be >greatly appreciated. > > > > |