🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3608

Re: Port sharing/splitting?

#3608
From: Jim Dodd
Date: Sat, 20 May 2006 21:20
33 lines
2668 bytes
Mike Collins wrote:
> There are many ways to achieve this depending on how complex or robust you 
> want to make it.  If you are writing a system that needs to be deployed on 
> many different systems then your best options is to write some sort of 
> filter driver.  However this is not a straightforward task and requires the 
> MS DDK which is costly and complicated.
> 
> Another option is to use DLL-injection and API hooking.  If it is aimed at 
> capturing one specific application then this shouldn't be a big deal.  You 
> need to determine how the legacy application is communicating with the com 
> port and then inject into it's process space and hook the api that it uses. 
> Once this is done, you hook / callback procedure will be called before the 
> API in question, and it will give you the facility to achieve the data and 
> reject or relay the call on to the real api.
> 
> If you feel this is an option that you would like to pursue then post back 
> with your e-mail address and i can contact you.  I can provide you with some 
> information and some starting points, although i can't actually provide you 
> with source code as my injection system is based on another's that i have 
> licensing for.  As a starting point, look at www.codeproject.com and do a 
> search for dll-injection and api hooking.
> 
> HTH, Mike C
> 
> 

This is very generous offer. But I am not the one wishing to do this. I 
hope Zahir realizes that you were probably responding to him and takes 
you up on your offer.

Zahir, offers like Mike's don't come every day. I suggest you contact him.

Jim
Technical Details
Message-ID: <446f885f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4464ade6$1@newsgroups.borland.com> <446b06f4$1@newsgroups.borland.com> <446dd227$1@newsgroups.borland.com> <446deab1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,377c765ac90d6829
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 20 May 2006 17:20:51 -0400
From: Jim Dodd <bcbuilderboy@yahoo.com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Port sharing/splitting?
References: <4464ade6$1@newsgroups.borland.com> <446b06f4$1@newsgroups.borland.com> <446dd227$1@newsgroups.borland.com> <446deab1$1@newsgroups.borland.com>
In-Reply-To: <446deab1$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 72.72.25.226
Message-ID: <446f885f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1148160095 72.72.25.226 (20 May 2006 14:21:35 -0700)
Lines: 33
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail