GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
iDestination and Threads
iDestination and Threads
Iniciado por Dave Summers, mar., 10 2019 4:35 PM - 1 resposta
Conecte-se…
Dave Summers
#1
Publicado em março, 10 2019 - 4:35 PM
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
Denunciar
0
0
Tim
#2
Membro registado
34 mensagems
Popularité : +3 (3 votes)
Publicado em março, 25 2019 - 4:32 PM
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/…
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto