- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The IVF documentation has an interesting item titled:
'Handlers for the Application (Project) Types' revealed by searching for 'DllMain'
I have two questions concerning this entry:
1. Why isn't the Fortran run-time source available as is the case with VC? If it were you could tailor the default Fortran exception handler to suit your application, although you'd have to recompile the run-time I guess. What is the 'default Fortran exception handler' anyways? I'd be happy with it so long as I could customize itand feed it to the proprietry run-time via an include.
2. I've tried to override the default DllMain in an IVF DLL without success. If there a knack to doing so other than including DllMain.f90?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feel free to file a feature request with Intel Premier Support asking for a way to hook some user routine into the exception handling behavior. That's a good idea.
As for DllMain, you can't "override" ifcorert.dll's DllMain. You can supply your own in your own DLL. It does not seem proper to me to want to interfere with a DLL's use of its own DllMain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Will do (when I figure out how to contact them, just joking). Being able to inject into the startup goes beyond exception handling; it would could facillitate an app's provision of a 'user written procedure' in the unmanaged language of their choice (C/C++ or Fortran). When IVF has COM creation you could go that route butI guess relatively few Fortraners have the requisite twisted mind to bother.
I don't disagree with your pointabout supplying aDllMain. f90. In VS 98 you can even supply a Dllmain.c(pp) to a CVF DLL. Why?, because you can.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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