Fórum Abrit PDF no Form não funcionou em máquinas sem Delphi #428154
06/11/2012
0
http://developer360.blogspot.com.br/2010/07/visualizando-arquivos-pdf-nos-seus.html
Funcionou normalmente, minha aplicação, mas as máquinhas que não possuem o Delphi instalado, não funciona. Já copiei a DLL importada do Adobe e não adiantou.
Alguém já passou por isto ?
Desde já agradeço qualquer informação.
Alessandro
Alessandro Yamasaki
Curtir tópico
+ 0Posts
06/11/2012
Bruno Leandro
Gostei + 0
06/11/2012
Alessandro Yamasaki
unit AcroPDFLib_TBL;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //
// $Rev: 8291 $
// File generated on 26/10/2012 13:14:47 from Type Library described below.
// ************************************************************************ //
// Type Lib: C:\Arquivos de programas\Arquivos comuns\Adobe\Acrobat\ActiveX\AcroPDF.dll (1)
// LIBID: {05BFD3F1-6319-4F30-B752-C7A22889BCC4}
// LCID: 0
// Helpfile:
// HelpString: Adobe Acrobat Browser Control Type Library 1.0
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\system32\stdole2.tlb)
// Errors:
// Hint: Parameter 'On' of IAcroAXDocShim.setShowToolbar changed to 'On_'
// Hint: Parameter 'to' of IAcroAXDocShim.printPages changed to 'to_'
// Hint: Parameter 'to' of IAcroAXDocShim.printPagesFit changed to 'to_'
// Hint: Parameter 'On' of IAcroAXDocShim.setShowScrollbars changed to 'On_'
// ************************************************************************ //
// *************************************************************************//
// NOTE:
// Items guarded by $IFDEF_LIVE_SERVER_AT_DESIGN_TIME are used by properties
// which return objects that may need to be explicitly created via a function
// call prior to any access via the property. These items have been disabled
// in order to prevent accidental use from within the object inspector. You
// may enable them by defining LIVE_SERVER_AT_DESIGN_TIME or by selectively
// removing them from the $IFDEF blocks. However, such items must still be
// programmatically created via a method of the appropriate CoClass before
// they can be used.
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
interface
uses Windows, ActiveX, Classes, Graphics, OleCtrls, OleServer, StdVCL, Variants;
etc ...
etc ...
procedure Register;
begin
RegisterComponents(dtlOcxPage, [TAcroPDF]);
RegisterComponents(dtlServerPage, [TAdobeSPOpenDocuments]);
end;
Gostei + 0
06/11/2012
Claudia Nogueira
Gostei + 0
06/11/2012
Alessandro Yamasaki
Grato a todos
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)