devxlogo

Tip Bank

Implementing the C enum Keyword

Question: I’m porting my C code to Java and would like to know how I would implement the C enum keyword to Java. Answer: There is no convenient mechanism for

MoveFile command (Delphi 32)

Question: The MoveFile command does not work for me with some filenames. An example is as follows :MoveFile(‘C:CIPLINCOMING199702110408440000000000.SAV’, ‘C:CIPLARCHIVE’);yet, if I try to move a file called ‘test.sav’ with the

Delphi will not start after adding component

Question: *Delphi will not start anymore after adding component.*In Delphi 2.01 C/S after compiling a program and then changing the .DCL with Open Library or compiling a new component library

Getting Data Out of an Applet

Question: I have an applet with dialog boxes, text fields and buttons.What can I do with the user input? How do I get it out of the applet?What else can