Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Joe OConnor

@Joe OConnor
About
Posts
14
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to make an Incomming connection
    J Joe OConnor

    In WinXp/2k (using c/c++) is it possible to setup an Incomming Connection and delete at a later date, to allow a mobile device to connect to the PC. I know it is possible via the Network Connections properties, but I need to do it in code, as the program should only allow incomming connections at certain points in the program. (See http://www.microsoft.com/windowsxp/home/using/productdoc/en/default.asp?url=/windowsxp/home/using/productdoc/en/howto_conn_direct.asp[^] for more info). Any help atall would be nice.

    C / C++ / MFC c++ com sysadmin help tutorial

  • Embarressed ...
    J Joe OConnor

    Welcome to life here in Belfast/Norn Iron. It's a good job you didn't eat in at the Northern Whig - as the prices are a bit extreme. Joe.

    The Lounge learning

  • Win2k Keyboard Port
    J Joe OConnor

    In our EPos program (running on a Win98 computer), I am using the "_inp" and "_outp" functions to get the status of the Credit Card reader (attached to the Keyboard). The commands are: Keyboard Status Enquiry _inp(0x64); Enable Card Reader _outp(0x60, 0xd3); Disable Card Reader _outp(0x60, 0xd4); These commands always crash the Win2k machine, I guess it has something to do about reading/writting to an address. So is there a LEGAL (or EASY) way of reading/writting this data to the Keyboard port on a Win2k machine, or is the keyboard located at a different port ?. Any help would do - honest.

    C / C++ / MFC help question

  • What WinCE device do you use?
    J Joe OConnor

    > Are they sturdy? Yup, they are ruggedised, and have a drop spec of about 1/1.5 metre (+ water and shock resistant). The scanning engine is from Symbol. > What price range is it in? Dunno, I just program them. The one we got was just for evaluation, plus the unit has not been released officially by Fujitsu yet, the full version will also have wireless lan built in (well thats what they said). I would assume it would be about £1500+, cause another of the CE terminals I program also has a built in laser scanner (Casio IT-700) and it is about £1200. Joe.

    The Lounge java question

  • What WinCE device do you use?
    J Joe OConnor

    We just got a new device in at work, a Fujitsu TeamPad 500. It's a bit bigger than the iPaq but has a numeric keypad, 70mm thermal printer, barcode scanner and a credit card swipe. Cool machine even if it has a monochrome screen (the colour aint released yet). Joe.

    The Lounge java question

  • VC1.52 and VC6.0 on same PC?
    J Joe OConnor

    It installs and works OK, I needed it for some work on a DOS based Hand Held Terminal. My Win2k machine aint got IE6, but I can't see that giving it grief. Joe.

    The Lounge question

  • Home theater systems
    J Joe OConnor

    Look at Bang & Olufsen (even to drool over). A tad on the dear side but the sound and picture quality are fantastic. I've had my B&O for the over 2 years and it still never fails to astound anyone who walks into my room. http://www.bang-olufsen.com For my setup: http://www.bang-olufsen.com/product\_frame.php?product=12 Joe.

    The Lounge question

  • Ireland
    J Joe OConnor

    Mainly Protestant area has a Catholic school in it, words were said outside the school little fight led to big fight with the police stuck in the middle. As it is coming up to the marching time of year (Drumcree etc) temperatures are a bit raised, and things are going to get worse - as David Trimble is threating to resign. This year I'm getting out of here, before all hell breaks loose - again. Joe.

    The Lounge question discussion

  • Dial-Up Server
    J Joe OConnor

    Hi, Is it possible to start/stop the Dial-Up Server process automatically. I have used the RAS functions to create a service that connects to a running Dial-Up server, but is it possible to use these functions to start/stop the actuall server. The registry key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\CallAccess changes when the Dial-Up Server is started manually if this is of any use!!. Thanks. Joe.

    C / C++ / MFC sysadmin windows-admin

  • SetWaitableTimer
    J Joe OConnor

    In my current project I have to run a procedure at a specific time during the night. For this I am using the "SetWaitableTimer" function (see code below). This code runs perfectly on a Win2K machine. But on a Win98 machine, it looses 3 Seconds per minute. ie. If I start it at 12 Midday to run at 12 Midnight (12 Hours difference) then the scheduler will run 36 Minutes late. Any help at all would be usefull. Joe. [Code] HANDLE hScheduleTimer; bool CCashierLogon::StartScheduler() { ... hScheduleTimer = CreateWaitableTimer(NULL, FALSE, NULL); if (hScheduleTimer != NULL) { SYSTEMTIME sysSch; //24/Apr/2001 00:00:00 sysSch.wYear = 2001; sysSch.wMonth = 4; sysSch.wDay = 24; sysSch.wDayOfWeek = 0; //Ignore sysSch.wHour = 0; sysSch.wMinute = 0; sysSch.wSecond = 0; sysSch.wMilliseconds = 0; //Ignore FILETIME ftSch, ftUTC; LARGE_INTEGER liSch; SystemTimeToFileTime(&sysSch, &ftSch); LocalFileTimeToFileTime(&ftSch, &ftUTC); liSch.LowPart = ftUTC.dwLowDateTime; liSch.HighPart = ftUTC.dwHighDateTime; long lPeriod = (1000 * 60 * 60 * 24); //Every 24 Hours if (SetWaitableTimer(hScheduleTimer, &liSch, lPeriod, NULL, NULL, FALSE) == TRUE) { CWinThread *pSchThread; pSchThread = AfxBeginThread(MainScheduler, //Function Name (PVOID)hScheduleTimer, //Handle THREAD_PRIORITY_NORMAL, //Normal 0, //Stack Size CREATE_SUSPENDED); //Create Suspended pSchThread->m_bAutoDelete = FALSE; pSchThread->ResumeThread(); } } ... } UINT MainScheduler(LPVOID pParam) { HANDLE hSchedule; hSchedule = (HANDLE)pParam; while(1) { if (WaitForSingleObject(hSchedule, INFINITE) == WAIT_OBJECT_0) { // //Do Our Midnight Processing Here... // } } return 0; }

    C / C++ / MFC data-structures help

  • Anybody know anything about AutoPC or TruckPC SDK's?
    J Joe OConnor

    The Microsoft WWW site is : http://www.microsoft.com/automotive/ With the two SDK's at : http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/msdn-files/027/001/583/msdncompositedoc.xml http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/msdn-files/027/001/582/msdncompositedoc.xml Hope this helps. Joe.

    The Lounge c++ com hardware question

  • New Version of Application
    J Joe OConnor

    I am writting a PC-POS program that runs 24 hours a day (hopefully). At some point during the night it sends to a designated master PC the sales data for that day. During this time period I would like to check if a later version of the application is waiting to be copied from the master PC. If I use the CopyFile() function it fails because the program is running on the PC-POS unit and so cannot overwrite itself. I was thinking about using WININIT.INI or MoveFileEx() with the MOVEFILE_DELAY_UNTIL_REBOOT flag, but I realy do not want to reboot the machines (16 shops with upto 4 PC-POS units in each shop). So how would I go about starting the new version of the application without restarting the machine. Thanks in advance. Joe.

    Article Writing sales announcement

  • Palm PC Keyboard
    J Joe OConnor

    Do I need to link in some library because when I compile the sample I get the following error: -- Deleting intermediate files and output files for project 'TestCeDlg - Win32 (WCE SH3) Release'. --------------------Configuration: TestCeDlg - Win32 (WCE SH3) Release-------------------- Compiling resources... Compiling... StdAfx.cpp Compiling... TestCeDlg.cpp TestCeDlgDlg.cpp Generating Code... Linking... TestCeDlgDlg.obj : error LNK2001: unresolved external symbol _SHSipInfo WCESH3Rel/TestCeDlg.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. TestCeDlg.exe - 2 error(s), 0 warning(s) -- Thanks for your help so far. Joe.

    C / C++ / MFC help

  • Palm PC Keyboard
    J Joe OConnor

    I am using a HP-Jornada 420 Palm/PC and was wondering if it is possible to display the QWERTY keyboard (the one at the bottom of the screen) when I set focus on an edit box (or if the user presses an onscreen button). I thought I saw a function call to display/hide the keyboard, but I can't find it - anybody help. Joe.

    C / C++ / MFC help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups