hi,
anybody known how use declare the c method [b]dispatch_get_main_queue/b in xojo declare ?
thanks,
hi,
anybody known how use declare the c method [b]dispatch_get_main_queue/b in xojo declare ?
thanks,
From @Joe Ranieri
dim sysLib as ptr = dlopen("/usr/lib/libSystem.B.dylib",5)
dim disp as ptr = dlsym(sysLib,"_dispatch_main_q")
disp will be the ptr to the main queue.