![]() |
Delphi-Version: 2010
OBJ files from Delphi - can't link
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?
|
AW: OBJ files from Delphi - can't link
You can use obj files, if they are in omf file format.
coff files cannot linked. omf can generated by using the c++builder. ![]() |
Re: OBJ files from Delphi - can't link
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... |
AW: OBJ files from Delphi - can't link
Which language did you use for creating the dll (delphi, c or c++)?
|
Re: OBJ files from Delphi - can't link
Delphi, compiled with Delphi 2010.
|
AW: OBJ files from Delphi - can't link
Perhaps this link will help
![]() |
Re: OBJ files from Delphi - can't link
Hm, I still don't know what to do... Where to get this coff2omf.exe?
|
AW: OBJ files from Delphi - can't link
|
AW: OBJ files from Delphi - can't link
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? |
Re: OBJ files from Delphi - can't link
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.
|
AW: OBJ files from Delphi - can't link
Possible is
share the Delphi obj-Files with the gcc and with other Delphi-Versions. Impossible is to share Delphi-obj-Files with actual Visua-Studio-Projects. The reason is quite simple: the coff-Format has information included which is not available in the obj-File-omf-format which is produced by Delphi and CBuilder. The way to include Delphi-Code in VST-Projects would be as dll or as seperate exe. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:55 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz