Checking user ID from within a Delphi application
Question: How can I check the user ID from a Delphi Application?I need to allow only some users access to certain menu items, or limit the option available to users
Question: How can I check the user ID from a Delphi Application?I need to allow only some users access to certain menu items, or limit the option available to users
Question: I am puzzled at the way in which the assignment operator is overloaded in C++. Would you please show an example as to what efficient code for overloading this
Question: How can I access my comport? How can I send bytes to the datatransfer pin? I’m using Delphi 1.0I’ve tried writecomm and transmitcommchar (and I’ve opened the port with
Question: How can I dynamically declare a 2D array and pass it as a parameter to a function?Here’s an example of what I’m trying to do:#include #include #include const SIZE
Question: I want to create paradox-type tables at runtime, which I am generally doing in this way:Table1.FieldDefs.Add(‘IDnum’, ftInteger, 0, False)….Table1.CreateTableHowever, there seems to be no FieldType for an auto-increment number
Question: I wasn’t able to find out what all the command line switches for dbexport do. The only ones I found were -o and -c.Is there a way to export
Question: Can static variables (of a class) be accessed and modified by any member function (static/otherwise) of that class?Also, what are the typical instances of having a static function in
Question: I have two enumerated types: enum suit_type{club,diamond,heart,spade} and enum rank_type{ace,two,…,queen,king}. In structure CARD, I have the variables suit_type suit and rank_type rank. In class PILE, I have a private
Question: Is it reliable to mix cout statements withfprintf statements in the same C++ code ifcout.sync_with_stdio() is used? Does thiscreate one single buffered file I/O stream? Answer: In general, there