Click here to Skip to main content
15,909,324 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGrid Pin
Vickie6-Mar-01 22:55
Vickie6-Mar-01 22:55 
GeneralRe: Grid Pin
l a u r e n6-Mar-01 23:09
l a u r e n6-Mar-01 23:09 
GeneralDoubt in ADO Pin
6-Mar-01 19:19
suss6-Mar-01 19:19 
GeneralRe: Doubt in ADO Pin
l a u r e n6-Mar-01 20:43
l a u r e n6-Mar-01 20:43 
GeneralError message...... Pin
Richard Cheng6-Mar-01 14:15
Richard Cheng6-Mar-01 14:15 
GeneralRe: Error message...... Pin
Christian Graus6-Mar-01 15:00
protectorChristian Graus6-Mar-01 15:00 
GeneralOnly One Instance to be opened... Pin
Manfred Ramosch6-Mar-01 12:12
Manfred Ramosch6-Mar-01 12:12 
GeneralRe: Only One Instance to be opened... Pin
l a u r e n6-Mar-01 12:18
l a u r e n6-Mar-01 12:18 
manfred ... the win32 apps all run in their own process space so they dont get to see the others and the concept of a global flag across all instances doesn't hold

what you should do in the initinstance (or what i would do) is use the enumerate thru all the active windows and see if another instance of your app is in the list ... if it is just terminate gracefully from the second instance
Suspicious | :suss:

---
"every year we invent better idiot proof systems and every year they invent better idiots"
GeneralRe: Only One Instance to be opened... Pin
Manfred Ramosch6-Mar-01 12:44
Manfred Ramosch6-Mar-01 12:44 
GeneralRe: Only One Instance to be opened... Pin
l a u r e n6-Mar-01 20:38
l a u r e n6-Mar-01 20:38 
GeneralRe: Only One Instance to be opened - alternative Pin
.::RockNix::.6-Mar-01 21:15
.::RockNix::.6-Mar-01 21:15 
GeneralRe: Only One Instance to be opened - alternative Pin
l a u r e n6-Mar-01 22:51
l a u r e n6-Mar-01 22:51 
GeneralRe: Only One Instance to be opened - alternative Pin
.::RockNix::.7-Mar-01 2:24
.::RockNix::.7-Mar-01 2:24 
GeneralRe: Only One Instance to be opened - alternative Pin
James R. Twine7-Mar-01 3:46
James R. Twine7-Mar-01 3:46 
GeneralRe: Only One Instance to be opened - alternative Pin
.::RockNix::.7-Mar-01 4:22
.::RockNix::.7-Mar-01 4:22 
GeneralRe: Only One Instance to be opened - alternative Pin
James R. Twine7-Mar-01 5:39
James R. Twine7-Mar-01 5:39 
GeneralRe: Only One Instance to be opened... Pin
James R. Twine7-Mar-01 3:34
James R. Twine7-Mar-01 3:34 
QuestionWhy does Seek fail in ADO, even though it should support it? Pin
Brendan Tregear6-Mar-01 11:28
Brendan Tregear6-Mar-01 11:28 
AnswerRe: Why does Seek fail in ADO, even though it should support it? Pin
l a u r e n6-Mar-01 11:49
l a u r e n6-Mar-01 11:49 
GeneralMmmm, I suspect you're right... (n/t) Pin
Brendan Tregear6-Mar-01 12:15
Brendan Tregear6-Mar-01 12:15 
GeneralPLEASE HELP: debug_assertion in property page creation Pin
Joan M6-Mar-01 7:45
professionalJoan M6-Mar-01 7:45 
GeneralRe: PLEASE HELP: debug_assertion in property page creation Pin
6-Mar-01 11:05
suss6-Mar-01 11:05 
Generalmessage for christian... Pin
l a u r e n6-Mar-01 11:40
l a u r e n6-Mar-01 11:40 
GeneralRe: message for christian... Pin
Christian Graus6-Mar-01 13:49
protectorChristian Graus6-Mar-01 13:49 
GeneralGetting Message problem.... Pin
Richard Cheng6-Mar-01 6:55
Richard Cheng6-Mar-01 6:55 

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.