链接已复制
17 回复数
Can you run Array Viewer and open data files on the computer? If not, there's probably a problem with the graphics drivers on the system. Run Array Viewer on target system open the Settings|Options dialog box and uncheck the "HW Acceleration" checkbox.
John
John
Yes. The array viewer works fine - also with the agl-Files created by the other computer. The problem occurs - it doesn't make any difference, if HW Acceleration is enabled or disabled.
I used the Debug configuration - could it be, that in combination with the Array Viewer a Compaq Fortran program only works properly on other computers, if compile it in Release config?
Or should I set some system or environment variables on the other machine? For compile and linking I use the standard configurations.
Thank you,
Tobias Werth
I used the Debug configuration - could it be, that in combination with the Array Viewer a Compaq Fortran program only works properly on other computers, if compile it in Release config?
Or should I set some system or environment variables on the other machine? For compile and linking I use the standard configurations.
Thank you,
Tobias Werth
Tobias,
I don't think Release/Debug config should make a difference; particularly if you have CVF/CAV installed on the target computer.
Would it be possible for you to zip up your project and send it to [email protected]? I should then be able to determine the cause of the crash.
Thanks,
John
I don't think Release/Debug config should make a difference; particularly if you have CVF/CAV installed on the target computer.
Would it be possible for you to zip up your project and send it to [email protected]? I should then be able to determine the cause of the crash.
Thanks,
John
Hi John,
I only have CAV installed on the target computer because I use the array_visualizer attribute and to install CAV is the solution in the known problems section of CVF6.6B.
Sorry, I can't mail my project, because it's company confidential.
Any other idea?
Thank you for your support,
Tobias Werth
I only have CAV installed on the target computer because I use the array_visualizer attribute and to install CAV is the solution in the known problems section of CVF6.6B.
Sorry, I can't mail my project, because it's company confidential.
Any other idea?
Thank you for your support,
Tobias Werth
Hi John,
I tried my program on a third computer with installed CAV and CVF. This works. But I don't want to install it on all of the computers I wan't to use my program.
So I searched for other solutions and found at
http://h18009.www1.hp.com/fortran/downloads.html
the Compaq Array Viewer Demo and Redistributables Kit and the Run-Time Redistributables Kit and installed both in this order.
Now the program hangs at the same step of testing, but it shows an error message:
"The Dialog Dynamic Link Library DFDLGnnn.DLL is missing or not registered."
But I found the dll in the windows/system32 directory. So I tried registering manually. I got a success-message and afterwards the same error as above. But if I search through the registry using regedit I found DFDLG100.dll and a link to the right place in the windows/system32 directory.
Now I'm out of ideas, do you have any?
Regards,
Tobias Werth
I tried my program on a third computer with installed CAV and CVF. This works. But I don't want to install it on all of the computers I wan't to use my program.
So I searched for other solutions and found at
http://h18009.www1.hp.com/fortran/downloads.html
the Compaq Array Viewer Demo and Redistributables Kit and the Run-Time Redistributables Kit and installed both in this order.
Now the program hangs at the same step of testing, but it shows an error message:
"The Dialog Dynamic Link Library DFDLGnnn.DLL is missing or not registered."
But I found the dll in the windows/system32 directory. So I tried registering manually. I got a success-message and afterwards the same error as above. But if I search through the registry using regedit I found DFDLG100.dll and a link to the right place in the windows/system32 directory.
Now I'm out of ideas, do you have any?
Regards,
Tobias Werth
No - it looks as if you installed the CAV redistributables kit only. You also need the one at http://compaq.com/fortran/visual/redist.html
Steve
Steve
Sorry, if you didn't understand me. I installed exactly this. The CVF redistributable kit is called Run-Time Redistributables Kit, so I used this expression.
In total I've installed two redistributable kits, the one for CAV and the one for CVF, but it doesn't help.
Thank you,
Tobias Werth
In total I've installed two redistributable kits, the one for CAV and the one for CVF, but it doesn't help.
Thank you,
Tobias Werth
If you have used any fagl/fav calls in your program, copy AVIEW160.dll to the system directory on the target machine (though not having this dll wouldn't result in the error message you've seen).
What happens if you compile a non-AV Fortran sample, and move the executable to the other machine (say FortranSamplesAdvancedCOMIWeb)? Does it run correctly?
John
What happens if you compile a non-AV Fortran sample, and move the executable to the other machine (say FortranSamplesAdvancedCOMIWeb)? Does it run correctly?
John
Hi,
the suggested example worked fine at the target machine.
The AVIEW160.DLL already was in the system directory. I Tried to register it manually - the following error occurred:
"AVIEW160.DLL was loaded, but non DLLRegisterServer-Entry-Point was found. AVIEW160.DLL seems to be not a .DLL or .OCX-File."
Tobias Werth
the suggested example worked fine at the target machine.
The AVIEW160.DLL already was in the system directory. I Tried to register it manually - the following error occurred:
"AVIEW160.DLL was loaded, but non DLLRegisterServer-Entry-Point was found. AVIEW160.DLL seems to be not a .DLL or .OCX-File."
Tobias Werth
Yes Aview160.dll is not an ActiveX dll. It does have to be in your path though. Did you copy it to Windows/system32 or some other directory were it will be picked up?
Also, try commenting out the array_visualizer attribute in your fortran source and see if that makes a different. Without that attribute, the fortran runtime won't try to load aview160.dll.
John
Also, try commenting out the array_visualizer attribute in your fortran source and see if that makes a different. Without that attribute, the fortran runtime won't try to load aview160.dll.
John
Hi John,
sorry for my late answer. the aview160 already was in the windows/system32 directory. Commenting the array_visualizer attribute out doesn't help - the same error message occurs and on my computer the array visualizer works, but not correctly.
But I got a solution. I deinstalled all the Compaq staff and rebooted. Then I installed the runtime-redistributables in a specified order: first the CVF-Run-Time files and then the CAV-Run-Time files. And it worked!
Thank you for your support!
Tobias Werth
sorry for my late answer. the aview160 already was in the windows/system32 directory. Commenting the array_visualizer attribute out doesn't help - the same error message occurs and on my computer the array visualizer works, but not correctly.
But I got a solution. I deinstalled all the Compaq staff and rebooted. Then I installed the runtime-redistributables in a specified order: first the CVF-Run-Time files and then the CAV-Run-Time files. And it worked!
Thank you for your support!
Tobias Werth