mix Visual c++ 2003 with Fortran IFC 8

P

Pakea

Dear all,

I'm trying compile MSV .NET with IFC v8.

In my c++ source I write
....
extern "C" void _stdcall ROUTINE (...)
...
main
{....
void ROUTINE (...);
....}

In fortran source
subroutine routine (...)
....
return

In my MSV Solution, I included the fortran project in MSV .NET (I
called it "prototipo"), and I built my library ("prototipo.lib"). But
when I try link the solution, I have an error
--------------------
Linking...
LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification
Creating library .\MyApp_d.lib and object .\MyApp.exp
MyApp.obj : error LNK2019: unresolved external symbol _ROUTINE@12
referenced in function "public: void __thiscall
Applica::IniciaPosCoche(void)" (?IniciaPosCoche@Applica@@QAEXXZ)
..\MyApp_d.exe : fatal error LNK1120: 1 unresolved externals
-------

Any solution

Thanks
Pakea
 
P

puppet_sock

[email protected] (Pakea) wrote in message news: said:
I'm trying compile MSV .NET with IFC v8.

This is all off topic here. Here we only talk about C++ language
issues, not specific compilers (except w.r.t. language issues),
not other languages.

You will want one of the microsoft.public.vc.* news groups for
the Microsoft parts. They are available from www.google.groups,
or from the microsoft public news server. You may find more
guidance over there about what to do with the Fortran parts.
Also, a search at www.google.groups may well make it obvious
which news groups discuss these things.
Socks
 

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

Members online

No members online now.

Forum statistics

Threads
474,169
Messages
2,570,919
Members
47,460
Latest member
eibafima

Latest Threads

Top