🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SHChangeNotify?

#10585
From: Remy Lebeau (TeamB)
Date: Mon, 29 Mar 2004 18:41
15 lines
1488 bytes
"vERUs" <-verus-@telia.com> wrote in message
news:40685caa@newsgroups.borland.com...

> SHChangeNotificationLock = (SHCNLProc)GetProcAddress(hmShellLib,
> (LPCSTR)644);

You should use MAKEINTRESOURCE instead of hard-coding the cast for the last
parameter of GetProcAddress().

    SHChangeNotificationLock = (SHCNLProc)GetProcAddress(hmShellLib,
MAKEINTRESOURCE(644));


Gambit
Technical Details
Message-ID: <40686b96@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!easynet-monga!easynet.net!news.clara.net!wagner.news.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40661182$1@newsgroups.borland.com> <40673be6$3@newsgroups.borland.com> <40675777@newsgroups.borland.com> <11tkuznic8rzy$.rybde7586g8f.dlg@40tude.net> <40685caa@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 10:40:37 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40661182$1@newsgroups.borland.com> <40673be6$3@newsgroups.borland.com> <40675777@newsgroups.borland.com> <11tkuznic8rzy$.rybde7586g8f.dlg@40tude.net> <40685caa@newsgroups.borland.com>
Subject: Re: SHChangeNotify?
Date: Mon, 29 Mar 2004 10:41:39 -0800
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <40686b96@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1080585110 67.22.138.253 (29 Mar 2004 10:31:50 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!easynet-monga!easynet.net!news.clara.net!wagner.news.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail