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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Exception in NEt application on W98

Exception in NEt application on W98

Scheduled Pinned Locked Moved C#
helpcsharpc++dotnetjson
3 Posts 2 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.
  • E Offline
    E Offline
    EdgarBM
    wrote on last edited by
    #1

    Hi, I've developped a little application to communicate by serial ports in .NET. It uses Kernel32 API the same way the communication was done on VC++ 6.0. When I had finished it I copied it to a W98 computer with the .NET Framework already installed. The problem is that I get an exception just when I try to execute it and nothing works (neither the form is shown, only the error message). I tried it on another W2k and gets an exception on "unknown module" about a "invalid URL direction". Does anyone knows what's happening?, maybe I should make an installation project for it? Thanks in advance, EdgarBM Edgar Berengena Moreno Software Engineer Appeyron Research

    D 1 Reply Last reply
    0
    • E EdgarBM

      Hi, I've developped a little application to communicate by serial ports in .NET. It uses Kernel32 API the same way the communication was done on VC++ 6.0. When I had finished it I copied it to a W98 computer with the .NET Framework already installed. The problem is that I get an exception just when I try to execute it and nothing works (neither the form is shown, only the error message). I tried it on another W2k and gets an exception on "unknown module" about a "invalid URL direction". Does anyone knows what's happening?, maybe I should make an installation project for it? Thanks in advance, EdgarBM Edgar Berengena Moreno Software Engineer Appeyron Research

      D Offline
      D Offline
      David Stone
      wrote on last edited by
      #2

      Is the program relying on a dll that isn't included in the .NET Framework? That could be the problem. David Stone It seemed similar to someone saying, "Would you like to meet my knife collection?" Ryan Johnston on Elaine's sig

      E 1 Reply Last reply
      0
      • D David Stone

        Is the program relying on a dll that isn't included in the .NET Framework? That could be the problem. David Stone It seemed similar to someone saying, "Would you like to meet my knife collection?" Ryan Johnston on Elaine's sig

        E Offline
        E Offline
        EdgarBM
        wrote on last edited by
        #3

        Hi, thank you for your reply. I'm using API "Kernel32" the functions: WriteFile ReadFile GetLastError CloseHandle CreateEvent SetCommTimeouts GetOverlappedResult WaitForSingleObject ...but I realized that if I execute the program locally (note remotelly) it executes, although it doesn't works fine because those functions doesn't work. Do you have any idea about it? Thank you again, Edgar Edgar Berengena Moreno Software Engineer Appeyron Research

        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