Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jbs
  • Order by date
  1. jbs

    Verification of only valid ASCII Characters in Input Buffer

    Actually that sounds great. I hadn't heard of __isascii before and will try it out. Seems like that will require less lines of code than what I was thinking of....thanks for the time./j
  2. jbs

    Verification of only valid ASCII Characters in Input Buffer

    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,
  3. jbs

    Trigger thread when USB drive inserted / connected

    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...
  4. jbs

    Protecting our s/w against Reverse Engineering

    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...
  5. jbs

    Create 2nd console window for debug data

    My fault...should have said it upfront. Primary application is a non-managed C++ console application (no MFC included). I'd just like to open up a 2nd console for debuging....and route debugging messages to it.... thanks./jbs
  6. jbs

    Create 2nd console window for debug data

    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...
  7. jbs

    Programmatically (c++) change author and/or add keyword to Office Prop

    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
  8. jbs

    Creating custom .lib

    thanks for the terrific explaination! I'll try that today/j
  9. jbs

    Creating custom .lib

    Thanks for your quick response, however if you (or anyone) has a moment my question is really a two part question. First, how do I create a .lib file with a function in it. A reference (url link) would work fine (i've looked through msdn, etc. but couldn't find a clear example) or an example...
  10. jbs

    Creating custom .lib

    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
  11. jbs

    detect 2-3 keys depressed at same time

    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
  12. jbs

    Process versus Standard Application

    How can I create a system process that is started at boot time instead of a standard user VB application? /jerry
  13. jbs

    Change a single label's Font

    Are you trying to change the font within the development environement or in real-time while the application is running? Also, what version of Visual Studio are you using? (Visual Studio 6.0, Visual Studio.NET or Visual Studio 2003....I think these are the most recent versions). Knowing the...
  14. jbs

    Finding list of available/active serial ports

    I forgot to mention: As usual, the best implementation would be a W95 Retail thru WXP/2003 server compatible solution however any suggestions will be most appricatiated.
  15. jbs

    Finding list of available/active serial ports

    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...
  16. jbs

    Difference between _T(" ") & TEXT(" ") also Unicode vs M

    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...
  17. jbs

    shellexecute console output to the heap

    ...); si.cb = sizeof(si); ZeroMemory( &pi, sizeof(pi) ); //Set so stdouput si.dwFlags=STARTF_USESTDHANDLES; HANDLE hHeap; TCHAR *sConsoleOutput; hHeap=GetProcessHeap(); sConsoleOutput=(TCHAR *)HeapAlloc(hHeap,HEAP_ZERO_MEMORY,(sizeof(TCHAR)*MAX_PATH)); //Set so stdouput...
  18. jbs

    shellexecute console output to the heap

    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'...
  19. jbs

    UML Visio Diagram to C++ Code structure

    Is there a tool built into Visio 2002 that will convert my UML diagram into a Visual C++ code structure. /Jerry
  20. jbs

    redirect output to memory/heap

    I'd like the child application to create a process that will store it's output in memory so that the main program can use it. The advantage of it going directly into memory of course is high access speed and I can avoid all issues related to create new files in various places....for starters...

Part and Inventory Search

Back
Top