Click here to Skip to main content
15,899,825 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I open a System.Windows.Forms.Form with its own message pump from a WPF application? Pin
arnold_w4-May-20 10:36
arnold_w4-May-20 10:36 
GeneralRe: How can I open a System.Windows.Forms.Form with its own message pump from a WPF application? Pin
Richard Andrew x644-May-20 11:48
professionalRichard Andrew x644-May-20 11:48 
GeneralRe: How can I open a System.Windows.Forms.Form with its own message pump from a WPF application? Pin
arnold_w4-May-20 21:12
arnold_w4-May-20 21:12 
GeneralRe: How can I open a System.Windows.Forms.Form with its own message pump from a WPF application? Pin
arnold_w4-May-20 22:30
arnold_w4-May-20 22:30 
GeneralRe: How can I open a System.Windows.Forms.Form with its own message pump from a WPF application? Pin
Richard MacCutchan4-May-20 22:59
mveRichard MacCutchan4-May-20 22:59 
GeneralRe: How can I open a System.Windows.Forms.Form with its own message pump from a WPF application? Pin
Richard Andrew x645-May-20 13:31
professionalRichard Andrew x645-May-20 13:31 
GeneralRe: How can I open a System.Windows.Forms.Form with its own message pump from a WPF application? Pin
Richard Andrew x644-May-20 10:35
professionalRichard Andrew x644-May-20 10:35 
AnswerRe: How can I open a System.Windows.Forms.Form with its own message pump from a WPF application? Pin
Gerry Schmitz4-May-20 14:07
mveGerry Schmitz4-May-20 14:07 
AnswerRe: How can I open a System.Windows.Forms.Form with its own message pump from a WPF application? Pin
arnold_w8-May-20 4:56
arnold_w8-May-20 4:56 
QuestionC# Service to gather information from SQL Pin
Member 119552454-May-20 3:13
Member 119552454-May-20 3:13 
AnswerRe: C# Service to gather information from SQL Pin
CHill604-May-20 3:15
mveCHill604-May-20 3:15 
AnswerRe: C# Service to gather information from SQL Pin
BillWoodruff4-May-20 5:08
professionalBillWoodruff4-May-20 5:08 
AnswerRe: C# Service to gather information from SQL Pin
Gerry Schmitz4-May-20 14:53
mveGerry Schmitz4-May-20 14:53 
QuestionEnable Security to Excel generated with closexml Pin
AmitChaurasiya4-May-20 0:05
AmitChaurasiya4-May-20 0:05 
AnswerRe: Enable Security to Excel generated with closexml Pin
Gerry Schmitz4-May-20 14:58
mveGerry Schmitz4-May-20 14:58 
GeneralRe: Enable Security to Excel generated with closexml Pin
Mycroft Holmes4-May-20 21:49
professionalMycroft Holmes4-May-20 21:49 
GeneralRe: Enable Security to Excel generated with closexml Pin
AmitChaurasiya5-May-20 21:11
AmitChaurasiya5-May-20 21:11 
AnswerRe: Enable Security to Excel generated with closexml Pin
Richard Deeming5-May-20 1:27
mveRichard Deeming5-May-20 1:27 
GeneralRe: Enable Security to Excel generated with closexml Pin
AmitChaurasiya5-May-20 14:44
AmitChaurasiya5-May-20 14:44 
QuestionHow to capture (read) feedback data from games in C# or C++ ( like vibration, force feedback, gunshot, explosion) Pin
Member 113408333-May-20 21:53
Member 113408333-May-20 21:53 
AnswerRe: How to capture feedback data from games ( like vibration, force feedback, gunshot, explosion) Pin
Pete O'Hanlon3-May-20 21:02
mvePete O'Hanlon3-May-20 21:02 
GeneralRe: How to capture feedback data from games ( like vibration, force feedback, gunshot, explosion) Pin
Member 113408333-May-20 21:53
Member 113408333-May-20 21:53 
GeneralRe: How to capture feedback data from games ( like vibration, force feedback, gunshot, explosion) Pin
Richard MacCutchan3-May-20 23:21
mveRichard MacCutchan3-May-20 23:21 
AnswerRe: How to capture feedback data from games ( like vibration, force feedback, gunshot, explosion) Pin
Richard MacCutchan3-May-20 21:05
mveRichard MacCutchan3-May-20 21:05 
AnswerRe: How to capture (read) feedback data from games in C# or C++ ( like vibration, force feedback, gunshot, explosion) Pin
kalberts4-May-20 0:00
kalberts4-May-20 0:00 
So you want to use "some" output from the game, so that you can generate e.g. seat vibration, gun recoil, flashing of LEDs etc - is that right?

If I get it right: You want to generate seat vibration, gun recoil etc., based on some other feedback from the game. What kind of game output do you want to capture to generate these effects? Text messages? Synthetic speech or other sounds generated by the game? Visual effects on the screen? Are you expecting to capture the image of a gun being fired, recognize it as such, and from that generate your recoil effect?

For a vintage text-only game (such as classical Adventure or MUD), text capture would be trivial and analyzing it reasonably simple. But if you want to generate additional effects triggred by sound or graphics, and do it in a general, game-independent way, then you are up for a huge task. You simply can't do it in any reasonable way. If text output is available only as graphic character images on the screen, you cannot even do text anlysis. (Well, you might try with some OCR functionality, but chances are that it would fail miserably.)

If you had access to the source code of the game, you could probably - as the game initiates sound/visible effects - write to a textual log an indication of the effect genereated, and route it to some output available to your recoil or vibration or whatever functions you want to add. It would require that you can modify the game source code, and it would be specific to that game.

If you are hoping to capture non-text output from an arbitrary game, without having to "get under the hood" of the game, I cannot see how you can make it.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.