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
G

glweid

@glweid
About
Posts
17
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Connecting to COM port
    G glweid

    HI My experience is that the emulators do not connect to the COM ports, you must test on a real device. Make sure you get a device that supports RS232 serial connections !! I found out the hard way that some do not ! Dell Axim X5 does and the HP IPAQ 4000 series and above should also. G. Weideman

    Mobile c++ com debugging question

  • How to scroll text in an edit control box in a dialog ?
    G glweid

    John Thanks but I have the want return, vertical scroll and AutoVScroll set and the text does not scroll. I snapshot the text already in the Edit Box (if any) with GetDlgItemText(hWnd, IDC_EDIT3,textBuff,1024), then add the new text to it and use SetWindowText(hWnd,IDC_EDIT3 ,textBuff) to display the text to IDC_EDIT3. The Vertical Scroll Bar is being updated (it changes size) but I cannot move it and the text is not scrolling down. Any other ideas ? Thx G. Weideman

    Mobile question tutorial

  • How to scroll text in an edit control box in a dialog ?
    G glweid

    I have an Edit Box in my dialog that I write various text into. When the text is larger than the Edit Box I want it to scroll. I added vertical scrolling to the properties and the bard appears OK but it is non-functional. Also when the text goes past the Edit Box size it does not scroll. How can I get scrolling to work ?? Thanks G. Weideman

    Mobile question tutorial

  • Hw do I setup a direct pc2pc connection on COM port ??
    G glweid

    I'm porting an existing NT application to Pocket PC. On NT/XP I setup a direct pc to pc connection type for the application to establish a PPP connection via RasDial() and then connect a socket to get TCP/IP up. I would like to use port the existing code but on the Pocket PC connection settings there is no direct connection allowed, only a Hayes Compatible modem option which dictates I need a modem connected to the COM port. Is there anyway to setup a direct connection or change the RasDial() settings to use a VPN connection to the COM port to setup PPP ??

    Mobile com question workspace

  • How to get emulator to setup socket connect via serial port ?
    G glweid

    I'm a newbie trying to develop a client application to connect via a socket to a device connected on COM1. If I connect to a server on my host machine the standard SDK emulator connects OK. When I specify the device IP address that is connected to COM1 and try to connect to it, the emulator fails to connect. Any help is appreciated !

    Mobile sysadmin help tutorial question workspace

  • eVC++ 4.0 can't find process.h and iostream.h files
    G glweid

    Hi, I'm trying to port an existing VC++ 6.0 code to eVC++ 4.0 and the compiler cannot find the file and I tried changing to to no avail Any help is appreciated. THX! G. Weideman

    Mobile c++ help

  • How to get Dialog window to show updated value ?
    G glweid

    I have a derived Dialog class - CGeneralStatus that has a CString variable. If I set the string before I create the CGeneralStatus dialog it is displayed OK. When I set this string to different value the value in the window does not get changed. Even if I close and reopen the dialog window the value does not change. Any input is greatly appreciated ! ------------------------------------------------------------------------ Application code: void CFV3TaskMonApp::OnGeneralstatus() { if(IsShowingGeneral()) { HideGeneral(); } else { ShowGeneral(m_pMainWnd->GetActiveWindow()); } } void CFV3TaskMonApp::ShowGeneral(CWnd* parent) { if (!::IsWindow(*m_generalStatus)) { m_generalStatus->Create(IDD_GeneralStatus, parent); } m_generalStatus->GeneralChanged(); // update the string m_generalStatus->ShowWindow(1); } Code snippet to update the string value before calling ShowWindow(1): void CGeneralStatus::GeneralChanged() { CString out; out.Format("%d",m_app->m_numConnections); m_connAttempts = out; if (::IsWindow(this->GetSafeHwnd())) { ::PostMessage(this->GetSafeHwnd(),UWM_STATUS_UPDATEGENERAL,0,0); } }

    C / C++ / MFC tutorial question announcement

  • How do I get the Main Window in a thread ?
    G glweid

    Hi, I have an SDI that spins off a thread. How can I get access to the window (GetMainWnd) and also pass variables from my CWinApp derived class to the thread ? Thanks !!

    C / C++ / MFC question

  • How do I output text to my main SDI window ?
    G glweid

    I increased by buffer size to 4096 when receiving data and the memory errors are gone. How can I get the cursor to stay at the bottom of the window ?? Thanks Gary

    C / C++ / MFC question

  • How do I output text to my main SDI window ?
    G glweid

    Ravi Thanks, this works but after a while of printing text to the window I get an Out of memory errors. Is there a limit to how much data can be written to the window ?? Thanks Gary

    C / C++ / MFC question

  • How do I output text to my main SDI window ?
    G glweid

    Thanks for the info but I'm getting confused. I have a have a ClientSocket::OnReceive() method that reads a CString from a socket(). I want to print this CString directly to my SDI (CView) window. Do I call OnDraw() from this method ?? Thanks again !

    C / C++ / MFC question

  • How do I output text to my main SDI window ?
    G glweid

    How do you set the hdc ?

    C / C++ / MFC question

  • How do I output text to my main SDI window ?
    G glweid

    David Any example of using TextOut() ? Thanks !

    C / C++ / MFC question

  • How do I output text to my main SDI window ?
    G glweid

    Can you give me an example of how to add it and how to dump to it ? Thanks !

    C / C++ / MFC question

  • How do I output text to my main SDI window ?
    G glweid

    I need to dump data to my SDI window as I read it from a socket. What's the easiest way to do that ? Thanks !!

    C / C++ / MFC question

  • Help - can't get Sever/Client to talk over sockets
    G glweid

    I'm trying to get a very basic Client-Sever app using sockets to communicate (Below are the code snipets). First I start the server, it connects to port 6001 and waits. The client starts up and connects and sends a string, the server accepts the connection and tries to read data into dwValue but I get nothing - they do not communicate after the connection, any ideas why ?? Thanks in advance !! ------------ Server Code: m_sockRecv = new CSocket; CString dwValue; CSocket sockSrv; sockSrv.Create(6001); sockSrv.Listen(); CSocket sockRecv; sockSrv.Accept(sockRecv); CSocketFile file(&sockRecv); CArchive arIn(&file, CArchive::load); CArchive arOut(&file, CArchive::store); arIn >> dwValue; Client Code: CString str = "9"; csocket.Create(); csocket.Connect("localhost",6001); CSocketFile file(&csocket); CArchive arIn(&file,CArchive::load); CArchive arOut(&file,CArchive::store); arOut << str;

    C / C++ / MFC sysadmin help question

  • How do I establish a dial up connection
    G glweid

    I have an application that currethly supports a socket connection but I want to add a Dialog to support setting up a Dial Up connection. What APIs can I use to do that ? Thanks

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

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