I meant this in ur code. you hav commented this! delete pRecStruct; pRecStruct = NULL; on using this also you face the problem?.
Arun P.
I meant this in ur code. you hav commented this! delete pRecStruct; pRecStruct = NULL; on using this also you face the problem?.
Arun P.
Friend, ur question not clear. Tho i assume u face memory leak problem. and i suggeset watever u doing is rite. that is u delete the pointer and assign it to null. Arun P.
Hi all, I want to post a message to a specific server from windows 7 os. Iam using WTSSendMessage api to post the message. 1. this api takes the handle to the opened server. 2. if i open the handle to my own machine and use that handle to the WTSSEndMessage api, i get the message in my machine. 3. Whereas if i open the handle to anyother machine and if i use the same handle in WTSSendMessage api, the function failing with error message, "Acess is denied.". 4. Also even the firewall is off in the machine where i try to send the message. If anyone know the solution, pls let me know! thanks, Arun P.
Arun P.
Hi, Please check whether ur object is created properly before u call the domodal(). If it is fine, keep the break point in the dialog class's "oninitdialog" function and move forward step by step. I guess the issue would be in any of the controls u have used. Thanks, Arun P.
My pc has Windows 7. Iam creating connection to a terminal server, using WTSOpenServer() API. And with the created handle, if i try to transmit message to any other machine other than mine using WTSSendMessage() API, iam getting the GetLastError() as "RPC server unavailable". can anyone of you pls suggest what would be the solution for this. Thanks, Arun P.