Home > Net >  The software API calls
The software API calls

Time:12-02

Is like that, I in vsto (just as ordinary c # console application problems are less) to invoke a particular software API connection software in the read data, the software is written by c + +, API is written by c #, but the essence or the c + + DLL, is to encapsulate some convenient call interface, due to the c # API is only recently, so it seems to write some of the issues, such as I call disconnect () is called again after the connect (), directly out of the debugging, the new is also not line, a new object connect should be haven't release, caused by a static variable or resources in the visual studio on all abort exit directly, so as long as it's not the first time adjust the connect will directly hit the breakpoints in the destructor, in the call stack is a layer of [external] code, again on a layer of have no, but I restart debugging can connect again, so could you please tell me: how can you not to close the program, to let the target software that every time I call the connect is the first call? Disconnect or unload assemblies after see, feel a bit do not come, or what potential patient directions under the
  •  Tags:  
  • C#
  • Related