Konuyu Oyla:
  • Derecelendirme: 2.5/5 - 2 oy
  • 1
  • 2
  • 3
  • 4
  • 5
Asenkron Procedure
#11
Merhaba,
MyQuery'im Data module üzerindeydi onu söylediğiniz gibi değiştirmiştim yazdıktan sonra,

Execute'deki kodlarım yukarıda ilettiğim Create'deki işlem ile aynı
WWW
Cevapla
#12
Resume komutu Execute içine taşınmamıştır inşallah Sad

Not: Hangi versiyon Delphi kullanıyorsun bilmiyorum ama "Warning: Resume is deprecated" hatası alıyorsan Resume yerine Start kullanmalısın. Ve bunu SendNotify içinde Notify.Start şeklinde yaparsan daha iyi olur.
There's no place like 127.0.0.1
WWW
Cevapla
#13
TThread'e biraz yakından göz atalım.


  TThread = class  
   private type  

..
..
..   
  public  
    constructor Create(CreateSuspended: Boolean);  
    destructor Destroy; override;  
    procedure AfterConstruction; override;  
    // This function is not intended to be used for thread synchronization.  
    procedure Resume; deprecated;  
    // Use Start after creating a suspended thread.  
    procedure Start;  
    // This function is not intended to be used for thread synchronization.  
    procedure Suspend; deprecated;  
    procedure Terminate;  
Cevapla
#14
Sorunum DataModule Kaynaklıymış,

Thread içerisinde kullanılan Componetlerimi Datamodule üzerine atıp kullanmamak lazım, Tümümü Thread içerisinde Create edip kullandığımda problem yaşamadım.
WWW
Cevapla


Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  store procedure ile toplama islemi sadikacar60 5 1.477 22-04-2024, Saat: 12:50
Son Yorum: bydelphi
  Ado Store procedure çalıştırma hk ceylan 4 1.495 01-12-2022, Saat: 14:11
Son Yorum: ceylan
  SQL Procedure Script Oluşturma Hakkında glagher 5 2.384 17-07-2022, Saat: 12:37
Son Yorum: glagher
  procedure çok boyutlu dizi gönderme sadikacar60 6 3.391 06-04-2021, Saat: 22:06
Son Yorum: uparlayan
  firebird procedure ibrahim.aydin@perga.com.tr 2 2.112 22-02-2021, Saat: 15:20
Son Yorum: ibrahim.aydin@perga.com.tr



Konuyu Okuyanlar: 1 Ziyaretçi