Given a null-terminated char array what is the most efficient method to validate that each byte contains a valid ASCII character (i.e. A-Z, 0-9, CR, LF, ..).
Curious as to opinions here...
thanks,
What is the best and most straight-forward method of triggering a thread when a new USB 'thumb' drive has been inserted into a computer. We are trying to restrict custom backups to only certain 'blessed' USB drives. Any hints on how to either monitor a device list, etc. would be most helpful...
I’ve had several situations come up where software I’ve written has been used without proper licensing. From some reading and research it appears that this was done using a technique called “Reverse Engineering” (RE). The top tools used to perform this seem to be InCtrl5, VMWare (..and other...
I've got an application that I'm building that needs to be debug'ed. Given the data, application, and other factors I think it would be best/easiest to setup a separate console windows that I can send debug text info to while the program is running.
Within the Microsoft Visual Studio.NET...
Need to add a keyword and change the author field, programmatically via C++, of large amount of existing Office files. Very much need to do this via a quick C++ function / application...
Any ideas?
thanks,
jerry
How do I create a .lib file that has some custom functions? How do I then call these individual functions from my program. I'm familiar with how to link the .lib n my VC++ IDE project environement.
thanks/j
How can I detect if 2-3 specific keys are depressed, and held for a few seconds, on the keyboard? I want a thread from my program to trigger an event if this happens? (not including
How do you determine which serial ports are installed and activated via the BIOS on a typical computer. For example, a computer could have two serial communication ports and only have one of them enabled via the BIOS setup menu. Another situation might be that a PCI circuit card has been...
Two quick Unicode related questions:
#1) What is the difference, if any, between TEXT("a string") versus _T("a string")
#2) VS.NET 2003 VC71 configuration question: What is the difference between the configuration setting "Multi-byte character set" versus the...
I'm trying to find a way to send the console output from an application that is run via a shellexecute api.
For example, the below lines of code will do a shell execute that produces a console window that has the time on it (this is just an example...I know how to obtain system time...again it'...
I would like to programmatically start a child program and have its output directed to memory versus the screen. For example, let’s say I want to have the output of the program “ipconfig” be directed into a buffer in memory vice having it display the results on the monitor. I know how to...
I'm sort of new to Borland C++ Builder. I'm using version 6.0 on a workstation that has a 1ghz processor and 1gbyte of RAM.
Something that has become a bit of a pain is that while in the middle of entering/typing code the cursor will suddenly go into a wait state which is represented on the...
A friend gave me some source code that was written using Borland 5.0.
I'm using 6.0 (i.e C++ builder 6.0).
I've got everything loaded and working fine however everytime I open the project I get the below error. All I do is hit 'ok' and the project opens fine. No problems.
My question is...
I have a program that needs to check the workstation task list to make sure that it will be the only instance of the task running.
Basically I'm trying to make sure that the user doesn't accidently start program execution twice by accident.
Let's say my program name is "abc.exe"...
I typically use Visual Studio for my C++ applications but every now and then I have a customer that really needs me to work within the Borland Environment.
I have found that, with some help, I'm able to get around the Borland IDE pretty well and get the job done however I've been a bit...
The below code works great when I need the user to point to a particular file via a standard dialog box. The code that works just fine is:
AnsiString strFilename;
OpenDialog1->Execute;
strFilename=OpenDialog1->FileName;
Question: I'd like a similar dialog box to appear to my user that...
I'm using Borland C++ builder....for the first time.
I'm writing a quick application that will use Borlands standard "Open Dialog" component that will prompt the user with a list of file names to open via a very standard file open dialog box. The file name is returned in AnsiString...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.