I'm trying this tutorial using the get system metrics functions so what i did was to include the windows.h preprocessor directive although when i'm trying to compile my program i get th e error "undefined symbol '_GetSystemMetrics@4'. I'm using TCC as my compiler.
it2051229
-3
Junior Poster in Training
Recommended Answers
Jump to PostDid you link with user32.lib as well, or just include windows.h? Headers contain the necessary declarations for your code to compile, but for the code to link, you need the corresponding definitions as well. Those definitions are usually stored in an static object library file, or a dynamically linked library …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.