RB 10 and Windows NT 4
I use RB 10 in my app and I have to install it on a Windows NT 4
machine. When I start my app, I get an exception, that the msimg32.dll
could not be found. I copied the dll from a XP machine to the System32
directory of the NT machine and the I get the exception "The procedure
entry point GdiGradientFill could not be located in the dynamic link
library GDI32.dll".
Is it possible to use RB 10 on a NT machine and if yes, what do I have
to do?
Regards
Guido
machine. When I start my app, I get an exception, that the msimg32.dll
could not be found. I copied the dll from a XP machine to the System32
directory of the NT machine and the I get the exception "The procedure
entry point GdiGradientFill could not be located in the dynamic link
library GDI32.dll".
Is it possible to use RB 10 on a NT machine and if yes, what do I have
to do?
Regards
Guido
This discussion has been closed.
Comments
Try using the 'Default' theme. (See article below about RB 10 Themes).
The Windows API call 'GradientFill' is used in the Windows2003 and Whidbey
themes.
-------------------------------------
Tech Tip: ReportBuilder Themes
-------------------------------------
ReportBuilder 10 introduces support for Themes (Skins). There are a couple
of options for specifying which theme is used.
1. Report Designer
From the Report Designer select View | Themes from the main menu and then
select the theme that you would like to use. The specified theme will be
stored in RBuilder.ini and used as the default theme the next time you run
RB.
2. RBuilder.ini.
When deploying an application, you can deploy RBuilder.ini so that
ReportBuilder will use a specific theme.
3. TppThemeManager
At run-time TppThemeManager can be used to programmatically use specify a
theme.
TppThemeManager is defined in ppToolbarTBX.pas. Here are the public class
methods.
TppThemeManager = class
public
class function GetCurrentThemeName: String;
class procedure GetThemeNames(aThemeNames: TStrings);
class procedure SavePreferences;
class procedure SetCurrentTheme(aThemeName: String);
end;
Example:
uses
ppToolbarTBX;
TppThemeManager.SetCurrentTheme('Office2003');
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
This doesn't solve the problem, any other ideas?
Regards
Guido
- The Windows API call 'GradientFill' is used in the Windows2003 and Whidbey
themes. That is the only place. (I used the Delphi 'Find in Files' facility
to search the RB source code and find where the call is used.)
- You might try modifying ppTBX.pas, the implementation section 'uses'
clause contains references to the them related units such as
ppTBXOffice2003Theme. You could try commenting out those lines and then
compile your application against RBuilder\Source.
- I do not recommend copying windows .dll's from an XP machine to an NT 4
machine. Use only the offiicial Windows updates. You could try apply all
available Windows NT 4 updates, includes available updates for Internet
Explorer (because installing IE, often updates the windows .dll's too).
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com