User Profile

Collapse

Profile Sidebar

Collapse
saranjegan
saranjegan
Last Activity: Oct 11 '07, 06:35 AM
Joined: Feb 10 '07
Location: India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • saranjegan
    started a topic To Find the Operating System
    in C

    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.
    See more | Go to post

  • saranjegan
    started a topic win32 serial port programming
    in Perl

    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
    See more | Go to post

  • saranjegan
    replied to Loop declaration in C
    in C
    Yup you can create variable like this inside for loop , but your loop has no meaning !!?...
    See more | Go to post

    Leave a comment:


  • saranjegan
    replied to Win32::SerialPort - Reading Data
    in Perl
    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 points
    See more | Go to post

    Leave a comment:


  • saranjegan
    started a topic Win32::SerialPort - Reading Data
    in Perl

    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
    See more | Go to post

  • saranjegan
    replied to Perl and C in CGI program
    in C
    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...
    See more | Go to post

    Leave a comment:


  • saranjegan
    started a topic Perl and C in CGI program
    in C

    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>...
    See more | Go to post
    Last edited by miller; Aug 14 '07, 04:30 PM. Reason: Code tag

  • Can you be specific & Compiler you are using ?...
    See more | Go to post

    Leave a comment:


  • saranjegan
    replied to In Search Of a good MFC Book
    in C
    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...
    See more | Go to post

    Leave a comment:


  • saranjegan
    replied to Accesing Serial port from perl scipt
    in Perl
    Fine jeff, thats useful
    See more | Go to post

    Leave a comment:


  • saranjegan
    started a topic Accesing Serial port from perl scipt
    in Perl

    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
    See more | Go to post

  • saranjegan
    replied to CGI debugging - 500 Internal Server Error
    in C
    I think this is not a perl question , Its more related to CGI program in C not in perl...
    See more | Go to post

    Leave a comment:


  • saranjegan
    started a topic CGI debugging - 500 Internal Server Error
    in C

    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...
    See more | Go to post

  • saranjegan
    started a topic CGI Script related

    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...
    See more | Go to post

  • saranjegan
    started a topic controlling a application throgh external key(vc++)
    in C

    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...
    See more | Go to post

  • saranjegan
    started a topic mapping external keyboard input with PC

    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
    See more | Go to post

  • saranjegan
    started a topic accessing serial port in VB 2005

    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
    See more | Go to post

  • saranjegan
    started a topic PC Games by accessing mobile keypad

    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
    See more | Go to post

  • saranjegan
    replied to -------opening Files In C---------
    in C
    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...
    See more | Go to post

    Leave a comment:


  • saranjegan
    replied to Read and Display BMP Files in ANSI-C
    in C
    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...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...