The following link is to download the ConsoleDisplayCommunication.zip file.
http://www.lcdforums.com/download/CodeS ... cation.zip
Inside of it are two files:
1. ConsoleDisplayCommunication.exe // Executable
2. ConsoleDisplayCommunication.c // Source code
This sample program shows how you may use the win32 API to write C programs that communicate with our displays. With this program you may read and write to our displays, as well as send commands to them. This program should work on Win9x and WinNT(2000/XP).
I tried to keep it very simple and document it as much as possible. You may use the code or parts of it if you want, but it's meant more of a guide than anything else.
Hope this helps, and good luck with your own customized display applications.
Windows Programming with C and Win32 API
Windows Programming with C and Win32 API
Johnny Patino
Software Developer
Matrix Orbital
Software Developer
Matrix Orbital
...more info about the above complaint:
it dies in the first line of communicateWithDisplay - in particular:
hWriteThread = CreateThread(NULL, 0, writeToDisplayThread, NULL, 0, NULL); // executes the writeToDisplayThread
NULL status is returned, program exits.
(which is different behavior from another program i'm trying to get to work which give me an INVALID_HANDLE when i try to touch COM3)
....in the computer industry 20 years, and STILL wrestling with COM Ports.....
it dies in the first line of communicateWithDisplay - in particular:
hWriteThread = CreateThread(NULL, 0, writeToDisplayThread, NULL, 0, NULL); // executes the writeToDisplayThread
NULL status is returned, program exits.
(which is different behavior from another program i'm trying to get to work which give me an INVALID_HANDLE when i try to touch COM3)
....in the computer industry 20 years, and STILL wrestling with COM Ports.....
Re: Windows Programming with C and Win32 API
Hi,
i ran your executable unchanged on my W98 machine, and it does not work.
it does run fine on my XP system.
Thanks in advance.
Johnny - could you double-check if this runs on Win98?Johnny wrote:The following link is to download the ConsoleDisplayCommunication.zip file.
http://www.lcdforums.com/download/CodeS ... cation.zip
Inside of it are two files:
1. ConsoleDisplayCommunication.exe // Executable
2. ConsoleDisplayCommunication.c // Source code
This sample program shows how you may use the win32 API to write C programs that communicate with our displays. With this program you may read and write to our displays, as well as send commands to them. This program should work on Win9x and WinNT(2000/XP).
I tried to keep it very simple and document it as much as possible. You may use the code or parts of it if you want, but it's meant more of a guide than anything else.
Hope this helps, and good luck with your own customized display applications.
i ran your executable unchanged on my W98 machine, and it does not work.
it does run fine on my XP system.
Thanks in advance.
-
- LCD?
- Posts: 4
- Joined: Tue Aug 08, 2006 3:09 pm
Re: Windows Programming with C and Win32 API
i cant seem to download the zip file, IE seems to be telling me the file does not exist
Johnny wrote:The following link is to download the ConsoleDisplayCommunication.zip file.
http://www.lcdforums.com/download/CodeS ... cation.zip
Inside of it are two files:
1. ConsoleDisplayCommunication.exe // Executable
2. ConsoleDisplayCommunication.c // Source code
This sample program shows how you may use the win32 API to write C programs that communicate with our displays. With this program you may read and write to our displays, as well as send commands to them. This program should work on Win9x and WinNT(2000/XP).
I tried to keep it very simple and document it as much as possible. You may use the code or parts of it if you want, but it's meant more of a guide than anything else.
Hope this helps, and good luck with your own customized display applications.
I have a c++ class going that I think i probably should have posted in development instead of software, but here is the topic.
http://www.lcdforums.com/forums/viewtop ... php?t=3666
http://www.lcdforums.com/forums/viewtop ... php?t=3666