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: *

  1. Dragoon

    Palm on a LAN

    What I'm basically looking for is a wireless TCP/IP connection for a Palm device (or other handheld). Something that would allow me to connect to a wireless hub on a LAN, not to a internet service provider. Kind of a stretch, but this is an unusual application. :) Does anyone have a...
  2. Dragoon

    CScrollBar doesn't work!

    What I have had to do is handle the ON_HSCROLL or ON_VSCROLL messages for the scrollbar. From what I can tell all scrollbars, either dialog controlls you place, or the ones that automatically appear as a part of the view, trigger these messages. When you override the handler the function is...
  3. Dragoon

    Disappearing classes?

    This is a neat "feature" I, and another co-worker, have also encountered with Visual C++ 6.0. What seems to be happening is that when adding a function to the files, VC gets a bit confused and drops the file from the Class Wizard reference. If you look in the file view tab, you...
  4. Dragoon

    Eliminate if-else statements - less bulky code

    A safer method than GOTO, but with a simiar feel is the try/catch blocks. It would look something like this. try { if (s.getType() != NODE::INT ) throw 1; i = s.pop(); if (s.empty()) throw 2; // Output good stuff here } catch (int nError) { // Output error message...
  5. Dragoon

    Serial Port Reading and Writing

    Hi Robertus, This is what I use // Used in all calls to reference the channel after it is created HANDLE hConnection; // Open the port hConnection = CreateFile("COM2", GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL)...
  6. Dragoon

    Sleep, Time delay, Zen Timer?..in need of time accuracy to 1 ms

    One thing I would consider, if you are at all familiar with threads, is put the frequence generator code in a seperate thread, set to time critical priority. Something like this. AfxBeginThread(FreqThreadProc, NULL, THREAD_PRIORITY_TIME_CRITICAL); I have used the QueryPerformanceFrequency and...

Part and Inventory Search

Back
Top