Hi All, How to convert a Binary tree to Circular linked list? Any help would be appreciated. With Regards, A.Ilamparithi.
Ilamparithi
Posts
-
Convet Binary tree to Circular linked list -
Doubt in Class!Hi All, What are the routeable members of a class? With Regards, A.Ilamparithi.
-
Doubt in Filter Driver!Hi All, I need to develope a filter driver in 2000. At the driver level, i need to know which files are opened, read, written and closed. While i try to do this, Iam not able to get the full file name. I mean, iam getting the file name without the Drive Name. Eg. If the file opened is C:\New\xx.txt, Iam getting the file name as \New\xx.txt. Iam getting this info from File_Object's filename. Also, for a mapped drive iam getting the drive name properly! How to get the drive name correctly for other drives? With Regards, A.Ilamparithi.
-
Database!Hi All, How to verify whether the SQL username and password are valid and have the previledge to create the database. Regards, A.Ilamparithi.
-
Ping!!!!Thanks Mr.Prakash. But, the source code you specified is using socket commands like gethostbyname,WSAStartup... With Best regards, A.Ilamparithi.
-
Ping!!!!Hi, Is there a way to make a clean icmp ping (no shell command or winsock connect to unused ports) ??? With Best Regards, A.Ilamparithi.
-
Doubt ! TAB Messages from child dialog is not going to child dialogs message queue!Hi, TAB Messages from child dialog is not going to child dialogs message queue,but it is to the parent windows!! So whenever TAB is pressed parent window gets the focus. How to get the control to the child dialog itself! With Best Regards, A.Ilamparithi
-
Doubt ! Creating Service!Hi, Is it is possible to create a interactive thread or process from a interactive service? With best Regards, A.Ilamparithi
-
Edit Control!! Doubt!!Hi, What is nChar?? I am not able to catch the WM_CHAR message. Control is not coming there. Instead it is going to WM_COMMAND. How to do it? With Thanks, A.Ilamparithi
-
Edit Control!! Doubt!!Hi All, Win32 console based application How to lock a Edit control such that it accepts only AlphaNumeric datas? I tried to get WM_COMMAND and then EN_CHANGE, and remove the invalid data and placed it back in the Edit control by using Sendmessage and SetDlgItemText. But, the cursor moves to the begin of the Edit control? How to move to the cursor back to the end of the text in the Edit Control?? Or else, is there is any other way to do that? With Best Regards, A.Ilamparithi
-
Doubt in SHFileOperation !!!Hi I tried with full pathname only like the one you mentioned above. eg. SHFILEOPSTRUCT shFileOp; ZeroMemory(&shFileOp, sizeof(SHFILEOPSTRUCT)); _TCHAR *p="c:\\temp\\temp1\\192.168.1.133"; shFileOp.hwnd=NULL; shFileOp.wFunc=FO_DELETE; shFileOp.pFrom=p; //shFileOp.fFlags=FOF_SILENT/*|FOF_NOCONFIRMATION*/; SHFileOperation(&shFileOp); Regards, A.Ilamparithi
-
Doubt in SHFileOperation !!!Hi All, Iam not able to delete a directory, which has more than three dot(.)s in its name using SHFileOperation. But iam able to delete directory will two dot(.)s. Why this happens? Eg. Iam able to delete directory named "1212.1212". But, Iam not able to delete directory named "192.168.1.133". I get message as "Cannot delete file: cannot read from source file or disk". but the directory is present. How can i delete this directory?? Is this due to Dos Name problem?? With Best Regards, A.Ilamparithi
-
doubt in STL - MAP???Hi All, After all the datas are insert to the MAP, is it is possible to re-sort the MAP using some other key ?? With Best Regards, A.Ilamparithi
-
Basic question on Pointers!!Hi, Whenever a pointer is not allocated, something like this, CClass *myObj; It is pointing to some address like 0xccddff. I know that the address is junk. Why it is always like 0xccdeff or 0xdeffcc?? Why it is not like 0x102033?? So, before allocation of memory it is pointing to some place, which is junk. But, where is that junk area? or which is the area used where the not allocated pointer points to? Best Regards, A.Ilamparithi
-
Simple question -Urgent!-Hi, Get the Local host name and use Netbios call to get Domain name. Iam not sure whether Netbios will return Workgroup name... Anyway, check out it... It will be helpful!! Best Regards, A.Ilamparithi
-
A Stupid doubt????Hi, What is the difference between BOOL and bool?? Best Regards, A.Ilamparithi
-
Writting Antivirus program in VC++Hi All, How to write a antivirus program in vc++.. Regards, A.Ilamparithi
-
Explain to me Net Bios Names!hi check this one out.... // GetMACUuid.cpp : Defines the entry point for the console application. // // Author: Khalid Shaikh [Shake@ShakeNet.com] // Date: April 5th, 2002 // // This program fetches the MAC address of the localhost by creating a UUID // and obtaining the IP address through that // // Prewindows 2000 one should replace the function below // UuidCreateSequential with UuidCreate // Microsoft decided that it was not wise to put the MAC address in the UUID // hence changed the algorithm in Windows 2000 and later to not include it. // // Supported in Windows NT/2000/XP // Supported in Windows 95/98/Me // // Supports single NIC card. #include "stdafx.h" #include #include #include #pragma comment(lib, "rpcrt4.lib") // Prints the MAC address stored in a 6 byte array to stdout static void PrintMACaddress(unsigned char MACData[]) { printf("MAC Address: %02X-%02X-%02X-%02X-%02X-%02X\n", MACData[0], MACData[1], MACData[2], MACData[3], MACData[4], MACData[5]); } // Fetches the MAC address and prints it static void GetMACaddress(void) { unsigned char MACData[6]; UUID uuid; UuidCreateSequential( &uuid ); // Ask OS to create UUID for (int i=2; i<8; i++) // Bytes 2 through 7 inclusive are MAC address MACData[i - 2] = uuid.Data4[i]; PrintMACaddress(MACData); // Print MAC address } int _tmain(int argc, _TCHAR* argv[]) { GetMACaddress(); // Obtain MAC address of adapters return 0; } Best Regards, A.Ilamparithi
-
Explain to me Net Bios Names!Hi, Have a look at this site... http://www.inetcat.org/software/nbtscan.html I think it will answer ur questions. Best Regards, A.Ilamparithi
-
Explain to me Net Bios Names!Hi Look at this http://www.microsoft.com/windows2000/en/server/help/default.asp?url=/windows2000/en/server/help/sag\_TCPIP\_und\_nr\_NetBIOS.htm and http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q163/4/09.asp&NoWebContent=1 It will say the story. Best Regards, A.Ilamparithi