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.
Question: I created a class such as this: class foo { int a; int b; char *atext; float anum; int c;public : void set_a(int newa); int get_a(); void set_b(int newb);
Question: I am just beginning to learn C++ and I’ve stumble on an error that I cannot figure out despite all my efforts. Here is the code where I’m having
Question: I’ve created a console C program that has parameters input on thecommand line and would like to create a Java application that selectsthe parameters and calls the C program
Question: I have an Access database in which I would like to place a tree menu in a form. In this tree menu you would be able to make a
Question: I am trying to use additem to make an addition during a dragdrop event into a list from a textbox. I tried the code: ListName.AddItem = TextName.TextTextName.Text = “”
Question: How do I overload the ++ operator to work with an enum variable? For example, I defined SuitType to be {Heat, Club, Diamond, Spade}. I want to use s++
Question: I’m a team leader, I’d like to disable new and delete, so others can’t call these functions, is there a good way to do it? Answer: You can’t really
Question: I heard someone saying that C++ standardization does not allow pure virtual destructors not to have a definition. As far as I know, this is not true. Could you
Question: As a developer new to C (I’m using Borland C/C++ version 5), I am trying to understand the method of linking *.c and *.h files within an application. First
Question: How can I compile a Java application’s class files into a standaloneexecutable file without using a commercial native code compiler and atthe same time keep it platform independent? Answer:
Question: I want to know how to run more than one application under one VM. Iam developing some Java servers, but I don’t want 10 JVMs running whenonly one is
Question: How can I use buffered I/O Object streams over a socket and guaranteetransmission even when the packet object is smaller than the buffersize? I want the efficiency benefits of
Question: How do I copy files from point A to point B from within my ASP page? After I have used the file that has been transferred to point B,
Question: Here is a snippet of my code: set conn = Server.CreateObject(“ADODB.Connection”)conn.open “gorillaclasses”set rs = Server.CreateObject(“ADODB.Recordset”)stmt = “SELECT class,time,instructor FROM ” & clubtable rs.open clubtable, conn, adOpenStatic,,adCmdTable %>rs.filter = “dayslot
Question: Could you please elaborate on the difference between working in a Javaapplet environment and in a distributed client server environment. Answer: Applets can be used to implement client server
Question: Is it possible for an anonymous inner class to extend a class andimplement an interface, or for it to implement two or more interfaces? Answer: The only way an
Question: One of EJB’s obvious design goals was to provide an environment thatcan scale up to meet the demands of enterprise applications. I’mcurious, however, about the other end of the
Private Declare Function GetVolumeInformation& Lib “kernel32” Alias _ “GetVolumeInformationA” (ByVal lpRootPathName As String, _ ByVal pVolumeNameBuffer As String, ByVal nVolumeNameSize As Long, _ lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, _
Private Declare Function GetFileVersionInfoSize Lib “version.dll” Alias _ “GetFileVersionInfoSizeA” (ByVal lptstrFilename As String, _ lpdwHandle As Long) As LongPrivate Declare Function GetFileVersionInfo Lib “version.dll” Alias _ “GetFileVersionInfoA” (ByVal lptstrFilename As
Private Type SYSTEMTIME wYear As Integer wMonth As Integer wDayOfWeek As Integer wDay As Integer wHour As Integer wMinute As Integer wSecond As Integer wMilliseconds As IntegerEnd TypePrivate Type FILETIME
Private Declare Function GetLogicalDriveStrings Lib “kernel32” Alias _ “GetLogicalDriveStringsA” (ByVal nBufferLength As Long, _ ByVal lpBuffer As String) As Long ‘ Check whether a given drive exist’ Note that this
Private Declare Function FindExecutable Lib “shell32.dll” Alias _ “FindExecutableA” (ByVal lpFile As String, ByVal lpDirectory As String, _ ByVal sResult As String) As LongPrivate Const MAX_PATH = 260Private Const ERROR_FILE_NO_ASSOCIATION
Private Declare Function GetDriveType Lib “kernel32” Alias “GetDriveTypeA” _ (ByVal lpRootPathName As String) As LongConst DRIVE_UNKNOWN = 0 ‘ type can’t be determinedConst DRIVE_NO_ROOT_DIR = 1 ‘ wrong argumentConst DRIVE_REMOVABLE
When you use a “DSN-less” data connection to a Microsoft Access database, you must provide the physical path to the database. If your files are kept on your ISP’s Web
Question: Is there a way to track staff holidays using Microsoft Outlook and Exchange? Answer: To track them? That depends upon your definition of tracking, I suppose. The way that
Question: I need to remove a drive from a Microsoft Cluster Server. As a result, I have to move the Message Transfer Agent log files, the Directory service database file,
Question: When I use the Outlook 98 Inbox Assistant to “reply to mail sent to me using a specific template,” it starts an e-mail ping-pong/volleying situation when the Internet recipient
Question: I’m creating a database to be used with a Web site. The database contains news stories, which will need to be indexed from a list of keywords that come
Question: I am accessing a database that has two fields that I need to combine. The problem is that the first field is set to hold eight characters. If the
Question: This happened when I issued the NETSTAT command: TCP informix:turbo as2000:1260 CLOSE_WAITTCP informix:turbo as2000:1261 CLOSE_WAITTCP informix:turbo as2000:1262 CLOSE_WAITTCP informix:turbo as2000:1263 CLOSE_WAIT Is this why we can’t get more connections?











