Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bkowlagi

    Tools required for Code checking and testing

    Pricing for PC-Lint A one PC workstation license is $239 A 10 user LAN license is $1500. Each additional user is $120. See our PC-lint LAN page for details." I was looking for something free and maybe not as powerful as above.
  2. bkowlagi

    Tools required for Code checking and testing

    Are there any free tools for source code checking/profiling and testing for VC++/MFC/Win32 API code? Are there any tools for .NET as well? I am currently trying to use NUnit for testing? I couldn't find any versions of Lint for VC++... Any suggestions will be helpful....
  3. bkowlagi

    How to do communication with another computer using TCP/IP

    I want to know how to receive and read packets sent to my machine using TCP/IP. How can use WinSock functions to do this? Are there any links which show how to do socket programming in Win32 API?
  4. bkowlagi

    How to detect delete keypress in a form control

    I have this datagrid on a form. now if the user clicks on the leftmost column of the row and presses the Delete button the row gets deleted. I want to trap the delete key and set keyascii = 0. but there is no ascii code for delete key. How do i do it? P.S. I have the same problem in VB.NET as...
  5. bkowlagi

    Regular expression in files

    Yep, the reg exp worked. I was just looking at some Perl code for regular expressions. Since I intend to use a lot of them the next few days just to build some useful tools. I was wondering if Perl was better of should I stick to C/C++ using those regular expression libraries at boost.org
  6. bkowlagi

    Regular expression in files

    examples for the kind of strings are 000123* 019833* 021375* and so on in different lines. now i tried a regular expression like 0 + [0-9] + [0-9] + [0-9] + [0-9] + [0-9] + note: i need to match the asterisk char and not use it as a wild card. this gave me very strange results like...
  7. bkowlagi

    Regular expression in files

    I probably think there has been a post on something similar to this but I am unable to find it. Anyway here's my problem. I have to search for a string in a text file which is like "0?????*" in a line and then copy that line into a new file.The ? marks are wildcard characters which...
  8. bkowlagi

    XML DOM in VB 6.0

    I am able to read the XML file and get the nodes and attributes I want. The problem is when I try to change the value of an attribute node. All XML parsers or writers are only concerned about XML syntax, never the values of nodes or attributes. You can have any value within quotes. All I want...
  9. bkowlagi

    XML DOM in VB 6.0

    I am trying to manipulate a XML DOM document using the DomDocument40 object that comes with MSXML 4.0 Right now I am able to read information of the nodes and attributes using the IXMLDOMELEMENT object. However when I try to write to the attribute using '.setattribute' it seems like the format...
  10. bkowlagi

    XML DOM in VB 6.0

    I am trying to manipulate a XML DOM document using the DomDocument40 object that comes with MSXML 4.0 Right now I am able to read information of the nodes and attributes using the IXMLDOMELEMENT object. However when I try to write to the attribute using '.setattribute' it seems like the format...
  11. bkowlagi

    Auditing software....

    I would like to know what are the commercial/free software available for performing a Hardware/Software inventory audit and generating reports for systems on a network. Are there any websites which compare/benchmark different Audit software suites? Thanks.
  12. bkowlagi

    Unexpected end of file when reading

    Yep, Idea is good and tried it. But, the code inside the if(bytesread==-1){} structure is not executed as read() function is returning 0 to the bytesread variable. This probably means that in the file read() is encountering an EOF character where it is not supposed to be. Here are some...
  13. bkowlagi

    Unexpected end of file when reading

    the three char should have been '└ ↕'
  14. bkowlagi

    Unexpected end of file when reading

    Well, I did think of writing the whole file into a buffer. but then having a 64K buffer would be a bit huge. Anyway as you say even if I try to read the whole file into a single buffer I will be reading only upto those three characters '¦¦ ¢Õ' and I will still get the same error. By the way...
  15. bkowlagi

    Unexpected end of file when reading

    It is not a compile time error, it is a run-time error. The 'Unexpected end of file' is a message I am printing in the Readtobuf() function in the following line fprintf(stderr, "%s: Unexpected end of file\n", prefix); Guess I should have used a different message.
  16. bkowlagi

    Unexpected end of file when reading

    I have this file dump.txt which is always 64K in size. Now I am reading in 16 bytes at a time from this file into a buffer and then doing some comparisons. I am using the read function to read the bytes. This works fine for some time and then all of a sudden there is this error for which I am...
  17. bkowlagi

    Accessing a specific memory location

    I have also tried to access memory beyond my process space. The address I tried to access were 0xE0000 and 0xF0000 this where the system copies all the bios information. Under Unix you can treat memory as a file device and open it as /dev/mem Protected Mode OS like Windows will not allow...
  18. bkowlagi

    Trying to read physical memory in windows.

    I am aware of retrieving data out of WIN32_BIOS, but it is SMBIOS I am specifically interested in. I tried using the following code //code begin NTSTATUS status; HANDLE physmem; status = NtOpenSection( &physmem, SECTION_MAP_READ, &attributes ); if(...
  19. bkowlagi

    Trying to read physical memory in windows.

    Ok. What I am basically trying to do is search for a string "_SM_" that occurs between the memory locations as told before. Once I get the address of this string then I can get other details about the SMBIOS structure which is what I am actually after. I know I am looking at memory...
  20. bkowlagi

    Trying to read physical memory in windows.

    I have this piece of code written for Unix which I am trying to port to Windows. The code is as follows. int fd; off_t fp = 0xE0000; const char *devmem = "/dev/mem" fd = open(devmem, O_RDONLY); lseek (fd, fp, SEEK_SET); In UNIX you can treat memory as a file device but can this be...

Part and Inventory Search

Back
Top