Announcement

Collapse
No announcement yet.

DLL issue with VB6 setup.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DLL issue with VB6 setup.

    I'm using the trial version of Setup Factory to convert a VB6 app from Windows Server 2008 to Windows Server 2016.
    The issue I'm having is with ntdll.dll, it's crashing the setup. It looks like the issue is the version it's using. The event viewer shows the faulting module for the dll is in the System32 directory. It should be accessing the version in SysWOW64. Is there any way to force the app to use the 32 bit version? Or could it be a different issue?

    Faulting application name: TMS.exe, version: 1.0.0.312, time stamp: 0x6099961c
    Faulting module name: ntdll.dll, version: 10.0.14393.4350, time stamp: 0x606eb0f6
    Exception code: 0xc0000005
    Fault offset: 0x00082cdb
    Faulting process id: 0x16ec
    Faulting application start time: 0x01d747fdb4f62915
    Faulting application path: C:\Programs\TMS.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: 9f5c60cf-7c33-4d73-bd0c-3ae2ed679acd
    Faulting package full name:
    Faulting package-relative application ID:

  • #2
    The ntdll.dll is part of the operating system and should never be added to the files of your setup. Make sure you include only your application, and custom controls which are not already part of the operating system.

    Ulrich

    Comment


    • #3
      Thanks for reply Ulrich. The dll wasn't included in my distribution, Windows already had both the 32 and 64 bit versions of the dll installed. From the log, it looks like the program is trying to use the 64 version of the dll. Is there a way in Setup Factory to specify the correct version or is that something that Windows handles automatically?

      Comment


      • #4
        Please attach the project file. There appear to be a few things wrong with it, starting with the target folder, based on the error message (application path "C:\Programs\TMS.exe") .

        Ulrich

        Comment


        • #5
          My company is very sensitive about program names and file structures so I modified them. Here's the original error event output and the project file.

          Faulting application name: TMS2.exe, version: 1.0.0.312, time stamp: 0x6099961c
          Faulting module name: ntdll.dll, version: 10.0.14393.4350, time stamp: 0x606eb0f6
          Exception code: 0xc0000005
          Fault offset: 0x00082cdb
          Faulting process id: 0x16ec
          Faulting application start time: 0x01d747fdb4f62915
          Faulting application path: C:\Transaver\TMS2\TMS2.exe
          Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
          Report Id: 9f5c60cf-7c33-4d73-bd0c-3ae2ed679acd
          Faulting package full name:
          Faulting package-relative application ID:

          There are three projects in the program group, here's the project file from the main program

          Type=Exe
          Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\..\..\Window s\system32\stdole2.tlb#OLE Automation
          Object={A49CE0E0-C0F9-11D2-B0EA-00A024695830}#1.0#0; tidate8.ocx
          Object={66A90C01-346D-11D2-9BC0-00A024695830}#1.0#0; timask8.ocx
          Object={49CBFCC0-1337-11D2-9BBF-00A024695830}#1.0#0; tinumb8.ocx
          Object={66A5AC41-25A9-11D2-9BBF-00A024695830}#1.0#0; titime8.ocx
          Object={0AFE7BE0-11B7-4A3E-978D-D4501E9A57FE}#1.0#0; c1sizer.ocx
          Object={CDF1175F-8D7D-431B-8B61-069CB3A80DD6}#1.0#0; Spell8.ocx
          Object={605925BE-4799-4093-A2E7-39323147E70E}#1.0#0; C1Query8.OCX
          Reference=*\G{C10EF3FA-DEBF-4189-8859-C35CA400BBA8}#8.0#0#..\..\..\..\..\..\..\..\Window s\system32\xadb8.ocx#ComponentOne XArrayDB 8.0 Object
          Reference=*\G{EF53050B-882E-4776-B643-EDA472E8E3F2}#2.7#0#..\..\..\..\..\..\..\..\Progra m Files\Common Files\System\ado\msado27.tlb#Microsoft ActiveX Data Objects 2.7 Library
          Reference=*\G{6B263850-900B-11D0-9484-00A0C91110ED}#1.0#0#..\..\..\..\..\..\..\..\Window s\system32\msstdfmt.dll#Microsoft Data Formatting Object Library
          Reference=*\G{56BF9020-7A2F-11D0-9482-00A0C91110ED}#1.0#0#..\..\..\..\..\..\..\..\Window s\system32\MSBIND.DLL#Microsoft Data Binding Collection
          Object={8D02DC4E-BFE1-4A08-9F2A-F268CB42CDFB}#3.0#0; Actbar3.ocx
          Object={F514BE21-8D87-4DB5-9B1B-4204C81D2AD4}#1.0#0; TwnPRO4.dll
          Object={ED512BE6-6629-4FB4-953D-D0C353847163}#1.0#0; ImagXpr7.dll
          Reference=*\G{00062FFF-0000-0000-C000-000000000046}#9.2#0#..\..\..\..\..\..\..\..\Progra m Files\Microsoft Office\OFFICE11\msoutl.olb#Microsoft Outlook 11.0 Object Library
          Reference=*\G{00020905-0000-0000-C000-000000000046}#8.3#0#..\..\..\..\..\..\..\..\Progra m Files\Microsoft Office\OFFICE11\MSWORD.OLB#Microsoft Word 11.0 Object Library
          Reference=*\G{8620B873-D801-11D2-AC47-00600832A1F6}#2.1#0#..\..\..\..\..\..\..\..\Progra m Files\Microshit\VBPrnDlg.dll#Microsoft VB Printer Dialog(PSS)
          Reference=*\G{78165D71-DF28-11D3-9A89-005004A56D53}#1.0#0#..\..\..\..\..\..\..\..\Progra m Files\Adobe\Acrobat 6.0\Acrobat\Acrobat.tlb#Adobe Acrobat 6.0 Type Library
          Reference=*\G{91147A58-DFE4-47C0-8E76-987FC1A6001B}#3.0#0#..\..\..\..\..\..\..\..\Progra m Files\Common Files\MSSoap\Binaries\MSSOAP30.dll#Microsoft Soap Type Library v3.0
          Reference=*\G{F5078F18-C551-11D3-89B9-0000F81FE221}#6.0#0#..\..\..\..\..\..\..\..\Window s\System32\msxml6.dll#Microsoft XML, v6.0
          Reference=*\G{61ED18D9-419D-4069-BD4C-99076BEE32CD}#1.2#0#..\..\TOL\TOL.dll#
          Reference=*\G{C337B6E3-5EEE-4280-B560-40A0728B5014}#1.0#0#..\..\..\AppBuilder\Src\AppBui lder.dll#AppBuilder
          Object={2BF1CD1B-7F24-43B3-BF97-5129AF686CF0}#9.0#0; ABComoBob.ocx
          Object={60CCE6A8-5C61-4F30-8513-F57EED62E86A}#8.0#0; todl8.ocx
          Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; MSCOMCTL.OCX
          Object={562E3E04-2C31-4ECE-83F4-4017EEE51D40}#8.0#0; todg8.ocx
          Object={BC4A37D8-D35C-4E0D-A498-E011291F9523}#3.0#0; ABScritter.ocx
          Object={67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0; MSADODC.OCX
          Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; COMDLG32.OCX
          Form=ClaimInfo2.frm
          Form=ClaimInfo1.frm
          Module=basImport; Import.bas
          Module=libAPI; ..\..\..\Lib\API.bas
          Form=ClaimExpressClose.frm
          Form=RptOpts.frm
          Class=libCTooltip; ..\..\..\Lib\CTooltip.cls
          Form=CompLoc.frm
          Form=VoucherBrowse.frm
          Module=libObject; ..\..\..\Lib\Object.bas
          Form=CompLocDoc.frm
          Module=libPrinter; ..\..\..\Lib\Printer.bas
          Form=ClaimDet.frm
          Form=Consol.frm
          Module=libDataType; ..\..\..\Lib\DataType.bas
          Module=libString; ..\..\..\Lib\String.bas
          Form=VoucherReassignTo.frm
          Form=VoucherInvoice.frm
          Form=ClientPricingDetailImport.frm
          Form=VoucherInfo2.frm
          Form=DataLinking1.frm
          Form=CompLocOpts.frm
          Form=ConsolDoc.frm
          Module=basMain; Main.bas
          Form=ClaimDoc.frm
          Form=Splash.frm
          Form=VoucherDet.frm
          Class=Detail; Detail.cls
          Class=Request; Request.cls
          Class=Response; Response.cls
          Form=ConsolNote.frm
          Form=ConsolNoteAction.frm
          Form=VoucherEDIControl.frm
          Form=VoucherSavings.frm
          Form=VoucherInfo1.frm
          Form=VoucherPayee.frm
          IconForm="frmSplash"
          Startup="Sub Main"
          HelpFile=""
          Title="TMS2"
          ExeName32="TMS2.exe"
          Command32=""
          Name="TMS2"
          HelpContextID="0"
          Description="Transaver Management System"
          CompatibleMode="0"
          MajorVer=1
          MinorVer=0
          RevisionVer=312
          AutoIncrementVer=1
          ServerSupportFiles=0
          VersionCompanyName="Transaver"
          VersionFileDescription="Transaver Management System"
          VersionLegalCopyright="Legal Description"
          VersionProductName="Transaver Management System"
          CompilationType=0
          OptimizationType=2
          FavorPentiumPro(tm)=0
          CodeViewDebugInfo=0
          NoAliasing=0
          BoundsCheck=0
          OverflowCheck=0
          FlPointCheck=-1
          FDIVCheck=0
          UnroundedFP=0
          StartMode=0
          Unattended=0
          Retained=0
          ThreadPerObject=0
          MaxNumberOfThreads=1
          RemoveUnusedControlInfo=0
          DebugStartupOption=0

          [MS Transaction Server]
          AutoRefresh=1


          Comment


          • #6
            I am sorry, but the information you posted is not what I asked for and does not help. The error is happening in the application named "TMS2.exe", not in our product. If you are unable to share how you are installing your product publicly in this user forum, you can purchase a license and submit a support ticket (where you can send the project file directly to me). Should Setup Factory not fit your needs, you can ask for a refund.

            Ulrich

            Comment


            • #7
              Thanks Ulrich, I appreciate all of your help.

              Comment

              Working...
              X