View Single Post
Old 29 June 2020, 14:05   #3
Sim085
Registered User
 
Join Date: Apr 2009
Location: N/A
Posts: 962
In CLI (shell).

Just to give an example, if I put printf in hook function as follows every freezes;

Code:
ULONG editfield(struct Hook *hook, struct SGWork *obj, ULONG *msg)
{
   printf("something");
}
But the following works ok;

Code:
while(run){
   ...
   if(msgClass == IDCMP_GADGETUP){
      printf("something");

   }
   ...
(I removed code to simplify example).

Quote:
Originally Posted by S0ulA55a551n View Post
what would it be printing too ?
Sim085 is offline  
 
Page generated in 0.04399 seconds with 11 queries