🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SHChangeNotify?

#10581
From: Dave
Date: Mon, 29 Mar 2004 14:23
26 lines
2071 bytes
On Mon, 29 Mar 2004 00:54:12 +0200, vERUs wrote:

>>> This seemes a little strange to me since I haven't set any
>>> breakpoints... Does the ntdll.dll have any internal predefined
>>> breakpoints or is there something wrong with the code?
>>
>> Yes, there are internal breakpoints inside the OS itself.
> 
> Glad to have that out of the world. I have another question though... After
> I've locked the memory with SHChangeNotificationLock() isn't the "Events"
> variable supposed to contain the single event that triggered the change? Or
> is it so that it can contain multiple events because when I print the actual
> value of "Events" I always get pretty large values like 30000+.
> 
> //vERUs

How did you declare SHChangeNotificationLock() ?
I can't get a lock, i must have done something wrong with the
declaration...
typedef HANDLE (__stdcall *LPSHCNL)(HWND, DWORD, LPCITEMIDLIST**, LPLONG);
LPSHCNL lpSHChangeNotification_Lock;
  lpSHChangeNotification_Lock = (LPSHCNL) GetProcAddress(hShell,
MAKEINTRESOURCE(644));

thanks,
dave
Technical Details
Message-ID: <11tkuznic8rzy$.rybde7586g8f.dlg@40tude.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!bigfeed.bellsouth.net!news.bellsouth.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40661182$1@newsgroups.borland.com> <40673be6$3@newsgroups.borland.com> <40675777@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,58d792a597ba06e9
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-29 06:31:04 PST
From: Dave <dave_xse@-spam-hotmail.com>
Subject: Re: SHChangeNotify?
Newsgroups: borland.public.cppbuilder.nativeapi
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <40661182$1@newsgroups.borland.com> <40673be6$3@newsgroups.borland.com> <40675777@newsgroups.borland.com>
Date: Mon, 29 Mar 2004 22:23:05 +0800
Message-ID: <11tkuznic8rzy$.rybde7586g8f.dlg@40tude.net>
User-Agent: 40tude_Dialog/2.0.5.1
NNTP-Posting-Host: 202.72.161.99
X-Trace: newsgroups.borland.com 1080570190 202.72.161.99 (29 Mar 2004 06:23:10 -0800)
Lines: 26
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!bigfeed.bellsouth.net!news.bellsouth.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail