Article View: borland.public.cppbuilder.nativeapi
Article #6988Re: Hooking Winsock Functions
From: Mike Harris
Date: Sun, 20 Mar 2005 23:08
Date: Sun, 20 Mar 2005 23:08
51 lines
2687 bytes
2687 bytes
oops, forgot about the Taramack thing.
It would be easier to make a brief description and paste something you can
search.
one of many indications others have done the same as I.
Alex Bakaev [TeamB] wrote.
"
The compiler is not 100% compatible with the ntddk.h ( and probably few
others ) header. This is mostly in the area of inline functions
containing inline assembly and some assembly constructs in other
functions. This is easy to work around tho.
I was able to build WDM drivers without much problem after tweaking the
headers. Also, you will need to provide your own startup code (simple
jmp DriverEntry ) and some C/C++ RTL functions.
HTH,
Alex
"
basics.
1 ) hand build an asm unit.
use const.asm for a reference if needed.
2 ) port ddk headers needed.
3 ) compile in a dll project.
4 ) build a small utility to 'adjust' pe header info as needed for device
drivers.
might want to 'save as' while the file is open.
5 ) install.
Michael Harris
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:423dd6be$3@newsgroups.borland.com...
>
> Please do not post links to Taramack search results. They are
> session-based
> and expire quickly. Linking to Tamarack results never works. Use
> Google/Deja instead.
>
>
> Gambit
>
>
Technical Details
Message-ID:
<423e0280@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4198c26d@newsgroups.borland.com> <pan.2004.12.04.14.44.41.939127@nospamme.net> <41b414db$1@newsgroups.borland.com> <423c5867@newsgroups.borland.com> <423cb01b$1@newsgroups.borland.com> <423ccb91@newsgroups.borland.com> <423cd5b4@newsgroups.borland.com> <423ce3e7@newsgroups.borland.com> <423d0306$1@newsgroups.borland.com> <423d091a$1@newsgroups.borland.com> <423d7035$1@newsgroups.borland.com> <423da39b$1@newsgroups.borland.com> <423dd6be$3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,65f5aa4e8e0f93de X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Mike Harris" <nospam@nospam.com> From: "Mike Harris" <nospam@nospam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4198c26d@newsgroups.borland.com> <pan.2004.12.04.14.44.41.939127@nospamme.net> <41b414db$1@newsgroups.borland.com> <423c5867@newsgroups.borland.com> <423cb01b$1@newsgroups.borland.com> <423ccb91@newsgroups.borland.com> <423cd5b4@newsgroups.borland.com> <423ce3e7@newsgroups.borland.com> <423d0306$1@newsgroups.borland.com> <423d091a$1@newsgroups.borland.com> <423d7035$1@newsgroups.borland.com> <423da39b$1@newsgroups.borland.com> <423dd6be$3@newsgroups.borland.com> Subject: Re: Hooking Winsock Functions Date: Sun, 20 Mar 2005 17:08:48 -0600 Lines: 53 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 66.146.183.66 Message-ID: <423e0280@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1111360128 66.146.183.66 (20 Mar 2005 15:08:48 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail