Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.768 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: bitte um Hilfe: Erstellung eines Komponenten-Wrappers

  Alt 13. Mai 2009, 10:59
Hallo Marco,

habe es mal versucht:
Ergebnis:

D:\development\Delphi6\Bin>tlibimp -O- -E- -P+ -T+ d:\FREngine.tlb
Borland TLIBIMP Version 6.0
Copyright (c) 1997, 2001 Borland Software Corporation
Invalid option -E-
Please run 'tlibimp -?' for help with options (or contact a stockbroker)

Code:
D:\development\Delphi6\Bin>tlibimp -?
Borland TLIBIMP Version 6.0
Copyright (c) 1997, 2001 Borland Software Corporation
Usage: TLIBIMP [options] <typelibfile>

 Language Options:
  -C-  Generate C++ Import file
  -P+  Generate Pascal Import file
  -Ic- Generate CORBA IDL file (-J)
  -Ip- Generate Pascal CORBA stubs and skeletons (-K)

 Component Options:
  -Ha+ Generate IDE component wrappers for controls (-H)
  -Hr+ Generate IDE registration for component wrappers (-Q)
  -Hs+ Generate IDE component wrappers for servers (-L)
  -Cw- Always use dispinterfaces in control wrappers (-@)

 Filename options:
  -D<path> Set output directory path
  -Fe<name> Set TLB file suffix; -Fe- no suffix (-A)
  -Ft<name> Set TLB filename (suffix ignored) (-F)
  -Ce<name> Set OCX file suffix; -Ce- no suffix (-B)
  -Cn<name> Set namespace name (-N)
  -Co<name> Set OCX filename (suffix ignored) (-X)

 Pascal options:
  -Ps+ Map HRESULT to safecall on dual interfaces (-S)
  -Pt- Map HRESULT to safecall on all interfaces (-T)

 C++ options:
  -Cd- Generate wrapper class for dispinterfaces (-E)
  -Cs- Use declspec(__selectany) for GUIDs (-5)
  -Ct+ Force the use of a _TLB file (-4)
  -Cu+ Expose namespace with 'using' (-G)
  -Cv+ Generate BCB4 style event wrappers for servers (-V)

 Miscellaneous options:
  -O+  Generate CoClassCreator wrappers
  -R+  Generate files for dependant type libraries
  -XM- Use MS-style property getter/setter prefixes
  -W+  Place warnings in import files
  -Wc+ Place comments in imported files

 Ignore options:
  -Yc- Ignore [CanCreate] flag
  -Yh- Ignore [Hidden] flag
  -Yp- Ignore [Predefined] flag
  -Yr- Ignore [Restricted] flag
  -Ya- Ignore all special flags
Allerdings mit Delphi6.


Ergänzung:

so geht es - aber ob es für Dich so o.k. ist weiß ich nicht.

D:\development\Delphi6\Bin>tlibimp -O- -P+ d:\FREngine.tlb
Borland TLIBIMP Version 6.0
Copyright (c) 1997, 2001 Borland Software Corporation
Type library loaded ....
Created D:\development\Delphi6\Bin\FREngine_TLB.dcr
Created D:\development\Delphi6\Bin\FREngine_TLB.pas

Die Files habe ich angehängt.

Grüße
Klaus
Angehängte Dateien
Dateityp: zip frengine_tlb_184.zip (42,3 KB, 16x aufgerufen)
Klaus
  Mit Zitat antworten Zitat