Like Tree2Likes
  • 2 Post By Mario F.

parallel port

This is a discussion on parallel port within the C# Programming forums, part of the General Programming Boards category; Hi dears I did not find CB here I have xp, codeblocks 10.05 Pls I need example program in and ...

  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    3

    parallel port

    Hi dears
    I did not find CB here
    I have xp, codeblocks 10.05
    Pls I need example program in and out to parallel port and any related thing can help
    for programing parallel port
    thanks
    fareez

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,438
    dllimport inpout32, EntryPoint = Out32
    FuncOut (int address, int value)

    dllimport inpout32, EntryPoint = Inp32
    FuncIn (int address)

    That's it, dear.
    Matticus and AndrewHunter like this.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Registered User
    Join Date
    Jul 2011
    Posts
    3

    test result

    Dear sir
    Thank you.
    The compiler for Code::Blocks 10.05 gave errors for these instructions , what do I need to include ?
    Regards
    Fareez

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,438
    You don't need to include a whole lot of nerve. That you have plenty.
    But you need to include a reading of the forum guidelines.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,498
    Jan Axelson's Lakeview Research

    And in win32, device access begins with CreateFile()
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. parallel port
    By kmp in forum C++ Programming
    Replies: 0
    Last Post: 05-08-2011, 11:06 PM
  2. Parallel Port in XP
    By torqu3e in forum C++ Programming
    Replies: 6
    Last Post: 01-30-2011, 08:33 AM
  3. Using the parallel port in C
    By advancedk in forum C Programming
    Replies: 1
    Last Post: 08-20-2008, 07:15 AM
  4. Parallel port
    By Bill83 in forum C++ Programming
    Replies: 1
    Last Post: 12-02-2005, 12:05 AM
  5. Help with Parallel Port
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 04-16-2002, 10:20 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21