PDA

View Full Version : ActiveQt: can I override lcid?



a550ee
3rd October 2007, 07:44
Hello!
I'm using ActiveQt to re-write legacy code that was originally written with MSVC's #imports. That code automates Microsoft Excel. I've discovered that Microsoft Excel behaves differently depending on locale settings ( lcid parameter in IDispatch::Invoke() method ).
In the ActiveQt it's written this way disp->Invoke( ... , LOCALE_USER_DEFAULT, ... ), i.e. LOCALE_USER_DEFAULT for lcid;
What best can I do to override it?