Anybody able to comment on this? I too have a dirt simple shell (Windows
App ) on Windows XP (Studio .NET 2003) Using Standard Windows Libraries,
that calls BroadcastSystemMessage and it will not link. LNK2019 .
included winuser.h
Added user32.lib to project (in Platform SDK, user32.lib is not in the
top level lib folder under V7).
Changed proj to Unicode , no change.
Tried extern "C" in front of the function declaration, but that just
makes it look for
_BroadcastSystemMessage without any other decoration.
Just calling a simple function in a C++ file (no extern "C" ) makes it
look for
long __cdecl BroadcastSystemMessage(...)
But what is in the lib is
__imp__BroadcastSystemMessage@20... ( given by LibView )
So I'm lost on how to make it use the function that is actually in
user32.lib Seems to need something that is undocumented, but I don't
have the background to say.
John
A Pham wrote:
*Hi,
We have a C++ project written in Visual Studio 6 and we try to
compile it in VS 2003 standard version but it gives an error Unknown
Identifier on the call of
BroadcastSystemMessage. The VS 2003 installed on Windows XP. Any
hints or project settings to make it compiled?
Thanks
A Pham *
--
john2004
------------------------------------------------------------------------
Posted via
http://www.mcse.ms
------------------------------------------------------------------------
View this thread:
http://www.mcse.ms/message772944.html