Einzelnen Beitrag anzeigen

Benutzerbild von Stevie
Stevie

Registriert seit: 12. Aug 2003
Ort: Soest
4.012 Beiträge
 
Delphi 10.1 Berlin Enterprise
 
#19

Re: C/C++ - Dll Importe und Procedurezeiger

  Alt 1. Jul 2004, 13:09
Ok, ich hab jetzt die Datei in *.cpp umbenannt. (Kann man nur in C++ dlls importieren?)
Außerdem hab ich meine lib unter Objekt-/Bibliothek-Module eingetragen.

Zitat:
Konsole.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__FensterErstellen
Meine *.def-Datei, nach der ich die *.lib erstellt hab, sieht so aus:
Code:
Microsoft (R) COFF Binary File Dumper Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.


Dump of file Dll.dll

File Type: DLL

  Section contains the following exports for Dll.dll

           0 characteristics
           0 time date stamp Thu Jan 01 01:00:00 1970
        0.00 version
           1 ordinal base
           1 number of functions
           1 number of names

    ordinal hint RVA     name

          1    0 0005436C FensterErstellen

  Summary

        1000 .edata
        3000 .idata
        6000 .reloc
        4000 .rsrc
        1000 BSS
       54000 CODE
        2000 DATA
Stefan
“Simplicity, carried to the extreme, becomes elegance.” Jon Franklin

Delphi Sorcery - DSharp - Spring4D - TestInsight
  Mit Zitat antworten Zitat