Autor Beitrag
delphist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64

WIN XP, 98, 95; SUSE LINUX 8.1, 6.1, 6.0

BeitragVerfasst: Sa 31.01.04 19:47 
Hallo!
Ich habe ein Problem:
[Fehler] Unit2.pas(75): Undefinierter Bezeichner: 'CreateOleObject'

Mein Delphi ( Version 7) kennt anscheinend kein CreateOleObject mehr!
Ich habe eine Funktion aus einem älteren Programm von mir, geschrieben in Delphi 3, übernehmen wollen, aber das hat nicht geklappt.

Warum hat Delphi 7 kein CreateOleObject mehr?
Gibt es eine Alternative um Word zu steuern von Delphi aus.

Danke recht herzlich schon im Voraus

_________________
3w + freehostlist + de
3w + bild-stoerung + de
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Sa 31.01.04 20:07 
hallo

hast du den cursor mal auf dem Befehl CreateOleObject positioniert und F1 gedrückt?
Dort (in der Hilfe) steht drin, welche unit du einbinden musst, damit der befehl verwendet werden kann.

Gruß
Ken

_________________
Eine Klasse beschreibt die Struktur und das Verhalten einer Menge gleichartiger Objekte.
delphist Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64

WIN XP, 98, 95; SUSE LINUX 8.1, 6.1, 6.0

BeitragVerfasst: Sa 31.01.04 21:26 
Ich danke recht schön!
ComObj?

_________________
3w + freehostlist + de
3w + bild-stoerung + de
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: So 01.02.04 11:32 
jop, richtig.

Gruß
Ken

_________________
Eine Klasse beschreibt die Struktur und das Verhalten einer Menge gleichartiger Objekte.