Mon application utilise twain dll pour numériser des documents. Il y a tellement d'utilisateurs qui utilisent mon application. Mais pour quelques utilisateurs mon application se bloque et obtient l'erreur que mon application a cessé de fonctionner. Les utilisateurs ont signalé ce problème utilisent Windows Vista ou Windows 7 version. L'image mémoire affiche "System.Runtime.InteropServices.COMException". S'il vous plaît voir ci-dessous la trace de la pile prise à partir du vidage de la mémoire.Crash d'application
STACK_TEXT:!
77a6015d ntdll RtlReportCriticalFailure + 0x5b
77a60d68 ntdll RtlpReportHeapFailure + 0x21
77a60e56 ntdll RtlpLogHeapFailure + 0xA1
77a2b0c8 ntdll RtlSizeHeap + 0x69
! 778212e0 ole32! CRetailMalloc_GetSize + 0x21
767f43d9 oleaut32! App_data :: FreeCachedMem + 0x30
767f3e6c oleaut32! SysFreeString + 0x6B
118b1647 VM31bTXP + 0x1647
779ee1c4 ntdll! LdrpCallInitRoutine + 0x14
779e8dea NTDLL! LdrpUnloadDll + 0x3d8
779ee8e2 ntdll! LdrUnloadDll + 0x46
76aa0979 kernel32! FreeLibrary + 0x15
597d6512 twain! CDataSrc :: + 0x22 unload
597d66b9 twain! CDataSrc :: SendMessageA + 0x81
597d6c1e twain! CDataSrc :: identityMsg + 0x18
597d6d0d twain! CDataSrc :: MessageNoAppCheck + 0x47
597d6e14 twain! CDataSrc :: IDataSrc + 0xD0
597d58f6 twain! CDSM :: registerDS + 0x1b7
597d5ca3 twain! CDSM :: registerDirDSs + 0x163
597d5c87 twain! CDSM :: registerDirDSs + 0x147
597d5dc7 twain! CDSM :: findAndRegisterDSs + 0x85
597d5ed9 twain! CDSM :: findClosestDefaultDS + 0xcc
597d634d twain! CDSM :: identityMsg + 0x17e
597d6404 twain! CDSM :: Mes sauge + 0x91
597d8ec6 twain!DSM_Entry + 0x102
0540605c inconnus + 0x0
119792d3 inconnu + 0x0
11979255 inconnus + 0x0
68991eab System_Windows_Forms_ni + 0xa51eab
68991eab System_Windows_Forms_ni + 0xa51eab
68120317 System_Windows_Forms_ni + 0x1e0317
68136d71 System_Windows_Forms_ni + 0x1f6d71
68136d1a System_Windows_Forms_ni + 0x1f6d1a
68136d1a System_Windows_Forms_ni + 0x1f6d1a
68136b74 System_Windows_Forms_ni + 0x1f6b74
68140207 System_Windows_Forms_ni + 0x200207
S'il vous plaît aviser lorsque cette exception se
Nous aurons besoin de beaucoup plus d'informations que cela. Pouvez-vous exécuter le programme à partir de Visual Studio avec des débogueurs attachés? Sinon, est-ce que quelque chose apparaît dans le journal des événements? Vous devriez obtenir un rapport d'exception complet. –
démarrer le débogueur: F5 ... (quand vous ne savez pas comment le déboguer, il n'appartient probablement pas à stackoverflow ...) –