Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Gary Hughes
|
Jul 4, 2002 - 10:57 PM
|
Hi,
I recently download profuis to use in an application I am building with VS.NET on NT 4.0.
Toolbars seem work fine however I have a problem with menus.
When I try and load a menu it eventually fails in the following method.
CExtCmdManager::cmd_profile_t::UpdateFromMenu
the call to ::GetMenuItemInfo fails and so the code asserts.
I have played around with this call a fair bit but it always fails and GetLastError() returns 87.
I have tried very simplistic calls to this method and it always fails.
Does anyone have any suggestions?
thanks.
Gary.
|
|
Sergiy Lavrynenko
|
Jul 9, 2002 - 10:55 AM
|
Please try and set the following preprocessor definions in your project settings:
_WIN32_IE=0x0400 _WIN32_WINNT=0x0400
If it does not work, try to set those options in Prof-UIS project settings and then rebuild the library.
Best regards, Sergiy Lavrynenko
|
|
Gary Hughes
|
Jul 9, 2002 - 11:51 PM
|
that fixed it, thanks alot!
Gary.
|
|