[Lazarus] poss bug with tdaemon & allocatehwnd

Justin Smyyth Delphian at smythconsulting.net
Wed Dec 28 23:05:31 CET 2011


sorry forgot to add subject if this gets double posted.

 I've come across something weird , when i   
 create a  daemon in lazarus and get it to create a thread , in that thread  

  if i create  handle using MessageHandle :=     
TWin32WidgetSet(WidgetSet).AllocateHWnd(@MyMessage) the on    
execute never gets  called. its like the thread just goes into pause    
once the allocateHWND gets  called. i've tried creating the handle oncreate  

  & onexecute same issue , i  never see any of the on execute.



here is the sample i am using.



i am wondering if this is a bug , i've    
listed a bug  report for this id - 0020979



if anyone has any ideas of a fix for this ( 
   if  possible) i would be extremly gratefull.



Kind Regards





Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111229/64844968/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BasicService.zip
Type: application/x-zip-compressed
Size: 7930 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111229/64844968/attachment-0002.bin>


More information about the Lazarus mailing list