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
D

Deepa Gopal

@Deepa Gopal
About
Posts
14
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • EVC++ to Flash Comunication....
    D Deepa Gopal

    Hello All, I have an EVC++ program and a Flash program running concurrently in a Pocket PC wherein the EVC++ program passes some data to the Flash application via an XML socket.I am facing a problem of low animation speed when the data transfer takes place.Is there a way in the flash program to receive the data in a seperate thread so as not to disturb the animation speed?I would be grateful for your kind responses. Thanking you, Deepa Gopal.

    Mobile c++ adobe xml performance help

  • Socket Server
    D Deepa Gopal

    Hi All, I used the following code to create a socket in my EVC++ program: #include "winsock.h" if (WSAStartup (MAKEWORD(1,1), &WSAData) != 0){ wsprintf (szError, TEXT("WSAStartup failed. Error: %d"), WSAGetLastError ()); MessageBox (hWnd, szError, TEXT("Error"), MB_OK); } if ((WinSocket = socket (AF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET) { wsprintf (szError, TEXT("Allocating socket failed. Error: %d"), WSAGetLastError ()); MessageBox (hWnd, szError, TEXT("Error"), MB_OK); } I have no compile error but a link error that states : error LNK2019: unresolved external symbol _socket@12 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) It would be great if somebody could kindly help me out of this. Thanks and Regards, Deepa Gopal.:confused:

    Mobile help c++ sysadmin question

  • Bluetooth Manager Status....
    D Deepa Gopal

    Hello All, I am writing a program in Embedded VC++or communication via a bluetooth gateway.Is there any status word for teh Bluetooth Manager which can be checked in the program before opening and writing to the COM7 port?I wnat to make sure the bluetooth manager has established the connection with a WaveCan generator before opening the port. Thanking you for your co-operation and time, Deepa Gopal.

    Mobile c++ hardware question

  • Bluetooth connection......
    D Deepa Gopal

    Hi All, I have a problem as follows: I need to have a serial connection between my PDA and a WaveCan generator for my program to function.now every time I reset the PDA I have to manually get the connection again.Is there a way such that once the connection is established, the user need not e-establish it on reset? Thanking you for your time, Regards, Deeepa.

    Mobile help question

  • Thread Initialisation.......
    D Deepa Gopal

    Hi all, Thanx a lot for the replies.The Read Thread works fine now.Apparently there was a problem with the firmware. Thanx again:):)

    Mobile help c++ hardware

  • Thread Initialisation.......
    D Deepa Gopal

    Hi, Actually I am reading from COM7 using a bluetooth gateway.I have opened COM7 before creating the read thread. Regards, Deepa.

    C / C++ / MFC help c++ hardware

  • Thread Initialisation.......
    D Deepa Gopal

    Hi, This i how I read the data: SetCommMask (hSerial1, EV_RXCHAR | EV_TXEMPTY |EV_CTS | EV_DSR | EV_RLSD | EV_RING); WaitCommEvent (hSerial1, &dwCommModemStatus, 0); SetCommMask (hSerial1, EV_RXCHAR | EV_TXEMPTY |EV_CTS | EV_DSR | EV_RLSD | EV_RING); if (dwCommModemStatus & (EV_RXCHAR | EV_RLSD | EV_TXEMPTY |EV_CTS | EV_DSR | EV_RING) ) { do { flag = ReadFile(hSerial1,&response, 1, &dwBytesTransferred, NULL); if (flag) { //Process Data } } while(dwBytesTransferred == 1); } Thanx Deepa

    Mobile help c++ hardware

  • Thread Initialisation.......
    D Deepa Gopal

    :confused:Hi All, I have a problem in my embedded VC++ which is as follows: There is a Read Thread created during WM_CREATE event, which is supposed to read data from the COM1 port as and when it receives data.I have created the thread in such a way that it is active right from the point of creation - hReadThread = CreateThread (NULL, 0, PortRead, 0, 0, &dwThreadId); The problem is I dont know why the data is not read from COM1 though the read thread is active right from start. It would be very helpful if you could kindly help em out. Thanx Deepa.

    C / C++ / MFC help c++ hardware

  • Thread Initialisation.......
    D Deepa Gopal

    :confused:Hi All, I have a problem in my embedded VC++ which is as follows: There is a Read Thread created during WM_CREATE event, which is supposed to read data from the COM1 port as and when it receives data.I have created the thread in such a way that it is active right from the point of creation - hReadThread = CreateThread (NULL, 0, PortRead, 0, 0, &dwThreadId); The problem is I dont know why the data is not read from COM1 though the read thread is active right from start. It would be very helpful if you could kindly help em out. Thanx Deepa.

    Mobile help c++ hardware

  • Display BYTES....
    D Deepa Gopal

    Hi All, I am doing an EVC++ programm for communication between two PDAs through a bluetooth gateway.One PDA sends some BYTES which is to be read by the second PDA.My problem is that I need to know how to display the BYTES read by the second PDA on its screen.I tried converting the BYTES to string and displaying it, but certain junk characters are also displayed. It would be great if you could kindly help me out. Thanks a ton, Deepa.

    Mobile help c++ tutorial

  • help with CSerial (code included)
    D Deepa Gopal

    Hi, Could you please let me know how you can runa terminal program to capture the output from another program?I am in the process of developing a serial communication between a laptop and PDA.I have to send data from the lpatop which has to be read by the PDA. Thanking you for your time, Deepa. John R. Shaw wrote: When working on serial communication I have found it usful to run a terminal program on another machine and capture the data output from my program. If it receives garbage, then it is a port setup problem (or bad serial port). If it receive nothing, then either I selected the wrong output port or (heaven forbid) I forgot to make sure the port open successfuly. I hope this will at least help a little, since I have not used CSerial. I tend to write my own using file I/O (on Win32 platforms). INTP

    C / C++ / MFC c++ csharp visual-studio com help

  • Serial Communication - Laptop and PDA
    D Deepa Gopal

    Hello, I am a beginner in the world of Embedded VC++ programming and am confronted with the following problem: I have a PDA (iPAQ, Win CE OS) connected to my Laptop. I have to implement a program such that i can write data to the COM port which the PDA has to read and display.Now, I can write seperate read and write programs, but how can I run it simultaneously?Moreover, if the port is open for writing by one program can I open it for reading by another program at the same time?Any pointers in clearing the above queries is most welcome. Thanks a lot for your time, Deepa.

    C / C++ / MFC question c++ com hardware help

  • Serial Communication
    D Deepa Gopal

    Hello Antti, Thank you for your kind response.My PDA uses Win CE.I have written a program in EVC++ to write a few characters to the COM1 port.Now I have no idea how to implement the read program in the PDA so that it can read the data being sent. Thanks Deepa.

    C / C++ / MFC c++ hardware help tutorial learning

  • Serial Communication
    D Deepa Gopal

    Hello, I am a beginner in Embedded VC++ programming and am confronted with a problem : I have a desktop connected to a PDA.I have to write a program to send data from the desktop which would be read and displayed by the PDA.Any suggestions on how to proceed with this is most welcome. Thanks, Deepa.

    C / C++ / MFC c++ hardware help tutorial learning
  • Login

  • Don't have an account? Register

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