Menu

*.DEF-file for a DLL

2003-03-24
2012-09-26
  • Nobody/Anonymous

    How do i create a def-file from inside the IDE and how do i tell DEV-C++ to use my def-file for the dll?

     
    • Guidance

      Guidance - 2003-03-25

      Strongly recommend to use wxWindows, its wxDynamicLibrary class is very easy to interface with external DLL, no DEF file needed at all.

       
    • Nobody/Anonymous

      Create the .def file with a text-editor and place in the directory of the .dev file. Then go to the Project Options, find the field labeled with "Linker options" and enter --def DefFileName.def

      Cheers, l-x

       
    • Nobody/Anonymous

      Could you give me an example for the format of the *.DEF file?

      Is the following possible?
        foo=_foo@4

      like in MS C++?

      Gorch

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.