[Migrated content. Thread originally posted on 04 April 2008]
Hello to all,With new version 8, im having an issue with the library c$opensavebox, the dialog opens correctly, but when is closed, a runtime error occurs. This is the code:
call "c$opensavebox" using OPENSAVE-SUPPORTED
giving Opensave-Status
end-call.
cancel "c$opensavebox".
if Opensave-Status not = 1
move "Su sistema operativo no soporta este tipo de cuadros
- " de di?logo" to tabla-mensaje(1)
move 1 to valor
perform mensaje
go exit
end-if.
initialize opensave-data.
move spaces to OPNSAV-FILENAME.
move 0 to OPNSAV-FLAGS.
move zeroes to OPNSAV-DEFAULT-EXT.
move "Nombre de archivo..." to OPNSAV-TITLE.
move "Todos los Archivos (*.*)|*.*|" to OPNSAV-FILTERS.
move 1 to OPNSAV-DEFAULT-FILTER.
move spaces to OPNSAV-DEFAULT-DIR.
move spaces to OPNSAV-BASENAME.
call "c$opensavebox" using OPENSAVE-OPEN-BOX Opensave-Data
giving Opensave-Status
end-call.
cancel "c$opensavebox".
It's a little weird that this error doesn't happen when i run the program in debug :confused:. I check the compiler options... but the only diference are the debug lines. Maybe some configuration archive problem?
release : -o .\\objectwin\\@.acu -v -Wa -x -Di -Vc -Vx -Za -Zi -Zy -Td 16384
debug: -o .\\debug\\@.acu -v -Wa -x -Sd -Di -Vc -Vx -Ga -Za -Zi -Zy -Td 16384
Any ideas?
Thanks afterwards



