ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   errors on linking for *.def file (https://www.excelbanter.com/excel-programming/392576-errors-linking-%2A-def-file.html)

[email protected]

errors on linking for *.def file
 
I am using a library that has a function implemented called
xlAutoOpen. I wrote a function called xlAutoOpen, how do I in my .def
file tell the linker to reference the one I wrote?

I am getting errors like these because the linker isn't sure which
function I am referencing...

1curve.def : warning LNK4022: cannot find unique match for symbol
'xlAutoOpen'
1curve.def : warning LNK4002: "int __cdecl xlAutoOpen(void)" (?
xlAutoOpen@@YAHXZ) defined in .\release\Generic.obj
1curve.def : warning LNK4002: _xlAutoOpen@0 defined in .\Univswap.lib
1curve.def : warning LNK4002: _xlAutoOpen@0 defined in .\Univyld.lib
1curve.def : error LNK2001: unresolved external symbol xlAutoOpen


These functions are essential because they are the required functions
for this interface I am using.


Thanks



All times are GMT +1. The time now is 12:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com