- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I really appriciate Steve for giving me advice.
..
And I have two questions about his advices.
First He said "You could link in objects and libraries created by PowerStation in a VC++ 6.0 project" , He means dll file created by PowerStation 4.0 can be used in VC++6.0 ?
Second, He said "you would have to build the Fortran components separately".
I don't know exactly how should I do?
I'm sorry I make you to be troublesome.
..
And I have two questions about his advices.
First He said "You could link in objects and libraries created by PowerStation in a VC++ 6.0 project" , He means dll file created by PowerStation 4.0 can be used in VC++6.0 ?
Second, He said "you would have to build the Fortran components separately".
I don't know exactly how should I do?
I'm sorry I make you to be troublesome.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This means, you can use .obj, .lib and/or .dll files created by PowerStation in VC, but you have to compile them using FPS compiler and IDE. The simplest way is to just insert .obj files created by FPS into VC project (of course, you'll have to also write a .h file containing declarations of fortran functions, they all should be extern "C" __stdcall). You can also
create a "static library" project in FPS and insert the resulting .lib file into
VC project. Finally, you can create a "DLL" project in FPS and insert the
resulting .lib (not dll) into VC project.
Everything said is also valid if you want to make FPS "frame" project, i.e.
you should be able to insert VC .obj files into FPS project. However, i'm not
sure if that would work due to "forward compatibility", i.e. if MS changed their .obj format since 1995.
Jugoslav
create a "static library" project in FPS and insert the resulting .lib file into
VC project. Finally, you can create a "DLL" project in FPS and insert the
resulting .lib (not dll) into VC project.
Everything said is also valid if you want to make FPS "frame" project, i.e.
you should be able to insert VC .obj files into FPS project. However, i'm not
sure if that would work due to "forward compatibility", i.e. if MS changed their .obj format since 1995.
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No - don't try to insert VC++ 6 objects or libraries into an FPS project. You'll get bizarre linker errors, because MS did change the object format.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page