errors on linking for *.def file

A

a7zulu

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...

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


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


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top