PCDVD數位科技討論區
PCDVD數位科技討論區   註冊 常見問題 標記討論區為已讀

回到   PCDVD數位科技討論區 > 其他群組 > 疑難雜症區
帳戶
密碼
 

回應
 
主題工具
mhp1120
Golden Member
 
mhp1120的大頭照
 

加入日期: Sep 2004
文章: 2,606
滑鼠驅動軟體會不定時運算溢位!?

問題:
系統是Win10的1803,因為最近玩鬼斬一直會遇到滑鼠游標凍結(必須要重插USB的那種)及C++錯誤的問題,結果狂按驅動軟體中的滑鼠測試時就發現禍首在哪了(請看附圖);雖然是終於找到滑鼠一直當及C++錯誤的原因,但"Mad Catz-美加獅"早就倒了,所以也不可能去找官方解決,若有懂得編輯程式語法的網友能幫忙一下嗎?

PS:谷歌查詢是關於.NET及C++的config語法問題,但敝人不會寫程式,也不會修改語法,只能來這邊看看有沒有高手能幫忙修改了。


附圖:



錯誤訊息:
如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。

************** 例外狀況文字 **************
System.OverflowException: 數學運算導致溢位。
於 Saitek.ProfileEditorControl.TestRTB.WndProc(Message& m)
於 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** 已載入的組件 **************
mscorlib
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8935 (WinRelRS4.050727-8900)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
SmartTechnology
組件版本: 7.0.45.2
Win32 版本: 7.0.45.2
程式碼基底: file:///C:/Program%20Files/SmartTechnology/Software/SmartTechnology.exe
----------------------------------------
PresentationFramework
組件版本: 3.0.0.0
Win32 版本: 3.0.6920.8931 built by: WinRelRS4
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
組件版本: 3.0.0.0
Win32 版本: 3.0.6920.8931 built by: WinRelRS4
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8934 (WinRelRS4.050727-8900)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
PresentationCore
組件版本: 3.0.0.0
Win32 版本: 3.0.6920.8931 built by: WinRelRS4
程式碼基底: file:///C:/WINDOWS/assembly/GAC_64/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
Saitek.Common
組件版本: 7.0.45.2
Win32 版本: 7.0.45.2
程式碼基底: file:///C:/Program%20Files/SmartTechnology/Software/Saitek.Common.DLL
----------------------------------------
Saitek.Devices
組件版本: 7.0.45.2
Win32 版本: 7.0.45.2
程式碼基底: file:///C:/Program%20Files/SmartTechnology/Software/Saitek.Devices.DLL
----------------------------------------
System.Configuration
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8922 (WinRelRS4.050727-8900)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8922 (WinRelRS4.050727-8900)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
WindowsBase.resources
組件版本: 3.0.0.0
Win32 版本: 3.0.6920.8931 built by: WinRelRS4
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase.resources/3.0.0.0_zh-CHT_31bf3856ad364e35/WindowsBase.resources.dll
----------------------------------------
Pr0fileEditor_Forms
組件版本: 7.0.45.2
Win32 版本: 7.0.45.2
程式碼基底: file:///C:/Program%20Files/SmartTechnology/Software/Pr0fileEditor_Forms.DLL
----------------------------------------
WindowsFormsIntegration
組件版本: 3.0.0.0
Win32 版本: 3.0.6920.8931 built by: WinRelRS4
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsFormsIntegration/3.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
PresentationFramework.Aero
組件版本: 3.0.0.0
Win32 版本: 3.0.6920.8931 built by: WinRelRS4
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.Aero/3.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
System.Windows.Forms
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8922 (WinRelRS4.050727-8900)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8922 (WinRelRS4.050727-8900)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ProfileDoc
組件版本: 7.0.45.2
Win32 版本: 7.0.45.2
程式碼基底: file:///C:/Program%20Files/SmartTechnology/Software/ProfileDoc.DLL
----------------------------------------
System.Windows.Forms.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8922 (WinRelRS4.050727-8900)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Pr0fileEditor_Forms.resources
組件版本: 7.0.45.2
Win32 版本: 7.0.45.2
程式碼基底: file:///C:/Program%20Files/SmartTechnology/Software/zh-CHT/Pr0fileEditor_Forms.resources.DLL
----------------------------------------
c9e4beb7_9967_4ce8_8fbc_02ca04f453d8
組件版本: 7.0.45.2
Win32 版本: 7.0.45.2
程式碼基底: file:///C:/Program%20Files/SmartTechnology/Software/Controllers/c9e4beb7_9967_4ce8_8fbc_02ca04f453d8.dll
----------------------------------------
Saitek.Branding
組件版本: 7.0.45.2
Win32 版本: 7.0.45.2
程式碼基底: file:///C:/Program%20Files/SmartTechnology/Software/Saitek.Branding.DLL
----------------------------------------
mscorlib.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8935 (WinRelRS4.050727-8900)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Saitek.WPF_ControlLib
組件版本: 7.0.45.2
Win32 版本: 7.0.45.2
程式碼基底: file:///C:/Program%20Files/SmartTechnology/Software/Saitek.WPF_ControlLib.DLL
----------------------------------------
PresentationFramework.resources
組件版本: 3.0.0.0
Win32 版本: 3.0.6920.8931 built by: WinRelRS4
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.resources/3.0.0.0_zh-CHT_31bf3856ad364e35/PresentationFramework.resources.dll
----------------------------------------
RotationalView
組件版本: 7.0.45.2
Win32 版本: 7.0.45.2
程式碼基底: file:///C:/Program%20Files/SmartTechnology/Software/Views/RotationalView.dll
----------------------------------------
Saitek.ViewData
組件版本: 7.0.45.2
Win32 版本: 7.0.45.2
程式碼基底: file:///C:/Program%20Files/SmartTechnology/Software/Saitek.ViewData.DLL
----------------------------------------
System.XML.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8922 (WinRelRS4.050727-8900)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Xml.resources.dll
----------------------------------------
UIAutomationProvider
組件版本: 3.0.0.0
Win32 版本: 3.0.6920.8931 built by: WinRelRS4
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/UIAutomationProvider/3.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------

************** JIT 偵錯 **************
若要啟用 Just-In-Time (JIT) 偵錯功能,則必須在此應用程式或電腦的 .config 檔案中,設定system.windows.forms 區段內的 jitDebugging 值。且該應用程式也必須在啟用偵錯的狀態下進行編譯。

例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

當 JIT 偵錯功能啟用後,會將所有未處理的例外狀況傳送給電腦上已註冊的 JIT 偵錯工具進行。

Config語法:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="SmartTechnology.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<SmartTechnology.Properties.Settings>
<setting name="left" serializeAs="String">
<value>550</value>
</setting>
<setting name="top" serializeAs="String">
<value>142</value>
</setting>
<setting name="state" serializeAs="String">
<value>0</value>
</setting>
</SmartTechnology.Properties.Settings>
</userSettings>
</configuration>
     
      
__________________
燦坤會員卡號:36436271
良興金賺卡號:20092583

註:以上卡號歡迎使用,也歡迎到我的網站部落格中參觀與指教。


此文章於 2018-09-15 04:27 PM 被 mhp1120 編輯.
舊 2018-09-15, 04:04 PM #1
回應時引用此文章
mhp1120離線中  
stanleywang
Amateur Member
 

加入日期: Oct 2017
文章: 38
沒有原始碼,誰有辦法改啊?
不過你可以試著把解析度調低一點看看。
 
舊 2018-09-16, 09:15 AM #2
回應時引用此文章
stanleywang離線中  
mhp1120
Golden Member
 
mhp1120的大頭照
 

加入日期: Sep 2004
文章: 2,606
Lightbulb 自問自答!

疑難排解 .NET Framework 目標錯誤:
https://msdn.microsoft.com/zh-tw/library/cc668079.aspx

以下是上述Config語法要需要修改的部分:
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="SmartTechnology.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />

依照"疑難排解"範例將Config語法修改為:
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup" >
<section name="SmartTechnology.Properties.Settings" type="System.Configuration.ClientSettingsSection" allowExeDefinition="MachineToLocalUser" requirePermission="false" />


PS:在參考了微軟官方的 .NET Framework 疑難排解網頁的修改方法,目前此問題是暫時解決了。
__________________
燦坤會員卡號:36436271
良興金賺卡號:20092583

註:以上卡號歡迎使用,也歡迎到我的網站部落格中參觀與指教。


此文章於 2018-09-16 06:06 PM 被 mhp1120 編輯.
舊 2018-09-16, 06:04 PM #3
回應時引用此文章
mhp1120離線中  


回應


POPIN
主題工具

發表文章規則
不可以發起新主題
不可以回應主題
不可以上傳附加檔案
不可以編輯您的文章

vB 代碼打開
[IMG]代碼打開
HTML代碼關閉



所有的時間均為GMT +8。 現在的時間是03:31 AM.


vBulletin Version 3.0.1
powered_by_vbulletin 2024。