FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
iDestination and Threads
iDestination and Threads
Iniciado por Dave Summers, 10,mar. 2019 16:35 - 1 respuesta
Conéctese…
Dave Summers
#1
Publicado el 10,marzo 2019 - 16:35
Hi all
I have an issue that i am hoping someone can help/advise on;
A process is running two individual procedures on seperate threads (using theadexecute). Within these threads, both run reports to file. It seems that if both threads/reports run at exactly the same time, then the properties of the iDestination are not respected for the individual thread. i.e. the output filename for both reports ends up being from one of the idestination calls even though they are coded as both being unique
Any help or advice would be greatly appreciated
Kind Regards
Dave
Informar
0
0
Tim
#2
Miembro registrado
34 mensajes
Popularité : +3 (3 votes)
Publicado el 25,marzo 2019 - 16:32
Hello,
Make a class that handles printing of those reports with an internal queue.
Or make use of
CriticalSectionStart
(
"Name"
)
https://doc.windev.com/en-US/…
Informar
0
0
→ Volver a WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto