February 19th, 2004, 10:41 PM
Toss the global, it's going to cause more harm than good in this case. It complicates the logic and makes the program very difficult to read.
Consider changing your functions to look like this......
February 19th, 2004, 10:27 PM
Under Windows, a process is MUCH more expensive than a thread, it terms of both memory and CPU cycles. For the CPU to do a context switch from one thread to another is almost nothing compared to do...
February 19th, 2004, 09:56 PM
It's true that you can get away without adding the DSW file to SourceSafe, but you are probably better off keeping it under source control. This is especially true for workspaces with many projects....
February 19th, 2004, 09:37 PM
For Windows it's almost always going to be the case that a thread based solution is going to be less resource intensive than a process based solution.
John
nhojmc@hotmail.com
February 18th, 2004, 10:54 PM
You are probably going to find that DCOM is not the best technology for remote users over the internet. It's a bear to configure correctly and throwing a firewall into the mix will make things just...