CVFcompiles my FORTAN function to aDLL, LIB or OBJ, but I can't open them from Builder (no problem calling from VC++). Builder says it's a COFF-OMFrelated incompatibility problem, butCOFF2OMF generates very small (1 K vs 150K)files and they don't seem to work in Builder.
Anyone can help.
Thanks.
链接已复制
1 回复
AFAIK Coff2Omf and similar utilities are able to convert only dll import libraries -- not real object libraries. Thus, about the only thing you can do is to use Fortran dll.
I'm not familiar with BC++ Builder, but Delphican call Dll functions pretty seamlessly, without import library, e.g.
function DMS_EndSendData(): DMSERR;
stdcall; external 'dmsapp.dll' name '_DMS_EndSendData@0';
stdcall; external 'dmsapp.dll' name '_DMS_EndSendData@0';
is there something similar in C++ Builder too?
Jugoslav
