Execution Order
From: JonWayn (jongunn_at_bellsouth.net)
Date: 02/21/04
- Next message: rpm5090: "cs_nokeycvt"
- Previous message: Adam Honek: "XP look code not working"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 21 Feb 2004 18:27:03 -0500
I have a program that runs fine on my single-processor PC, but has
unexpected behaviours when ran on the target PC which is a multi-processor
PC. Basically, in my program, which is a MSAccess database, I have used API
calls to run an exe file which opens a window which has buttons, textboxes,
etc, and which opens other windows, such as a file open dialog, accepts a
file name , which is programatically entered, and then OKs the File open
dialog, among other stuff. When I step thru this program, everything runs
fine. However, when ran, sometimes it attempts to OK the fileopen dialog
before the filename is entered. And there are other out-of-order execution
similarly, that makes the program's objectives fail to complete.
Is there any programming logic that can be used to control execution order?
While I understand the need for speed - and hence multi-processors, it
really doesnt make sense to me that one processor would be grabbing and
executing codes that succeed others that are not yet, or not fully executed.
If I wanted line2 to be executed before line1, I think I would have written
it that way.
- Next message: rpm5090: "cs_nokeycvt"
- Previous message: Adam Honek: "XP look code not working"
- Messages sorted by: [ date ] [ thread ]