Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29261 Discussions

Combine VC++ /clr:pure project with .dll

jantimmerman
Beginner
1,197 Views
Hello,
Is it possible toimporta .dllin a /clr:pure project?
Best Regards,
Jan Timmerman
0 Kudos
6 Replies
Steven_L_Intel1
Employee
1,197 Views
Please explain in more detail what you want to do. I don't recognize "/clr:pure". I can see that /clr is an MSVC.NET option, but "pure" is not one of the options Microsoft documents. Maybe you mean something else entirely?
0 Kudos
jantimmerman
Beginner
1,197 Views

thanks for your reply,

It is a setting in: Project->Properties->Configuration Properties-> General-> Common Language Runtime Support

As far as I understand it, /clr:pure does not allow you to use unmanaged classes. Full setting is "Pure MSIL Common Language Runtime Support (/clr:pure)"

It is the default setting when creating a newWindows Forms project (VC++ 2005).Weare experiencing some strange errors with the designview and the "/clr" option so I was wondering if it would be possible to switch back to "/clr:pure" and still include and use a .dll generated with CVF.

In short: Can I include and use a .dll withmanaged C++only?

best regards,

Jan

0 Kudos
Steven_L_Intel1
Employee
1,197 Views
This is really a question that should be asked of an MSVC.NET forum, isn't it?
0 Kudos
jantimmerman
Beginner
1,197 Views
Hmm, it probably is..
Guess the main reason of posting aMSVC question here isthe fact that IVF will be compatible with VS 2005 in the near future.
I will give it a try ata msvc forum, thanks for yourquick replies!
best regards,
Jan Timmerman
0 Kudos
Steven_L_Intel1
Employee
1,197 Views
Well, yes, but that's just the development environment. The basic capabilities of the Fortran compiler aren't different from what you can get in VS.NET 2003.
0 Kudos
jantimmerman
Beginner
1,197 Views

For whoever is interested, repost and answer can be found here

(seems I have been to quick with some assumptions..)

Jan

0 Kudos
Reply