Здравствуйте, VladD2, Вы писали:
A>>Странно, шарповая версия два раза вылетела при вставке данных в клипбоард, а на третий раз сработала
VD>Можно колстек привести?
Во. Поймал. А следующий запуск нормально
See the end of this message, instead of this dialog box, for details on invoking
just-in-time (JIT) debugging.
************** Exception Text **************
System.Runtime.InteropServices.ExternalException: Requested Clipboard operation did not succeed.
at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
at System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat format)
at System.Windows.Forms.Clipboard.SetText(String text)
at FontStyleTest.Form1._testAll_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItem.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Command.DispatchID(Int32 id)
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at FontStyleTest.Form1.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Здравствуйте, VladD2, Вы писали:
VD>Здравствуйте, EvilChild, Вы писали:
EC>>Результат выполнения теста на медленной машине интересует?
VD>Да.
EC>>Если да, то нужна C# версия для Framework 1.1.
VD>А нельзя на эту машину 2.0 опставить?
К сожалению нет — она для дела используется и загаживать её бетами нет никакого желания.
Здравствуйте, VladD2, Вы писали:
VD>Здравствуйте, EvilChild, Вы писали:
EC>>Результат выполнения теста на медленной машине интересует?
VD>Да.
EC>>Если да, то нужна C# версия для Framework 1.1.
VD>А нельзя на эту машину 2.0 опставить?
C++ ----------------------------------
Имя видиоадаптера: 3dfx Interactive, Inc. Voodoo Series Driver
Разрешение: {Width=1024, Height=768}
Процессор: unknown (450 MHz)
0,0755 (GDI с двойной буферизацией реализованной вручную) FontSmoothingType = Standard
0,0443 (GDI) FontSmoothingType = Standard
0,0774 (GDI с двойной буферизацией реализованной .Net Framework) FontSmoothingType = Standard
0,1357 (GDI+ с двойной буферизацией) FontSmoothingType = Standard
0,0995 (GDI+) FontSmoothingType = Standard
Потому что ClearType весьма не дешевый алгоритм сглаживания. Его применение может только замедлять отрисовку. К тому же на это указывают другие цифр.
O> Может быть из-за того, что еще какая-то задача была активна в фоне?
Не очень то похоже. Ведь цыхры ClearType-а слишком похожи на цифры полученные без сглаживания.
O> Вот еще раз попробовал:
O> C++ ---------------------------------- O>Имя видиоадаптера: Intel(R) 82865G Graphics Controller O>Разрешение: {Width=1152, Height=864} O>Процессор: Intel(R) Pentium(R) 4 CPU 3.00GHz (3350 MHz)
O>0.0418 (GDI с двойной буферизацией) FontSmoothing = None O>0.0309 (GDI) FontSmoothing = None
O>0.0536 (GDI с двойной буферизацией) FontSmoothing = Standard O>0.0429 (GDI) FontSmoothing = Standard
O>0.0569 (GDI с двойной буферизацией) FontSmoothing = ClearType O>0.0548 (GDI) FontSmoothing = ClearType
Это уже больше похоже на правду. Хотя все равно очень подозрительно, что ClearType практически аналогичен Standard.
... << RSDN@Home 1.2.0 alpha rev. 618>>
Есть логика намерений и логика обстоятельств, последняя всегда сильнее.
Здравствуйте, alive, Вы писали:
A>Во. Поймал. А следующий запуск нормально A>
A>See the end of this message, instead of this dialog box, for details on invoking
A>just-in-time (JIT) debugging.
A>************** Exception Text **************
A>System.Runtime.InteropServices.ExternalException: Requested Clipboard operation did not succeed.
A> at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
A> at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
A> at System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat format)
A> at System.Windows.Forms.Clipboard.SetText(String text)
A> at FontStyleTest.Form1._testAll_Click(Object sender, EventArgs e)
Это скорее похоже на какие-то проблемы на конкретной машине. Я всего лишь вызываю Clipboard.SetText передавая ему текст.
... << RSDN@Home 1.2.0 alpha rev. 618>>
Есть логика намерений и логика обстоятельств, последняя всегда сильнее.
C++ ----------------------------------
Имя видиоадаптера: 3dfx Interactive, Inc. Voodoo Series Driver
Разрешение: {Width=1024, Height=768}
Процессор: unknown (450 MHz)
C#
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception: The parameter is incorrect
at Rsdn.Windows.Forms.SysInfo.get_FontSmoothingType()
at FontStyleTest.Form1.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
0,0139 (GDI с двойной буферизацией реализованной вручную) FontSmoothingType = Standard
0,0158 (GDI) FontSmoothingType = Standard
0,0259 (GDI с двойной буферизацией реализованной .Net Framework) FontSmoothingType = Standard
0,0503 (GDI+ с двойной буферизацией) FontSmoothingType = Standard
0,0407 (GDI+) FontSmoothingType = Standard
C++ ----------------------------------
Имя видиоадаптера: NVIDIA GeForce4 Ti 4200 with AGP8X
Разрешение: {Width=1024, Height=768}
Процессор: AMD Athlon(tm) XP 2500+ (1837 MHz)