Hi, In windows programming all the messages will be placed in the message queue for processing. Let us assume I have a dll which continuously raises events. These events will be placed in the Message queue. Now my doubt is, if the message queue fills , the application will crash. 1)How to handle the scenario... so that my application should not crash. 2) How to find the size of the Message queue. Thanks inadvance.
vc _fragrance
Posts
-
Size of the Message loop -
BSTR variableHi Can you please tell me...what is the wrong in the following code snippet . BSTR abc; abc is having some data in it. Now I need to check whether abc is having empty string. for that I wrote the code like this if( abc ==L"") AfxMessageBox("empty string"); But I receive a compilation error ; Please help me to ressolve the issue. Thanks in advance.
-
how can we find whether a codepane is openedA pane contained in a code window that is used for entering and editing code.
-
how can we find whether a codepane is openedHi, I have a project which contains 3 modules say A, B, C. By double clicking on each module consecutively I opened them in the codepane. Now A's codepane is under B's codepane and B's codepane is under c's codepane. How can I Know whether codepane A is opened. I have a scenario like this in which i want to know whether a codepane is opened. Is there any API function . Please can u help to ressolve the issue. Thanks in advance.
-
How to move to previous statement in VC++ Debugging editorHi _AnShUmAn_ I tried to click the arrow but even I can not place the cursor on top of the arrow. Am using VC++ 6.0 editor.
-
How to move to previous statement in VC++ Debugging editorHi, While debugging in VC++, I wish to goto the previous statement? Is it possible ? if so can you please explain. For example if my cursor is at statement 10 and i want to move to statement 9. Thanks in advance.
-
CPU timeAre you from AP
-
CRecordsetIs this link helpful http://www.codeguru.com/forum/showthread.php?p=1459845#post1459845
-
CPU timeThank you very much Whitesky. I wish you a happy new year.
-
CPU timeHi everybody, Can u please say How can we calculate the CPU time taken by a thread and a process. Thanks in advance,
-
How many threads are there in a MFC application [modified]Hi, How many threads are there in a simple MFC dialog based Application. Thanks in advance. -- modified at 4:07 Tuesday 12th December, 2006
-
How to export a class in a dynamic dllYes Mr.whitesky I practiced the samples and while practicing I got the about. Anyhow thank you very much all of YOU.
-
How to export a class in a dynamic dllHi, I have created a function and a class in a DLL. I want to write a .DEF file instead using __declspec(dllexport) and __declspec(dllimport). I wrote the .DEF file like this.. LIBRARY "Sample.dll" //dll name is Sample.dll EXPORTS Multiply @1 //it is the function name CRectArea @2 //it is the class name and this class contains a //method called subtract Please say how to export that function. and I wrote a client program which uses that dll dynamically. //written globally in the implementation file of client typedef int (CALLBACK* LPFNMLTPLY)(int,int); //** I don't know how to declare that function from the class CRectArea HINSTANCE hClcltr=LoadLibrary("DefExported.dll"); LPFNMLTPLY lpfnMuliply; lpfnMuliply = (LPFNMLTPLY)GetProcAddress(hClcltr,"Multiply"); m_Rslt=lpfnMuliply(m_PartOne,m_PartTwo); //m_Rslt will be displayed //in the message box. FreeLibrary( hClcltr ); //now I want to use the function from class Please can anybody help me. Thanks inadvance.
-
How to move a fileHi, I want to move a file in my system to a remote system. For example I have a file "abc.wav" in my system . Now I want to move this file to another remote system's subdirectory(say "c://xyz"). IP of the remote system say "1.2.0.4". Can anyone help me. Thanks in advance.
-
Can u plz help...Hi WhiteSky, Thanks for u r effort. Actually I am new for Dialogic Api. I am going to work on Dialogic Api within a week.That's why I want to know is there any discussion forum for that and I searched in google.I got a few URL s. But you people might already worked on it and u know well about it. That's why I posted my question here for suggestions and recommendations. Actually right now I don't have any doubt because I haven't started programming. But before going to programming I feel it is better to know the fundamentals of Dialogic Api. You already posted reply with a link and I have gone through it .It is fine.I came to know some fundamentals.But I think it's a pay site. Anyhow whenever I got a doubt I will ask you. Thank you verymuch.
-
Can u plz help...Thank you once again and next time onwards i will take care.
-
Can u plz help...Hi DavidCrow, I know about Google and I searched for the site. I have already registered in codeproject.The most important thing is many of the viewers of codeproject might work with Dialogic api. They might know about the websites. That's why I posted here. In the past u also posted a reply for my question. Thank you and what I am trying to say u is that 'i am not lazy'.
-
Can u plz help...Thank you.
-
Can u plz help...Can you please say , Is there any website like codeproject for dialogic api.I want Dialogic api discussion forums. Thank you.
-
Can u plz help...I don't know why i got error last time.But now it opened. Thank you.