FlatSB_GetScrollInfo could not be located in ... COMCTL32.dll
I just upgraded a product from C++Builder 2007 to RAD Studio XE, and at the same time开发者_如何学编程 changed some third party component.
Now, when I run my product on Vista, I get the following error:
Project1.exe - Entry Point Not Found
The procedure entry point FlatSB_GetScrollInfo could not be located in the dynamic link library COMCTL32.DLL.
OK
When I open COMCTL32.DLL in a hex editor, I do find the FlatSB_GetScrollInfo name. I only find COMCTL32.DLL files under the \Windows\ folder, no local installs.
Anybody know what could be causing this?
The flat scroll bar functions are not implemented in v6 comctl32 which you are presumably linking against.
Flat scroll bar functions are implemented in Comctl32.dll versions 4.71 through 5.82. Comctl32.dll versions 6.00 and higher do not support flat scroll bars.
The VCL code won't be using these functions so I think you need to locate the 3rd party component that is doing so. I guess that the move to XE introduced the comctl32 v6 manifest and brought this issue to light.
On the other hand, you could always remove the v6 manifest which will get over this particular issue but your app will use the classic theme and look like your are running Windows 2000 again!
精彩评论