May 30, 2000

Extending Error Object

Question: I want to create a system error object that will take care of system errors and database errors. Should I inherit it from the error object, or should I create NVO? Answer: One advantage of inheriting from the error object is that you can change the datatype in your

Posting XML to Another Server

Question: I need to post an XML document from one server to another server. Can I use XMLHTTPRequest for this? Answer: Yes, the XMLHTTP Request object can be used to send requests from one server to another, with the caveat that, for performance’s sake, you should upgrade the XML Technology

Function to create a folder/subfolder

Question: How can I write a function in C++ that would create a folder/subfolder on the hard-disk? Answer: Standard C or C++ don’t define such a function. However, most platforms (Win32, Unix) provide the function mkdir() for this purpose. Consult your compiler’s online help for the exact specification of this

ASP Integration to Legacy Database Using XML

Question: I am trying to develop an MSSQL ASP application that ties real-time into customer’s existing databases at remote locations. The customers use everything from IBM mainframes to SQL or Oracle, and the data needs to flow both ways. Is XML the best fit for this application? Are there any

Data Conversion

Question: What is the most efficient method of converting Informix data in a Unix operating system to text or dbf data in an NT operating system (size = 8GB)? Answer: Use dbexport to export all of the data in the database. It will output a series of text files delimited

Is Informix ANSI ?

Question: I have three quick questions: Is the Informix standard ANSI? Does it accept the function CAST()? What is the largest size char that I can declare? Answer: Informix conforms to ANSI SQL-92 Entry Level, withsome support for advanced features. There is no CAST() function. The maximum character size according

A macro returning the current function’s name

Question: Is there a macro that returns the name of a function which calls the macro? If not, how can I define such a macro? Answer: Yes and no. The newly approved C99 standard defines the reserved variable __FUNCTION__ as the name of the current function. However, only few compilers