AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

OBJ files from Delphi - can't link

Ein Thema von WojTec · begonnen am 21. Jun 2011 · letzter Beitrag vom 22. Jun 2011
Antwort Antwort
Seite 1 von 2  1 2      
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#1

OBJ files from Delphi - can't link

  Alt 21. Jun 2011, 11:09
Delphi-Version: 2010
I made DLL and API unit, working ok. I also wanted OBJ to link this library with EXE. I tried C and C++ output, but Delphi talking that is bad format. I did something wrong? I can't use OBJ from Delphi in Delphi apps?
  Mit Zitat antworten Zitat
generic

Registriert seit: 24. Mär 2004
Ort: bei Hannover
2.415 Beiträge
 
Delphi XE5 Professional
 
#2

AW: OBJ files from Delphi - can't link

  Alt 21. Jun 2011, 11:12
You can use obj files, if they are in omf file format.
coff files cannot linked.

omf can generated by using the c++builder.


http://rvelthuis.de/articles/articles-cobjs.html
Coding BOTT - Video Tutorials rund um das Programmieren - https://www.youtube.com/@codingbott
  Mit Zitat antworten Zitat
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#3

Re: OBJ files from Delphi - can't link

  Alt 21. Jun 2011, 11:48
So, what the point of OBJ's from Delphi? Aghr.

So, what can I do if I have source in Delphi and I don't have Builder (but how Bulder can help if source is in Delphi nor C++?)?

I found on this site link to objconv.exe and tried it.

objconv -fomf TestLib32.obj TestLib32.o

Output is identical with input, so I don't know it working or not...
  Mit Zitat antworten Zitat
generic

Registriert seit: 24. Mär 2004
Ort: bei Hannover
2.415 Beiträge
 
Delphi XE5 Professional
 
#4

AW: OBJ files from Delphi - can't link

  Alt 21. Jun 2011, 12:15
Which language did you use for creating the dll (delphi, c or c++)?
Coding BOTT - Video Tutorials rund um das Programmieren - https://www.youtube.com/@codingbott
  Mit Zitat antworten Zitat
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#5

Re: OBJ files from Delphi - can't link

  Alt 21. Jun 2011, 12:37
Delphi, compiled with Delphi 2010.
  Mit Zitat antworten Zitat
Benutzerbild von mschaefer
mschaefer

Registriert seit: 4. Feb 2003
Ort: Hannover
2.029 Beiträge
 
Delphi XE3 Enterprise
 
#6

AW: OBJ files from Delphi - can't link

  Alt 21. Jun 2011, 15:26
Perhaps this link will help obj-files in Delphi
Martin Schaefer
  Mit Zitat antworten Zitat
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#7

Re: OBJ files from Delphi - can't link

  Alt 21. Jun 2011, 15:57
Hm, I still don't know what to do... Where to get this coff2omf.exe?
  Mit Zitat antworten Zitat
Benutzerbild von mschaefer
mschaefer

Registriert seit: 4. Feb 2003
Ort: Hannover
2.029 Beiträge
 
Delphi XE3 Enterprise
 
#8

AW: OBJ files from Delphi - can't link

  Alt 21. Jun 2011, 16:15
Try this
Martin Schaefer

Geändert von mschaefer (21. Jun 2011 um 16:21 Uhr) Grund: Enhanced
  Mit Zitat antworten Zitat
generic

Registriert seit: 24. Mär 2004
Ort: bei Hannover
2.415 Beiträge
 
Delphi XE5 Professional
 
#9

AW: OBJ files from Delphi - can't link

  Alt 22. Jun 2011, 09:06
You have a delphi project, whats the need to create obj files?
is it necessary to share obj files to other languages like c?

why you are not using delphis dcu files for linking into a project?
Coding BOTT - Video Tutorials rund um das Programmieren - https://www.youtube.com/@codingbott
  Mit Zitat antworten Zitat
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#10

Re: OBJ files from Delphi - can't link

  Alt 22. Jun 2011, 09:50
Because I want to share lib with others, but also allow link it into EXE. It should be linkable in Delphi and C and C++ and maybe other if possible.
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 2  1 2      


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:53 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