Click here to Skip to main content
15,922,007 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SMPP Pin
johnalek22-Jun-06 1:05
johnalek22-Jun-06 1:05 
QuestionDatabase problem Pin
gentleguy21-Jun-06 23:36
gentleguy21-Jun-06 23:36 
AnswerRe: Database problem Pin
Hamid_RT21-Jun-06 23:44
Hamid_RT21-Jun-06 23:44 
Questionsocket trouble? Pin
mohanrajh21-Jun-06 22:58
mohanrajh21-Jun-06 22:58 
AnswerRe: socket trouble? [modified] Pin
Moak25-Jun-06 0:38
Moak25-Jun-06 0:38 
QuestionDoubt regarding hPrevInstance Pin
NiceNaidu21-Jun-06 22:52
NiceNaidu21-Jun-06 22:52 
AnswerRe: Doubt regarding hPrevInstance Pin
_AnsHUMAN_ 21-Jun-06 22:59
_AnsHUMAN_ 21-Jun-06 22:59 
GeneralRe: Doubt regarding hPrevInstance Pin
NiceNaidu21-Jun-06 23:13
NiceNaidu21-Jun-06 23:13 
_AnShUmAn_ wrote:
Before registering a window class, source code for Windows 3.x normally tests hPrevInstance to see whether another instance of the application is already running


So , In 16 - bit Windows there is no registration of window class. Which was introduced in Win 32 ,which lets us know about the Previous Instance of an application.. Am I right ??

I have few more doubts ..

When we run an application for the first time the window class gets registered.
suppose if second instance of application is created .will the registration of the class takes place again ??
if so, Is the registered class name same as that of first instance.

_AnShUmAn_ wrote:
The hPrevInstance parameter is always passed NULL in Win32. This causes each instance of an application to act as though it were the only instance running


Can u explain this in more detail ???

Any how , Thanks a lot for u r reply.

Thanks again.



Appu..
"If you judge people, you have no time to love them."
GeneralRe: Doubt regarding hPrevInstance Pin
_AnsHUMAN_ 21-Jun-06 23:28
_AnsHUMAN_ 21-Jun-06 23:28 
AnswerRe: Doubt regarding hPrevInstance Pin
FarPointer21-Jun-06 23:03
FarPointer21-Jun-06 23:03 
AnswerRe: Doubt regarding hPrevInstance Pin
NiceNaidu21-Jun-06 23:23
NiceNaidu21-Jun-06 23:23 
Questionstatic member initialization order fiasco Pin
Tnarol21-Jun-06 22:51
Tnarol21-Jun-06 22:51 
AnswerRe: static member initialization order fiasco Pin
Steve S21-Jun-06 22:54
Steve S21-Jun-06 22:54 
GeneralRe: static member initialization order fiasco Pin
Tnarol21-Jun-06 23:02
Tnarol21-Jun-06 23:02 
GeneralRe: static member initialization order fiasco Pin
Steve S22-Jun-06 0:19
Steve S22-Jun-06 0:19 
AnswerRe: static member initialization order fiasco Pin
Cedric Moonen21-Jun-06 23:28
Cedric Moonen21-Jun-06 23:28 
GeneralRe: static member initialization order fiasco Pin
toxcct21-Jun-06 23:36
toxcct21-Jun-06 23:36 
GeneralRe: static member initialization order fiasco Pin
Cedric Moonen21-Jun-06 23:40
Cedric Moonen21-Jun-06 23:40 
GeneralRe: static member initialization order fiasco Pin
toxcct21-Jun-06 23:43
toxcct21-Jun-06 23:43 
GeneralRe: static member initialization order fiasco Pin
Cedric Moonen21-Jun-06 23:50
Cedric Moonen21-Jun-06 23:50 
JokeRe: static member initialization order fiasco Pin
toxcct21-Jun-06 23:52
toxcct21-Jun-06 23:52 
GeneralRe: static member initialization order fiasco Pin
Tnarol22-Jun-06 1:06
Tnarol22-Jun-06 1:06 
GeneralRe: static member initialization order fiasco Pin
Cedric Moonen22-Jun-06 1:48
Cedric Moonen22-Jun-06 1:48 
GeneralRe: static member initialization order fiasco Pin
Tnarol22-Jun-06 1:57
Tnarol22-Jun-06 1:57 
AnswerRe: static member initialization order fiasco Pin
Weiye Chen22-Jun-06 0:18
Weiye Chen22-Jun-06 0:18 

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.