Click here to Skip to main content
15,905,915 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDirect draw and Multimon problem Pin
Member 91916026-Sep-03 1:30
Member 91916026-Sep-03 1:30 
GeneralResolution problem with my MFC - programms under Windows 2000 Pin
postamt26-Sep-03 1:11
postamt26-Sep-03 1:11 
GeneralKill a Process Pin
cberam26-Sep-03 1:04
cberam26-Sep-03 1:04 
GeneralRe: Kill a Process Pin
David Crow26-Sep-03 3:00
David Crow26-Sep-03 3:00 
GeneralCreating a CWnd with a dialog resource Pin
Antti Keskinen26-Sep-03 0:52
Antti Keskinen26-Sep-03 0:52 
GeneralRe: Creating a CWnd with a dialog resource Pin
KarstenK26-Sep-03 1:33
mveKarstenK26-Sep-03 1:33 
GeneralRe: Creating a CWnd with a dialog resource Pin
Antti Keskinen26-Sep-03 4:15
Antti Keskinen26-Sep-03 4:15 
QuestionRan out of... ...something? Pin
-Dy26-Sep-03 0:48
-Dy26-Sep-03 0:48 
The application I work on can be ran through an automation model via DCOM, which is fine and works well, but it does mean that we must be able to run several instances of the application on one machine. I've found that I can run no more then 10 instances of the application on any given machine (regardless of the resources available to the machine), and this simply isn't enough, so I've been looking into why this is.

I've found that if I create a standard MFC (VC6) MDI app, accepting all the defaults, that that application can only be ran 102 times simultaneously, which seems very odd to me, the machine (according to task manager on WinXP) has plenty of memory available, but I can't open another instance of the application (or any other application, like notepad). When I trace into it with the IDE I find that it either fails on creating the main frame of loading the main menu resource.

So, I was wondering, does anyone know if there is a limit to the amount of resource's / GDI objects / USER objects / handles / threads Windows can open at once? Or am I barking up the wrong tree - can anyone give me a clue as to how I can get my app to run more simultaneous copies? (Note, I can't change the architecture at this stage, I'm stuck with the automation model, management's decision...)


Dylan
AnswerSystem limits (LARGE post). Pin
73Zeppelin26-Sep-03 5:31
73Zeppelin26-Sep-03 5:31 
GeneralRe: System limits (LARGE post). Pin
-Dy26-Sep-03 5:42
-Dy26-Sep-03 5:42 
GeneralCEdit and multiline. Pin
esepich26-Sep-03 0:30
esepich26-Sep-03 0:30 
GeneralRe: CEdit and multiline. Pin
David Crow26-Sep-03 3:03
David Crow26-Sep-03 3:03 
GeneralRefresh API Pin
rohit.dhamija25-Sep-03 23:43
rohit.dhamija25-Sep-03 23:43 
GeneralPLEASE help experts.... Pin
rohit.dhamija26-Sep-03 1:42
rohit.dhamija26-Sep-03 1:42 
GeneralRe: Refresh API Pin
David Crow26-Sep-03 3:05
David Crow26-Sep-03 3:05 
GeneralRe: Refresh API Pin
rohit.dhamija26-Sep-03 4:00
rohit.dhamija26-Sep-03 4:00 
GeneralRe: Refresh API Pin
David Crow26-Sep-03 5:57
David Crow26-Sep-03 5:57 
GeneralRe: Refresh API Pin
rohit.dhamija26-Sep-03 19:33
rohit.dhamija26-Sep-03 19:33 
GeneralRe: Refresh API Pin
AORD27-Sep-03 17:27
AORD27-Sep-03 17:27 
GeneralRe: Refresh API Pin
rohit.dhamija28-Sep-03 18:01
rohit.dhamija28-Sep-03 18:01 
GeneralRe: Refresh API Pin
AORD30-Sep-03 22:38
AORD30-Sep-03 22:38 
GeneralRe: Refresh API Pin
rohit.dhamija30-Sep-03 23:45
rohit.dhamija30-Sep-03 23:45 
GeneralMicrosoft C++ Exception at kernel32.dll Pin
Neha25-Sep-03 22:20
Neha25-Sep-03 22:20 
GeneralRe: Microsoft C++ Exception at kernel32.dll Pin
vcplusplus26-Sep-03 1:23
vcplusplus26-Sep-03 1:23 
GeneralRe: Microsoft C++ Exception at kernel32.dll Pin
Neha26-Sep-03 1:28
Neha26-Sep-03 1:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.