DLL Call in Visual Fortran

DLL Call in Visual Fortran

I'm a delphi and C++ Programmer
but i need to do some dll with Visual C++
I Build the Dll wihout problems.
I Copy the DLL into my test project path.
I add the import library (created when I built
the DLL file) to mi test project.
I see the .Lib in the FileView tab.
but...
when i buil my test project, this error message appears
Linking...
UFCALL.obj : error LNK2001: unresolved external symbol _DLL_ROUT@12
Debug/UFCALL.exe : fatal error LNK1120: 1 unresolved externals

Can anybody give some help, please

2 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

You need to describe how DLL_ROUT is defined and what interface definitions you used in Fortran. The mixed language programming section of Programmer's Guide should help with this problem.

James

Faça login para deixar um comentário.