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. Managed C++/CLI
  4. Problem connecting to server -difference managed C++ and C#?

Problem connecting to server -difference managed C++ and C#?

Scheduled Pinned Locked Moved Managed C++/CLI
questioncsharpc++sysadminhelp
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.
  • E Offline
    E Offline
    EnkelIk
    wrote on last edited by
    #1

    I have a small program that connects the computer to a printer, using WNetAddConnection2. We are running Win XP Pro with Novell Netware client. This has been working ok, but now we have a new ghost with the latest versions and service packs of some programs, including the Netware client and this is where the problem started: when the program is run the computer totally dies when calling WNetAddConnection2 -not even Ctrl + Alt + Del helps. We have figured out that it has some problem connecting to the printer server, because if we establish a connection to the printerserver first, and then run the program it works. And it is not just WNetAddConnection2 that has problem, if we for example set current directory to the printer server or treis reading the creationdate of a folder on the printer server, the computer also 'dies'. Now what makes this really strange is that I made a small test program in C# -and that program does not have the same problem! Am I wrong to think that managed C++ and C# compiles down to essentially the same??? Any clues as to what is going wrong here are most welcome! Thanks /EnkelIk

    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