- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Balises:
- Intel® Fortran Compiler
Lien copié
10 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks-- I've submitted the problem to Premier Support.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
That's great, thanks from me and others for the feedback.
Ciao,
Gerry T.
Ciao,
Gerry T.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Happily that worked, like pounding on the TV, :-).
Thanks,
Gerry T.
Thanks,
Gerry T.
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable