Archived

This topic is now archived and is closed to further replies.

T2k

question about a rule (GDArena)

Recommended Posts

quote:
Threads, or any other asynchronous capability, may not be used in programming bot DLL''s. All execution must be synchronous
and now the question: do we have to remove such code completly from the files, or are we allowed to let it be there (commented out etc)? same for debugwindows, should i remove the code completly or can i simply disable it by not calling such functions? in my case the async (or semi async) would be a callback wndproc for the debugwindow T2k

Share this post


Link to post
Share on other sites
quote:
Original post by T2k
quote:
Threads, or any other asynchronous capability, may not be used in programming bot DLL''s. All execution must be synchronous


and now the question: do we have to remove such code completly from the files, or are we allowed to let it be there (commented out etc)? same for debugwindows, should i remove the code completly or can i simply disable it by not calling such functions?

in my case the async (or semi async) would be a callback wndproc for the debugwindow


T2k


You can leave it there and just disable it. Or maybe even just make it a _DEBUG only thing.

Share this post


Link to post
Share on other sites