Results 1 to 2 of 2

Thread: .Def file created with .DLL??

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    Canada
    Posts
    8

    Question .Def file created with .DLL??

    I need to generate a .def file for my .DLL file is this possible. Reason is that I'm trying to link my DLL, created with VB 6 to a program that needs a .def to validate the entry point.

  2. #2
    jim mcnamara
    Guest
    If you created a .dll with VB it is an ActiveX dll. These create interfaces.

    .DEF files are part of creating .dll's in c++ that do not expose an interface. They define the functions that are exported.

    This .def defines one function in a dllExport module:

    LIBRARY "cpuspeed"
    DESCRIPTION 'CpuSpeed Windows Dynamic Link Library'

    EXPORTS
    GetCpuSpeed @ 1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width