CompuServe Thread

#Expression Order

2 messages in this thread
#50237From: Rob LefebvreJul 30, 1993 4:09 PM
I'm using the Zinc libraries for my interface. A common piece of code looks like this: *WINDOW + OBJECT1 + OBJECT2 + OBJECT3; This adds three objects to a window (linked list). Under NT, they don't always get created in the correct order. For example, if the objects are generated by functions, then the function for OBJECT3 may get called before OBJECT1. I'm not sure whether this is standard C++ or not, but it seemed strange. Rob Lefebvre There is 1 Reply.
#50548From: Julie Solon [Microsoft]Aug 3, 1993 1:29 PM
Rob, > A common piece of code looks like this: *WINDOW +OBJECT1 +OBJECT2 +OBJECT3; I'm not familiar with this syntax, therefore, I'm not sure why the failure. In a multi-threaded situation, you would not be guaranteed a particular order for functions to execute. If the code is not multi-threaded, stepping through the code with a debugger may help you to understand what is going on. Sincerely, Julie Solon Microsoft Developer Support