|
From: Greg C. <chi...@co...> - 2006-12-05 01:06:38
|
On 2006-12-5 0:17 UTC, Chris Wilson wrote: > On Tue, 5 Dec 2006, Greg Chicares wrote: > >> NAME 'WHATEVER' >> EXETYPE WINDOWS >> IMPORTS >> _WhateverNameYouWant =GOOFY_DLL.GoofyInternalName > > I tried to create a .def file, starting with either: > > LIBRARY vssapi > > or > > NAME 'vssapi' > > but in both cases, cygwin's dlltool tells me: > > dlltool: Syntax error in def file vssapi.def:1 > > I don't have a definitive reference for DEF file syntax that's supported > by dlltool, so I'm stuck here :-(. Can anyone help? Attached is a skeletal '.def' file that actually does nothing, but should have valid syntax. I think it was created in the days of steam-powered computers by some application generator; it's from an ancient project and certainly ought to be valid. I send it as an archive in order to make sure you have an exact copy--who knows, LF vs. CR/LF might matter. If this gives a syntax error, then maybe the dlltool command isn't quite right. Please show the full command line to produce that error, either with my '.def' file or with yours. I seem to remember having a similar problem years ago, and maybe seeing your command will jog my memory. |