- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having trouble with ConvertStringToBSTR in IVF.
The following code:
-------------------------
program
bstruse ifcom
implicit none
integer(INT_PTR_KIND()) :: p1p1 = ConvertStringToBSTR( "Does this work?" )
end
program bstr---------------------------------
causes the following error:
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
kernel32.dll 77E7A922 Unknown Unknown Unknown
bstr2.exe 004399AB Unknown Unknown Unknown
It works fine in CVF (of course using DFCOM instead of IFCOM).
Please let me know what would help.
Link Copied
10 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have a helpful suggestion, other than to say that I've noted the same problem.
It seems to me that this is something that ought to have been picked up in the course of routine QA on the Intel Fortran product: it doesn't affect Linux, so let Windows users pay!
Ciao,
Gerry T.
It seems to me that this is something that ought to have been picked up in the course of routine QA on the Intel Fortran product: it doesn't affect Linux, so let Windows users pay!
Ciao,
Gerry T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks-- I've submitted the problem to Premier Support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
David,
Please share the resolution with the rest of the community, as like you and I, there are others who'd like to know whatever the score.
Thanks,
Gerry T.
Please share the resolution with the rest of the community, as like you and I, there are others who'd like to know whatever the score.
Thanks,
Gerry T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem is fixed in the most recent update, 8.0.048 . I've installed it and tested it out. I believe the issue involved was:
"Q230296 Incorrect result (or access violation) with pointer valued character functions"
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's great, thanks from me and others for the feedback.
Ciao,
Gerry T.
Ciao,
Gerry T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't get ConvertStringToBSTR to work. The IVF product version that I have is w_fcp_p_8.0.048. I downloaded the recently released patch W_FC_PC_8[1].0.047_PE048.1.exe but it fails to install with an error 1706. Any help would be appreciated.
BWT, is there any way of confirming the IVF product version installed or whether the patch was ever applied?
Thanks,
Gerry T.
BWT, is there any way of confirming the IVF product version installed or whether the patch was ever applied?
Thanks,
Gerry T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The example above works for me in 8.0.048.
To verify the version, use the command:
ifort -what -c something.f90
where "something.f90" is any compilable file. You'll see output such as this:
Intel Fortran Compiler for 32-bit applications, Version 8.0 Build 20040415Z
Package ID: w_fc_pc_8.0.047_pe048.1
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
Package ID: w_fc_pc_8.0.047_pe048.1
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
Intel Visual Fortran 8.0-4307
That last line is useful as it is the actual compiler version, rather than a package identifier.
What do you get when you try this, Gerry?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Fortran Compiler for 32-bit applications, Version 8.0 Build 20040318Z Package ID: w_fc_pc_8.0.047
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
Looks like it's not quite uptodate. I don't see anything obvious on IPS that I can download in lieu of what I have.
Thanks,
Gerry T.
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
Looks like it's not quite uptodate. I don't see anything obvious on IPS that I can download in lieu of what I have.
Thanks,
Gerry T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok - you ought to be able to apply the patch.. Try uninstalling and reinstalling 8.0.047 and then try the "pe048" patch again. If you still have problems, send the details to support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Happily that worked, like pounding on the TV, :-).
Thanks,
Gerry T.
Thanks,
Gerry T.
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