User Profile
Collapse
-
To Find the Operating System
hello, am in development serial port based application which should run on both POSIX and Windows based OS, at a first step i need to find the OS and then i will use relevant OS API to work with the serial port,so can any one suggest me how to find the OS running in C. -
win32 serial port programming
Hello,
Am using win32::serial port module to communicate with my serial port, from
CPAN
i found that communication is done through file handle by tie with configuration file, i need to know about configuration file , how to use it ? it will be great if you give a clear explanation about it , thanks for your time -
Yup you can create variable like this inside for loop , but your loop has no meaning !!?... -
Ok fine, since am new to perl i can't able to catch the points so quick, so i will be cool if any give your pointsLeave a comment:
-
Win32::SerialPort - Reading Data
Hello, am using win32::serial port module to access my serial port , i have opened the port $serial_port = Win32::SerialPo rt->new ($port,1); i made some settings such as baud rate, parity etc.. But am in need how to read the values coming from it, and how to write the data, can any give some examples it will be usefull -
Hello,
As per your points i tried with very simple program to print a hello statement but it gives the same error , i think the problem is not with the code since it's copied from a Net source , the problem might be with apache configuration for running C based CGI scripts,Do any one have an idea with this can afford your suggestion or suggest me an right place to ask...Leave a comment:
-
Perl and C in CGI program
Hello, Though i can make my script work well with perl , when am supposed write a script in C its giving error named 500 internal server error i have even tried with some example programs from net am getting the same error from error log i found its Premature End Of script headers ,while am trying it run on mozila browser it just asking for the download of the exe file, am posting the code below
HTML code :
[CODE=html]
<HTML>... -
-
MFC is not dead and studying MFC is not waste of time, Programmers who write traditional Windows application and do it in C++ will continue to use MFC and win 32 API's , Certainly MS is trying to push everyone to use
.NET but there are too many programs using MFC out there that it is not that
simple to replace it with something else. Yes, MFC is an old and aging
arcithecture. It looks like a big hack using all those preprocessor...Leave a comment:
-
-
Accesing Serial port from perl scipt
Hello,
Am in need to access a serial port from perl script, pastly am used C related CGI scripts am just shifted to perl , i need to know about its support with serial port so i can continue with perl -
I think this is not a perl question , Its more related to CGI program in C not in perl...Leave a comment:
-
CGI debugging - 500 Internal Server Error
Hello,
Am running a CGI script programmed in C in my apache server , the code is throwing some sorts of error with 500 internal server error , from error log i came to know its premature end of script headers when am supposed to troubleshoot it with various resources such as checking the script headers i can' t able to overcome it , i faced same problem with some example program in books too(even hello world), so i made the same program... -
CGI Script related
Hello,
Am running a CGI script programmed in C in my apache server , the code is throwing some sorts of error with 500 internal server error , from error log i came to know its premature end of script headers when am supposed to troubleshoot it with various resources such as checking the script headers i can' t able to overcome it , i faced same problem with some example program in books too(even hello world), so i made... -
controlling a application throgh external key(vc++)
hello,
am in need to access a application when i press an external keypad (which i had connected to the serial port of the system and am recieving a value at one press of the key,i can open the port and read the value),what am need to clarify is whether there is any function exists to open the application for each press of that external key ,if not how can we implement that. secondly is there is anyway to map external keypad input... -
mapping external keyboard input with PC
i developed a simple game in VB,right know i given the game control to the PC keyboard,but i need to control them using some external keypad ,if i make this keypad connection to serial port,how can i make them to control the operation
give a suggestion -
accessing serial port in VB 2005
how to access serial port in visual basic 2005 ,let me know the steps or any links for articles,i seen a tool named serial port in it ,can we use that -
PC Games by accessing mobile keypad
dudes,i need to access a PC game from a mobile keypad instead of playing via our PC keyboard,the mobile caller may call a particular number its handled by PBX via PBX i can get the input of data from mobile keypad using a serial port connection ,
now i should implement the key operation by mapping the mobile keypad input with PC Keyboard ,let me know your suggestion regarding this -
you can open a text file in C using fopen function initialized in stdio.h ,no need of fstream.h
fopen("path of file name",mode to be opened);
mode may be read "r" or write "w" or append use respective notation...Leave a comment:
-
hi dude: displaying a bmp file is not so complicated just fallow some procedures
to display a BMP you must read its header first with totally 54 bytes and save it in a struct or array..then read its RGB value
if can use C++ then you can use the above link which supported me long days back
i have done the same bmp display and interpolation for a embedded device but in windows flavour...Leave a comment:
No activity results to display
Show More
Leave a comment: