Hi!
I wrote the following code:
void serialportsetup(){
hCom = CreateFile( "COM1",
GENERIC_READ | GENERIC_WRITE,
0, // exclusive access
NULL, // no security attributes
...
Type: Posts; User: deian
Hi!
I wrote the following code:
void serialportsetup(){
hCom = CreateFile( "COM1",
GENERIC_READ | GENERIC_WRITE,
0, // exclusive access
NULL, // no security attributes
...
Hi !
I need a commented sample code for a Win app to send a stream via the serial port. Unfortunately the C
is the only language I know. I have found some example codes on this forum, but I could'n...
i tried to compile menutwo.c file and those attached to it from theForger's win32 Tutorial. I included all the files in a project, but the IDEs from below show the following errors:
dev c++
...
i downloaded the tutorial from theForger's win32 Tutorial , but i will read it later because right now i don't have so much time. i have at home a c++ programming book , i have already red it , but...
ok guys, look what i want! i'm a telecom & electronics engineer. all i want is to write a simplest win32 application which could command a hardware via parallel port (or maybe serial, i don't know...
could somebody help me with a basic code for a win32 application - a simple window with some pop-up menus, a entering/displaying of a message on the screen or a text in a window and so on) ? i know...
which is the minimum instalation package for turboc++ 3.0(the minimum required folders for "correct software developing")?
hi!i need some help on next issues:
- i have tc 2.01 compiler downloaded from borland's museum site. in my program i need setcursortype() function(i want cursor to disappear in some parts of the...
this function closes all the files opened or not ?
you both have right.it depends on how fast are read the pixel from external ram.i want to do the folowing:let;s suppose that
the characters heave each a different number of pixels for each tv line(...
the idea is to display in a tv line a set of characters, but the displaying is hardware made(for speed reasons),and this hardware(external static ram) is programmed by software .he contains bits of...
how can i know
1)how many bits are corresponding to length of a non-monospaced
characters(let's say "i" and "m",they don't have same length on the screen)
2)the position of first bit of every...
1)why the following test programs are not working?
#include "stdio.h"
#include "time.h"
int i,x,step;
time_t s1,s2;
void main(void){
step=20;
it looks like assembly code,isn't?
which is the faster way to call a set of instructions, grouping them
in a separate function(and calling her) or labeling first set instruction and using GOTO instuction from other parts of the...
i founded a solution on my other thread.
people, look what i asked for:
#include <stdio.h>
#include <string.h>
void main(void){
FILE *fp;
char buf[40],filename[13];
strcpy(buf,"DIRNAME/");
no, something like:
cprintf("enter the file to open:")
gets(filename);
?????
?
?
fp=fopen(file name,"r")
where the ?? signes are folder opening(let's say TEMP). TEMP is found in the same...
my program ask me to open a file found in a folder which is in the same folder with the exe file,without entering the complete path(only the file name).how can i do if i have the following dir.h...
hi!
1)my program ask my to open a file which is in a directory named DIR.how can i do this(i want to enter only the file name,without the complete path)?
2)how can i display time and date who...