

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.








Multiple inheritance is a powerful and useful feature in C++, but it can lead to a problem known as the DDD or “Deadly Diamond of Derivation”, as in this case:
Question: How can I create a linked list that contains different datatypes? For example: assume that I have Human as a basic class. Man and Woman are two children to
Question: I am writing a program in which I ask it to enter a name, and I want it to say if it is correct. My problem is that it
Question: Can you design an Access97 application to run on a Windows CE machine? Has this been done? By whom? And finally, do you need to create a runtime version
Question: I am trying to write a program that will search memory for a hexadecimal string and replace it with the values hardcoded in my program. It’s a game cheat
Question: I am looking for a way to use VB to connect and retrieve information from a VAX mainframe. The computer has a windows 95 emulation terminal program, and I
Question: This might not be right on topic, but I’m hoping to receive an answer by e-mail. My daughter, eight, has cerebral palsy and can use only her left hand.
Question: What advantages does WinCE have over other handheld palmtop operating systems such as the Newton and others? Answer: Wow! Now that’s a leading question. Here’s the short version of
Question: How do you determine the file size of files which are larger than 2GB? Also, how do you seek into a files larger than 2GB?Thank you Answer: You might
Question: I need to find a way to yield the CPU (for x amount of time) from one event to process another event (for x amount of time) in the
Question: How do I print out a component? Answer: Java 1.1 introduced the java.awt.PrintJob and java.awt.PrintGraphicsclasses. It also added the print(Graphics) and printAll(Graphics)methods to java.awt.Component, and the printComponents(Graphics) methodto java.awt.Container.
Question: How can I run a Java server application as an NT service? Answer: You can run a Java server appliation as an NT service if you use theMicrosoft SDK
Question: I’m writing a class that reads a log file containing timestamps.My StringTokenizer returns the timestamp as a String and I then haveto store it in a date container. Should
Question: Here is one that I couldn’t figure out for months!Will I be surprised if anyone can come up with a solution to this. How do you create a program
Question: I’m reading a book on Java 1.1 that refers to various classesthat do not exist in Microsoft Visual J++ Professional Edition,Version 1.1, which apparently installs V1.02 libraries. How canI
Question: Is it possible to create an ‘always on top window’ in java? Answer: The short and perhaps not so sweet answer is “No.” At least not in 100%Java. You
Question: How can I set the icon image for a java.awt.Dialog like you can fora java.awt.Frame using setIconImage? Answer: Unfortunately you cannot do this. A Dialog inherits the icon of
Question: Is there anyway with java to get a file’s date? Answer: Unfortunately, there seems to be no platform-independent way of doing this.The lastModified() method in java.io.File returns a system
Question: How do I get a tool tip to appear in a java application? Answer: Tool tips were not a part of the AWT packages in the 1.0.2 and 1.1releases
Question: Is there a way to open a file for writing in append mode? Answer: The FileOutputStream and FileWriter classes both have constructors thatwith the following signature (String, boolean). The
Question: How can I implement a “default” button in a window? Answer: You can explicitly request the focus using requestFocus(), but thebutton can still lose the focus. Therefore you have
Question: I am trying to create a class that can be given the pointer to a structure. The class has other means to know what goes into the structure, but
This routine parses a string and returns an equivalent string where all the instances of a given substring are doubled. This is especially useful for doubling quotes within SQL statements
Standard vector dynamically allocates the required amount of memory it needs; which saves you the bother of memory management. However, letting vector acquire additional memory slowly one chunk after another
In large-scale software projects, short and elegant names for types and functions are problematic because they can cause a name conflict, i.e., the same name is used more than once
With JDK 1.1, you can define an action command String for a Button that is independent of the text displayed in the Button. At the least, this enables you to
Question: Is there an API call to find the amount of free system resources in Windows 95? Answer: Good news and bad news, here. Yes, there is. But, no, you
Question: OK, suppose you need to include in a query a string which contains both single and double quotes, for example:UPDATE Books SET Title = “Gulliver’s Travels”I need to save
Question: I’m developing a project that will use H/PCs. But which compilers are available for Windows CE? Answer: Currently, Microsoft is the only vendor offering a compiler for Windows CE.
Question: I’m writing on an OCX Control with VB5. I have a lot of functions in it and I dont want to scare the end user with a lot of