🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

System hook dll. Only troubles when running from the IDE.

#16345
From: bcb
Date: Sat, 17 May 2003 02:28
13 lines
1531 bytes
Hi there.

I was looking through the dll code for the Windows hook example that was
published in the March 2001 edition of the C++ Builder developers journal.
The code can be found here:
http://www.bridgespublishing.com/articles/source/March01Code.zip

Why if the HookEx demo is run from the BCB6 IDE that an exception occurs? if
the exe is run outside the IDE everything runs perfectly. I've removed all
code related to the shell hook and just tested out the keyboard hook so its
not the shell hook part that's causing the error. Any thoughts ?

Thanks very much!
Technical Details
Message-ID: <3ec59eb5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!arclight.uoregon.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,12d4fd95059439e4,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-16 19:33:36 PST
From: "bcb" <noemail@sorry.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: System hook dll. Only troubles when running from the IDE.
Date: Fri, 16 May 2003 22:28:42 -0400
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 172.171.176.32
Message-ID: <3ec59eb5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1053138613 172.171.176.32 (16 May 2003 19:30:13 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!arclight.uoregon.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail