VB.NET Windows服务问题

时间:2016-11-22 17:04:10

标签: vb.net windows-services vb.net-2010

我有一个运行并将文件保存到远程服务器的服务。这在服务中有效但现在我需要发送命令

Public Declare Function cwbDQ_Create Lib "Cwbdq" (ByVal qName As String, ByVal lName As String, ByVal sName As String, ByVal queueAttr As Integer, ByVal errorHandle As Integer) As Integer

Public Declare Function cwbDQ_SetConvert Lib "Cwbdq" (ByVal dataHandle As Integer, ByVal convert As Integer) As Integer

rc = cwbDQ_Create(queueName, libName, sysName, attrHandle, errHandle)
rc1 = cwbDQ_SetConvert(dataHandle, convert)

这是停止处理的地方,服务一直在运行它只是没有做任何事情。

0 个答案:

没有答案