|
Hi Friend !!!
I think maybe i did not type clearly.
Obove part is explanation of tree. ( Data Structure )
Under part is the problem that user input and reselt.
But i do not know how to use C or C++ for writing code.
If you still understand you can ask me.
But if you can do it i'm best regards and glad.
Thanks
Golden012
Golden016
|
|
|
|
|
hi,
I buid a class and export it in DLL and a simple program that use it.
It run OK at Debug mode, but when I am trying to run it (and the program use it) both at release mode, it crash when the DLL class destructor is called.
I can't find any problem at the code.
What can be the problem here ?
Thanks for your help.
|
|
|
|
|
There might be some uninitialized variable. Which goes unnoticed in Debug builds.
Refer this[^] article for better understanding.
|
|
|
|
|
What do you have on destructor of dll?
|
|
|
|
|
Hi everyone,
i use UI-Threads and need to destroy them. If i need the thread anymore, i post a threadmessage to him
with a WM_QUIT. The Thread terminates. But the CWinThread Object is still alive.
A m_bAutoDelete to TRUE does not resolve the problem.
Does anyone has a solution?
Big thanks
|
|
|
|
|
Try to call also AfxEndThread. Still, MSDN states:
Normal Thread Termination
For a worker thread, normal thread termination is simple: Exit the controlling function and return a value that signifies the reason for termination.
You can use either the AfxEndThread function or a return statement.
Typically, 0 signifies successful completion, but that is up to you.
For a user-interface thread, the process is just as simple: from within the user-interface thread, call PostQuitMessage in the Platform SDK.
The only parameter that PostQuitMessage takes is the exit code of the thread.
As for worker threads, 0 typically signifies successful completion.
|
|
|
|
|
I tried already AfxEndThread and PostQuitMessage;
The pointer to the thread has still an adress, all data inside is destroyed, but
Visual Studio told me about a Memory Leak
So, i re-analysed my source code and saw the bad line : an allocation without destruction.
Thanks nevertheless
|
|
|
|
|
Is there any API or registry entry to find the "Virtualized" folder of Vista?
It is seen that the Virtualized is in
D:\Users\admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Virtualized
for the user admin & if Vista installation directory is D:\
|
|
|
|
|
I've asked the shell team that question, and they said no.
|
|
|
|
|
|
((3+7)*8)-5)
tree......(-).....
........./...\....
.......(*)...(5)..
....../...\.......
....(+)...(8).....
.../...\..........
.(3)...(7)........
(7+3)/((2*6)-8)
tree.......(/)
........../...\
.......(+)....(-)
......./ \..../..\
.....(7) (3)(*) (8)
............./ \
...........(2) (6)
/8888888888888888888888888888888888/
If user want to enter:
((3+7)*8)-5)
then user press Enter the result show
Infix: + 3 7 * 8 - 5
Postfix: 3 7 + 8 * 5 -
or user enter other:
(7+3)/((2*6)-8)
result show
Infix: / + 7 3 - * 2 6 8
Postfix: 7 3 + 2 6 * 8 - /
I would like you to help me.
Best regard
Golden012
-- modified at 3:01 Wednesday 27th December, 2006
-- modified at 3:02 Wednesday 27th December, 2006
-- modified at 3:05 Wednesday 27th December, 2006
Golden016
|
|
|
|
|
i m sending a mail using SMTP...
But i want to authenticate my smtp server
can anybody just tell me how to use AUTH LOGIN command in vc++
i m sending HELO Command like this.....
TCHAR local_host[ 80 ];
gethostname( local_host, 80 );
sHello.Format( "HELO %s\r\n", local_host );
m_wsSMTPServer.Send( (LPCTSTR)sHello, sHello.GetLength() );
if( !get_response( GENERIC_SUCCESS ) )
{
m_wsSMTPServer.Close();
return FALSE;
}
after these lines of code i want to authenticate my server
do we paas username n password with AUTH LOGIN command only
Can somebody send me the line of code
aur just explain me the method of doing so
thanxs in advance...
|
|
|
|
|
Hi,
If I remember well when you trying to connect with authenticated server you should use EHLO keyword instead HELO.
Perhaps this helps you: rfc2554[^]
-----------
Mila
|
|
|
|
|
System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction:
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request,HttpResponse response, Boolean& abortProcessing)
this code is written in VC++6.0 using the ATL COM
i am using the saop toolkit 2.0 and also have installed MS XML 4.0 and soap 3.0. soanyone can help me in this matter
thanks
|
|
|
|
|
An appl was created in VC++ 6.0 with MFC Wizard and Database with no file support.
On initializin the appl the following error message pops up.
Too few parameters.Expected 1.
On tracing the error i found in the overriden method OnInitialUpdate() the boldfaced line
void CLibManView::OnInitialUpdate()
{
CEdit *temp = (CEdit *)GetDlgItem(IDC_TYPE);
temp->SetReadOnly();
temp = (CEdit *)GetDlgItem(IDC_PRICE);
temp->SetReadOnly();
temp = (CEdit *)GetDlgItem(IDC_STAT);
temp->SetReadOnly();
m_pSet = &GetDocument()->m_libManSet;
CRecordView::OnInitialUpdate();
GetParentFrame()->RecalcLayout();
ResizeParentToFit();
}
was returnin CDBException. How to solve the error. Otherwise Appl responds ok.
Shouvik
|
|
|
|
|
Have you gone through these[^] possible reasons?
|
|
|
|
|
Yup,
I checked with the number of fields its 13 only as per the manual count and as well as in the variable
m_nFields = 13;
plz help,
Shouvik
|
|
|
|
|
Thanks prob solved;
mismatch in field names;
thanks a lot
Shouvik
Shouvik
|
|
|
|
|
Congrats !
|
|
|
|
|
Hi all,
I embedded webbrowser within my application acting as an HTML viewer.
However, when an HTML page contains invalid scripts , the viewer throws several 'Internet Explorer Script Error' prompt pages, and ask user to click 'Yes', or 'No' in order to continue.
How can i block these dialogs from my application
Please help me
Thanks
vinod
|
|
|
|
|
plz kindly help me in my project
sudhir
|
|
|
|
|
sudhir.marni wrote:
plz kindly help me in my project
you have manually have to check that!
<div class='ForumSig'>"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you </div>
|
|
|
|
|
Iam very thankful to u r reply
here in my project is runing on port no 5060 we have to check whether the my application running or not if it is there required to notify that
|
|
|
|
|
Open a socket on that port and send a hello signal. If the application is running, it should reply to caller with a standard string.
AKA protocol. Figure out one for your internal use, just as HELO on port 25 is the SMTP greeting.
|
|
|
|
|
Dear All,
I need to find frequently that whether remote host is on or off.
How can i do this ?
Thanks.
|
|
|
|