- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been using XEffort for some years, and without making any changes to my code or to the libraries, since updating to the latest SP1 of XE Studio, I am now seeing a range of errors which have me mystified.
1. I have been using USE XFTSTrings,only : XToUpper, XEnvironmentString
Now, this won't link, and I need to USE XFTFile to get XEnvironmentString
2. My main program will no longer link, as I am getting an unresolved external _XINIT in WinMain@16 (my XINIT subroutine is still in the source and is compiling, but is not found at link time).
What has changed to cause these errors, particularly 2? My source code and source libraries have not been changed.
Thanks,
David
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve Lionel (Intel) wrote:
The problem here is the use of _DF_VERSION, which we no longer define. We use __INTEL_COMPILER. You could add /D_DF_VERSION=650 to your compiles and it should work. As for keeping a copy of Xeffort, is Jugoslav Dujic no longer maintaining his site for that?
Steve,
I have just updated to "Intel(R) Visual Fortran Compiler XE 14.0.3.202 [IA-32]" and I am getting the same "WinMain@16" error. I have added the "/D_DF_VERSION=650" in the command line option but it does not solve the issue. Any suggestions?
I rebuild both Xeffort and my project.
"error LNK2019: unresolved external symbol _XINIT referenced in function _WinMain@16 Xeffort.lib(EXWinMain.obj) "
Neels
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Neels, I think that's a separate issue. That suggests your program is not structured as a "Windowing application" with a WinMain entry point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
It is a dialog based application created using the Xeffort wizard. It worked fine in CVF and IVF up to XE 13.--- but not in XE14.---. Other than that I have no idea.
Neels
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Neels,
In my applications (not tested in XE 14), I do not use any command line options like yours, but in my source for XINIT have removed all refereces to DF:
LOGICAL FUNCTION XInit(szCmdLine,nCmdShow)
!DEC$ATTRIBUTES DEFAULT, DECORATE, ALIAS: 'XINIT':: XInit
Not sure if this is helpful.
David
- 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
- « Previous
-
- 1
- 2
- Next »