|
|
Up |
|
|
  |
Author: yytg goldyytg gold
Date: May 2, 2007 12:56
For controlling process creation in windows I can hook few function
in the "kernel32.dll"\"advapi32.dll"
I want to hook the "root" - I mean the function responsible of
creating process's in the "ntdll.dll"
I hooked the function "NtCreateProcess" - but windows uses a different
function
Which function\s I need to hook?
Thanks in advance
|
| |
|
| |
no comments
|
|
  |
Author:
Date: May 2, 2007 12:33
>>Assuming that you're considering C++, as good a place to start as any is the
>>article in MSDN "Serial Communications in WIN32" by Allen Denver.
>>Be prepared for a signficant learning curve.
>
>
>
> oh..thanks Bruce...let me fallow your suggestion...will back with
> feedback
The referenced article is the seminal source of how to do serial comm in
Win32. But it is also rather dated. Use it for education. But check
out PJ Naughter's CSerialPort class here to make life easier:
http://www.naughter.com/
--
Scott McPhillips [VC++ MVP]
|
| |
|
| |
no comments
|
|
  |
Author: saran.jegansaran.jegan
Date: May 2, 2007 09:32
On May 2, 6:15 pm, "Bruce Varley" weastnet.com.au> wrote:
>>i need to get an input from a external key pad through serial port and
>> need to operate the game functionality ,with respect to the external
>> keypad input,how should i do this, what steps i need to fallow , i
>> know how to open,read , write in serial port,but i need to know how
>> should i implement this functionality
>
>> thanks form your time
>
>> Regards
>
> Assuming that you're considering C++, as good a place to start as any is the
> article in MSDN "Serial Communications in WIN32" by Allen Denver.
> Be prepared for a signficant learning curve.
|
| Show full article (0.88Kb) |
|
no comments
|
|
  |
Author: saran.jegansaran.jegan
Date: May 2, 2007 05:18
i need to get an input from a external key pad through serial port and
need to operate the game functionality ,with respect to the external
keypad input,how should i do this, what steps i need to fallow , i
know how to open,read , write in serial port,but i need to know how
should i implement this functionality
thanks form your time
Regards
|
| |
|
1 Comment |
|
  |
Author: Ulrich EckhardtUlrich Eckhardt
Date: May 2, 2007 03:52
Larry Lindstrom wrote:
> Is there any information that describes the cause of the exception,
> divide by zero, memory out of bounds, etc?
There were two exception mechanisms concerned here. I can't comment on win32
structured exceptions (SEH), as I haven't worked with it enough. As far as
C++ exceptions are concerned, you have two sources for information, one is
the type and the other any data carried by the exception object.
Example (using two yet-to-be-written exception classes for math overflow
errors and system errors):
try {
...
} catch( overflow_error const& e) {
handle_overflow();
} catch( system_exception const& e) {
log( "failure %%1 while calling %%2\n", e.what(), e.function());
} catch( std::exceptions const& e) {
log("caught other exception %%1", e.what());
throw;
}
|
| Show full article (1.19Kb) |
|
no comments
|
|
  |
|
|
  |
Author: Larry LindstromLarry Lindstrom
Date: May 2, 2007 02:36
Ulrich Eckhardt wrote:
> mdk wrote:
>> When using structured exception handling or C++ exception handling how
>> can i find out which line of code is throwing the exception?
>
> If you don't catch it, typically abort() is invoked which then activated the
> debugger at that point. Other than that, there is no such information in
> the exception framework itself.
>
> Uli
>
Hi Timmy and Ulrich:
Is there any information that describes the cause of the exception,
divide by zero, memory out of bounds, etc?
Thanks
Larry
|
| |
|
no comments
|
|
|
|
|