AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Multimedia GDI+ Library by Erik van Bilsen: IGPHistogram
Thema durchsuchen
Ansicht
Themen-Optionen

GDI+ Library by Erik van Bilsen: IGPHistogram

Ein Thema von Jazzman_Marburg · begonnen am 15. Mai 2011 · letzter Beitrag vom 15. Mai 2011
Antwort Antwort
Benutzerbild von Jazzman_Marburg
Jazzman_Marburg

Registriert seit: 2. Aug 2004
359 Beiträge
 
#1

GDI+ Library by Erik van Bilsen: IGPHistogram

  Alt 15. Mai 2011, 12:38
Sagt mal Kollegen,
benutzt jemand zufällig die GDI+ Library by Erik van Bilsen?
In dem Demo zu GDI+ 1.1 wird ein Farb-Histogram erstellt. Ich kann das Demo auch prima compilieren und laufen lassen, aber wenn ich in meinem eigenen Progamm ein Histrogramm erstellen will, dann kennt der Compiler den Typ IGPHistogram nicht.
Ich bin mir fast sicher, dass in dem Demo zu GDI+ 1.1 auf eine Lib zugegriffen wird, die ich offensichtlich nicht im Bibliothekspfad habe -- ich blicke aber bei den Demos nicht durch, auf welche Libs dort zugegriffen wird.

Kann da jemand behilflich sein?

Danke & Gruß
Jazzman
--- Delphi XE Starter, Windows 8 ---
  Mit Zitat antworten Zitat
Benutzerbild von Cirec
Cirec

Registriert seit: 23. Sep 2010
Ort: Frankreich
7 Beiträge
 
Delphi 2009 Enterprise
 
#2

AW: GDI+ Library by Erik van Bilsen: IGPHistogram

  Alt 15. Mai 2011, 14:12
Hallo,

Zitat von ReadMe.htm:
GDI+ 1.1 Extensions

Version 1.1 of GDI+ adds some extra functionality to the original GDI+ version, most notably the addition of bitmap effects. Unfortunately, GDI+ 1.1 is only available on Windows Vista and later, or on computers with a certain version of Office (like Office 2007). Furthermore, the 1.1 version is not redistributable, so you are not allowed to deploy it with your application. However, you are free to use it if it is installed on a computer.

For these reasons, the GDI+ 1.1 extensions are disabled by default. To enable the functionality, you need to do the following in you Delphi application:
* Declare the conditional define 'GDIP_0110' (Project Options | Delphi Compiler | Conditional defines). This way, you don't accidentally use GDI+ 1.1 functionality in an application that must run on older versions of Windows.
* Disable runtime themes (Project Options | Application, uncheck 'Enable runtime themes'). This will not actually disable runtime themes, because the 'GDIP_0110' define causes the inclusion of different manifest file that enables both runtime themes and GDI+ 1.1.
These steps are required because the GDI+ 1.1 functionality can only be enabled by adding a side-by-side execution entry to you application manifest file. It is not sufficient to add the GDI+ 1.1 DLL to you application directory. When 'GDIP_0110' is defined, a different manifest is compiled into your application (see the GdiPlus11.manifest file for the details). This manifest enables both runtime themes (by using the Common Controls version 6) and GDI+ 1.1 (by using the 1.1 version of the GDI+ DLL).

Note however, that once you use this conditional define, that your application will not run on computers that do not have GDI+ 1.1 installed.

The GdiPlus11 sample application shows the additional functionality of GDI+ 1.1:
  Mit Zitat antworten Zitat
Benutzerbild von Jazzman_Marburg
Jazzman_Marburg

Registriert seit: 2. Aug 2004
359 Beiträge
 
#3

AW: GDI+ Library by Erik van Bilsen: IGPHistogram

  Alt 15. Mai 2011, 14:30
Hallo Cirec,
ja, wer lesen kann, ist klar im Vorteil!

Lieben Dank!
Gruß
Jazzman
--- Delphi XE Starter, Windows 8 ---
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:52 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz