Archived Visual Fortran (read-only)

CVF COM Servers -- Permissable Derived Types

Hello All,

The code generated by the CVF COM server wizard declares the derived type of the COM object with the following form:

TYPE

SEQUENCE

END TYPE

(1) Is the SEQUENCE attribute required?
(2) Is it possible for a component to have the pointer attribute e.g.

REAL(DP), DIMENSION(:), POINTER :: data => NULL()

(I am unsure if the SEQUENCE attribute can be used if a component has the pointer attribute??)

messagebox

Hi @ll,

I would like to use the messagebox for displaying a calculation result. How can I get the "text"C containing my result? I tried to use a character-variable, but without the "C" at the end it didnt work, and I couldnt get it there. Any idea? I didnt find any help in my manuals concerning this

used code to display the messagebox:
----------------------------------------------
stat = messagebox(ghwndMain, "text"C, &
"Calculation result:"C, MB_OK)
----------------------------------------------

Execution error

Help! Help! in dire straits!!!! Re: Large scientific simulation. I build both Debug and Release. From a DOS command line both executables run (execute). However, if I attempt to run the Debug in the windows developer environment it goes nowhere (not even allowed to break on the very 1st executable line) and immediately gives: "Instruction at 0x50c18522 referenced memory at 0x000000bc. Memory could not be read." Help, Help, help in dire straits!!!!

tmp during link

When I compile and link via dos command line I get the message,
TMP directory C:windows emp does not exist use local directory.
and I can hear the program trying to access the a: drive. It then goes about its way and does the link OK.

How can I fix this? I plan to do quite a few compiles and links and don't want it to give this warning

订阅 Archived Visual Fortran (read-only)