Board index » delphi » DLL, import unit, interfacing problems: help!
burle...@bronze.ucs.indiana.edu (Frank Burleigh)
Delphi Developer |
Mon, 23 Mar 1998 03:00:00 GMT
DLL, import unit, interfacing problems: help!
I want to put some utility code into a DLL, but things aren't working
quite as expected. When I compile these, I get error 167 Can't export synbol in the exports clause of the dautlrpt.dpr file. When I fully qualify the symbol (da_rpt.ShowRptList) the error is 3 unknown id. If I move the definition of ShowRptList into dautlrpt.dpr I get a good procedure ShowRptList; in da_rpt's interface part but that's not helping. Please help me understand: Here are the files: --- uses exports begin end. --- interface uses implementation procedure ShowRptList;export; end. Then there are darptsel (the form and its unit) and an import unit unit Da_rptiu; interface procedure ShowRptList; implementation procedure ShowRptList;external 'dautlrpt'; end. -- |