devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

GetDiskFreeBytes – Determine number of free bytes on disk

Private Declare Function LoadLibrary Lib “kernel32” Alias “LoadLibraryA” (ByVal _ lpLibFileName As String) As LongPrivate Declare Function GetProcAddress Lib “kernel32” (ByVal hModule As Long, _ ByVal lpProcName As String) As

Using SQLMAINT.EXE Command-Prompt Utility

You can use SQLMAINT.EXE command-prompt utility to perform routine database maintenance activities. It can be used to run DBCC checks, to dump a database and its transaction log, to update

Correctly Defining a Function in an Unnamed Namespace

The use of the static keyword is deprecated when declaring objects in a namespace scope; the unnamed-namespace provides a superior alternative. Nonetheless, it is important to know how to define

Be Cautious with Equality Tests on Literal Strings

It is perfectly legal to use of the equality operator to compare literal strings. However, the results might be surprising: bool eq;eq = “Mungojerrie” == “Rumpleteazer”; //not what you expect

A C Renaissance?

The rumors about the obsolescence of C were immature. In fact, some of the latest developments in the software world indicate that C is still a leading programming tool. Linux

Change the SQL Server Configuration Option

You can use sp_configure with RECONFIGURE to display or change server-level settings. However, some configuration options require a server stop and restart to update the currently running value. RECONFIGURE does

Passing More Arguments to a Callback Function

Callback functions have a fixed signature so you cannot alter the number or type of the arguments it takes. For example, the standard qsort() function takes a pointer to a

Greet CC++ , a Parallel Programming Language

CC++ (this is not a typo) is a parallel programming language based on C++. You can find a free CC++ compiler as well as an overview of CC++ features, syntax,

Visit Dennis Ritchie’s Homepage

The homepage of Dennis Ritchie, the creator of C and a coauthor of the legendary The C Programming Language, is probably the best virtual museum of the C programming language.

Catch Exceptions by Reference

Although you can catch an exception by value, as in the following example: catch( Exception except) // by value { //

Posting Two Forms Simultaneously

Question: I have an HTML page containing two forms. One form uploads an image file and needs to have an encryption type set while the other sends a plain set

Using Pointers to Return More Than One Value

Question: Can you show me an example that demonstrates how to use pointers to return more than one variable? Answer: A function cannot return more than one value. However, you

Reading Files on Client Machines

Question: I have to use the Scripting.FileSystemObject in a script on the client side because I have to read a file from the client disk. Because the Scripting.FileSystemObject is not

Change Your Selection Mode

Did you ever want to copy a block of preformatted text or a long concatenated SQL string, but wished that InterDev didn

Improve ASP Performance

You can improve on ASP performance by avoiding the use of server-side #include directives to include large lists of constants. Instead you can use the new tag to import type-library

Choose Consistent Case for Open and Close Tags

Writing well-formed HTML is really quite simple. It has the benefits of markup being unambiguous as well as a way to increase the robustness of the Web, while simplifying and

Navigate Back to the Target

One of the easiest methods to navigate back to the page where they came from is with JavaScript object.property called document.referrer. This document.referrer means the page that referred the current

Setting Timeout for ADO

If you have a data driven Web site, you might provide functionality so that a user can delete records from the database via a Web page. If there are lots

How to Construct Images in Memory

There are many simple images (stripes, hue gradients, fractals, and the like) that can easily be constructed in memory via code. To do so, you need a one-dimensional array to

Exploit Serialization To Perform Deep Copy

The clone() method of java.lang.Object class makes a shallow copy of anobject i.e. a copy that excludes the objects that the to-be-cloned object contains. Therefore, to produce a deep copy