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.
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....
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?
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...
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
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...
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...
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...
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...
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...
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.
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...
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...
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.
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...
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...
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(...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.