December 4, 1998

NT Date Format

Question: I am trying to develop a VB program to interface with a database from a third-party imaging product. The database is SQL Server and the product stores dates as 8-byte binary values (it does not use the SQL Server date format). I’ve spoken with their technical support and they

Key combinations

Question: I’m developing an application for NT 4.0, and I don’t want that a fell key combinations works. So the question is, where can I disable functions such as Alt+Tab and Ctrl+Shift+Esc? Answer: Well, the bad news. First, there is one key combination you can’t trap: Ctrl+Alt+Del. Second, it’s not

DLLs on NT

Question: I’ve written an application that uses external DLLs. It works fine on Win95. When I try to load it on NT, it says it can’t find any of the DLLs required, although they exist physically.How do I solve this problem ? Answer: You really didn’t give me enough information

Partition Windows95 in the Windows NT Workstation

Question: How do I create a partition for Windows 95 in a machine installed with Windows NT Workstation (NTFS)? Answer: First, you CANNOT INSTALL WIN/95 or /98 ON A NTFS PARTITION. End of story. You must have either a FAT or (depending on the version of Win95) FAT32 partition. You

Returning strings from functions

Question: I would like to write a function that receivesan integer and converts this into a string representing the integers value in binary. At the moment I am struggling to get the function to return a string. Do I have to get the function to return a pointer to the

Array of pointers.

Question: I need to pass an array of pointers to a class to a function. The function is: void myFunc(myClass *example[]); The problem is that I need to define the size of this array at run time. I know this is possible with a normal array. For example: int *array;array

Creating a Guaranteed Unique Filename

Question: How can a unique filename be constructed that guarantees that it will be unique across processes? Answer: There is unfortunately no Java 1.1 analog to the POSIX tmpnam() C function, which generates a unique filename, or tmpfile(), which creates a new file with a uniquefilename. But Java 1.2 has

Size of C++ executable

Question: Does one need a runtime DLL for an .exe file written with MFC in Visual C++? Can one make a standalone .exe program with C++ that is small and easily portable? Answer: Obviously, the size of an executable depends on the development tools you use. In the case of

Programming Languages

Question: My company, a strictly a VC++ development group, is considering developing a large real-time database/imaging application in both VB and VC++. What are the pros/cons of doing this, and would you recommend it? (We have little to no VB experience and would have to be trained or hire the

No more posts to show