Главная страница | назад





Article #16634: Unresolved external reference PropertySheet

 Question and Answer Database
FAQ1634C.txt Unresolved external reference PropertySheet
Category :Linker
Platform :All
Product :BC++ 5.x
Question:
I am attempting to write a win95 screen saver, using BC++4.5,
and things are going relatively well. I am using a private
library for all the header info, in a *.dll file, which works
fine. But the author sent me a *.lib file, for static linking
to the library, and I've run into a compilation error.
The error reads: Unresolved external reference PropertySheetA
in module scrplus.cpp (or something very similar to that).
Scrplus.cpp is a file I don't have, but which presumably was
used to build the lib I'm linking to. The problem involves the
fact that I do indeed have the PropertySheet headers, including
PropertySheetA.
This makes me think that I'm just linking incorrectly somehow.
Any advice?
Answer:
Run implib on comctl32.lib (located in the windows
system directory) and linking with the resulting .lib file.
5/18/98 8:42:20 AM

Last Modified: 01-SEP-99