Linking C.obj files in a Delphi application, resolving standard C dependencies

I compiled libxml2 with the BCC 5.5 command line compiler, now I have many .obj files that I would like to link to my Delphi application. Unfortunately, I get a lot of "Unsatisfied forward or external declaration" errors, pointing to standard C library functions such as memcpy, open, recv, etc .... What should I do to compile it correctly? I would like to avoid depending on msvcrt.dll or other external libraries.

Thanks in advance!

+3
source share
3 answers

Delphi , crtl.dcu, . $L .obj , crtl. "" , Windows, WinSock .. , , .

, DataSnap TClientDataSet, midas.dll.

+13
+1

Do not use these functions, but rewrite them to directly call the functions of the operating system (kernel32 / system32).

0
source

Source: https://habr.com/ru/post/1726669/


All Articles