October 15, 2003 Doc on Win dll | ||||
---|---|---|---|---|
| ||||
It seems to me that the documentation on how to create dll's on windows are unnecessary complex. A very simple test seems to show that the def file isn't needed as long as the symbols use the 'export' attribute. Since it is much simpler to export the functions where they are instead of in a def-file, I don't understand why the doc's don't reflect this. Are there any pitifalls with 'export' compared to using .def-files? Lars Ivar Igesund |
October 15, 2003 Re: Doc on Win dll | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars Ivar Igesund | "Lars Ivar Igesund" <larsivi@stud.ntnu.no> wrote in message news:bmiu5s$24aa$1@digitaldaemon.com... > It seems to me that the documentation on how to > create dll's on windows are unnecessary complex. > A very simple test seems to show that the def > file isn't needed as long as the symbols use the > 'export' attribute. Since it is much simpler to > export the functions where they are instead of > in a def-file, I don't understand why the doc's > don't reflect this. > > Are there any pitifalls with 'export' compared to > using .def-files? I don't think there are. The two methods are equivalent. |
Copyright © 1999-2021 by the D Language Foundation