ChinaUnix.net
相关文章推荐:

web 与exe程序通信 qt

http://xizhizhu.blogspot.com/2009/01/qt-development-vi-tcp-communication.html 1.qtcpSocket qtcpSocket is used as the TCP socket in qt. It's used both in client and server side. To perform as a client, following steps are used: a) call qtcpSocket.connectToHost() to connect to a server; b) when connected, qtcpSocket.connected() will be emitted; c) communicate with the server. The following code ...

by zxz1984 - GUI编程 - 2009-11-14 19:51:36 阅读(8895) 回复(4)

相关讨论

http://xizhizhu.blogspot.com/2009/01/qt-development-vii-ssl-communication.html SSL is widely used nowadays to provide secure communication, whichperforms as a new layer between TCP and application. In qt, theQSslSocket class provides an SSL encrypted socket for both servers andclients. 1.Client The following steps are most commonly used: a) call QSslSocket.setProtocol() and other functions to se...

by zxz1984 - GUI编程 - 2009-01-13 03:03:02 阅读(5633) 回复(0)

光盘中有个“autorcd.exe”可执行程序,我双击后出现: Nautilus没有安装能够显示“/mnt/cdrom/autorcd.exe”的查看器 这该怎么解决呢? 谢谢!

by wattwang - 系统管理 - 2006-07-20 16:19:24 阅读(1064) 回复(11)

我用qt的界面设计器,做了界面,然后如何作呢?

by 佳瑞 - Linux论坛 - 2004-06-24 07:39:16 阅读(576) 回复(1)

用java调用.exe程序的方法: public class Demo{ public static void main(String args[]){ Runtime rn = Runtime.getRuntime(); Process p = null; String exeFile = ""; try{ exeFile = "D:\\EditPlus 2\\editplus.exe"; p = rn.exec(exeFile); }catch( Exception e ){ System.out.println( " ERROR exec Editplus.exe " ); } } } 本文来自Chin...

by ncitp - Java文档中心 - 2009-08-18 10:17:53 阅读(1916) 回复(0)

用java调用.exe程序的方法: public class Demo{ public static void main(String args[]){ Runtime rn = Runtime.getRuntime(); Process p = null; String exeFile = ""; try{ exeFile = "D:\\EditPlus 2\\editplus.exe"; p = rn.exec(exeFile); }catch( Exception e ){ System.out.println( " ERROR exec Editplus.exe " ); } } } 本文来自ChinaUnix博客...

by tastelive - Java文档中心 - 2007-10-07 01:01:20 阅读(590) 回复(0)

各位大侠,我的linux版本是fedora-4,我们这里上网要安装一个客户端程序DrCOM.exe 我装了wine,然后装DrCOM,然后在桌面有了一个快捷方式,但我双击它,却没有反应, 不知怎么回事,请指教。

by 天海蓝蓝 - 系统管理 - 2006-02-16 00:05:48 阅读(1250) 回复(9)

ublic class RuntimeTest { public static void main(String args[]){ try{ Runtime rt = Runtime.getRuntime(); String cmd[]={"notepad.exe"}; Process p = rt.exec(cmd); int exitValue = p.waitFor(); System.out.println(exitValue); BufferedReader input = new BufferedReader (new InputStreamReader(p.getInputStream())); String line; while ((line ...

by joealec - Java - 2005-05-25 15:39:53 阅读(1265) 回复(3)

我有一个名为test.html的页面,该页面所在的服务器系统为Solaris,现在要从客户端访问该页面,并通过该页面调用客户端的notepad.exe程序,不知该如何用javascript实现,请高手指点迷津!困惑中。。。。。。

by wangcl - Web开发 - 2004-10-26 10:02:23 阅读(1922) 回复(0)

程序的自删除已经不是什么新鲜的话题了,它广泛运用于木马、病毒中。试想想,当你的程序还在运行中(通常是完成了驻留、感染模块),它就自动地把自己从磁盘中删掉,这样一来,就做到了神不知鬼不觉,呵呵,是不是很cool呢? 自删除(Self Deleting)最早的方法是由 Gary Nebbett 大虾写的,太经典了,不能不提。程序如下: [code]#include "windows.h" int main(int argc, char *argv[]) { char buf[MAX_PATH]; HMO...

by gunsoft - C/C++ - 2004-08-24 16:50:24 阅读(4849) 回复(1)

程序如下: #include "head.h" TimeWindow :: TimeWindow() { char *buf = (char *)malloc(20); /** * 获取系统时间 **/ curtime = time(0); mytime = *localtime(&curtime); hour = mytime.tm_hour; min = mytime.tm_min; sec = mytime.tm_sec; setMinimumSize(200,100); setMaximumSize(200,100); ...

by silency - GUI编程 - 2008-12-25 19:24:57 阅读(2479) 回复(2)