Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. signature of _inp and _outp in msvcrt.dll

signature of _inp and _outp in msvcrt.dll

Scheduled Pinned Locked Moved C#
c++question
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    asugix
    wrote on last edited by
    #1

    I think it nonsense if some application can access parallel port without additional driver but I must provide own driver. After attach an "dll viewer" to "portmon", I found exported function called _inp and _outp inside msvcrt.dll or msvcr80.dll. It looks like same with _inp and _outp function on turbo c++ compiler. When I try to call with

    [DllImport("msvcrt.dll",EntryPoint = "_outp")]
    public static void OutP(int address, int value);

    there's no exception occurs, but my application always shutted down with errors. Is someone there know what signature of "_outp" is? or know whats wrong with my program? (my program just have two textboxes to input address and value and one button to execute)

    No one can prevent me to learn something

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups