Wine

ubuntu 下查看caj文件

﹥>﹥吖頭↗ 提交于 2020-01-04 23:00:08
知网的学位论文只有CAJ版,而我又偏偏使用Ubuntu,所以就有了这篇文章。 前端时间发现第一种方法在ubuntu 16 上不行, 请使用第二种方法。 第一种方法: 环境:Ubuntu 14.04 64bit 1.安装wine: sudo apt-get install wine 2.下载caj6.0绿色版CAJViewer6.0_green.rar: http://pan.baidu.com/s/1mhwEvAK 3.解压到目录cajviewer6.0: mkdir cajviewer6.0 unrar x CAJViewer6.0_green.rar cajviewer6.0 4.运行: sudo chmod u+x CAJViewer.exe //修改权限 wine CAJViewer.exe 结果如图: PS: 由于我装的是英文版系统,所以有乱码,但将就着还可以看啦~ =============================================================== 第二种方法: 前段时间发现用Ubuntu16.04上边的这种不行了,请使用下边的方法: 下载链接: http://pan.baidu.com/s/1jIqHxLs       或 http://download.csdn.net/detail/arhaiyun/5457947

git am: Patch format detection failed

断了今生、忘了曾经 提交于 2020-01-01 09:24:41
问题 I have never used patches with Git before and I need some help. I am trying to apply a patch to a Git repo to test a Wine patch, specifically this patch here. So I did the following: $ git clone git://source.winehq.org/git/wine.git $ cd wine $ nano patch.p1 I then pasted the content of the patch with Ctrl + Shift + V and used Ctrl + O to save. Then I tried this: $ git am patch.p1 Patch format detection failed. What am I doing wrong? I have never applied a patch before. 回答1: Patch format

Are there any way to link my program with Wine-compiled part?

三世轮回 提交于 2019-12-29 07:13:07
问题 I am trying to use windows dll functionality in Linux. My current solution is a compilation of a separate wine application, that uses dll and transfer requests/responses between dll and main application over IPC. This works, but is a real overhead comparing to a simple dll calls. I see that wine-compiled program usually is a bootstrapping-script and some .so, which (according to file utility) is normal linux dynamically linked library. Are there any way to link that .so directly to my

wine can't load my custom build-in dll and report “call to unimplemented function”

孤人 提交于 2019-12-24 11:06:58
问题 I can't login WINEHQ Bugzilla, so I ask here and this is the requirement: We have a windows app which we have exe source code, and it used ATL. The dlls the exe depends require some special device, but mostly they have linux version. Now we need to port the windows app to linux. My finally try: write a middle dll to wrap some lib which already is cross platform, the exe will call new middle dll, and I name the middle dll is "WINE custom build-in dll". CUSTOM means I compile this dll.so

Deepin Linux 下基于deepin-wine的微信图标不见的问题解决

倾然丶 夕夏残阳落幕 提交于 2019-12-20 09:58:24
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> D0-问题定义 今早打开deepin-Linux发现桌面的微信图标不见了,是之前在deepin的app store里安装的,打开APP store,卸载界面显示已经没有了,但安装界面显示open,意思就是已经安装,这就尴尬了。桌面没有,启动菜单项也没有,卸载界面也没有,只有AppStore里面有,然后只能从AppStore里面启动,这不是很头疼嘛。 D1-团队成立 嗯,团队就我一个,加上我的电脑,以及Internet。 D2-团队分工 pass D3-原因分析 初步分析:deepin-wine工作不正常 D4-临时解决 卸载deepin-wine和wine,步骤如下: sudo apt list 找到apt里所有安装包,找到了deepin-wine, 和wine两个软件。 然后删除wine相关的包 sudo apt remove deepin-wine sudo apt remove wine. 然后自动清理依赖 sudo apt autoremove sudo apt purge 最后删除所有rc记录文件 dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P 再rm所有文件夹 rm -rf /root/.wine m -rf /home/YOURNAME

Execute Shell Commands from Program running in WINE

孤者浪人 提交于 2019-12-18 12:23:58
问题 I have a windows program running on Linux using WINE. How can I call Linux shell commands from the windows program? 回答1: Edit: user1182474's comment is correct; Wine doesn't isolate the programs it runs. (It tries to hide it, but not very thoroughly.) I totally failed at using Google. Psen's comment below is more correct, and references the FAQ. (Note that, for that to work, you may need to have the program's directory available through a Wine drive mapping. Or, see Anonymous Replier's answer

Hosting WCF service on linux

天涯浪子 提交于 2019-12-17 22:53:19
问题 Is there Any way of hosting WCF service on Linux. I read about wine but i didn't see any example of hosting WCF service with it. P.S : I have tried mono and mod_mono but to no avail. 回答1: You can host it in a stand-alone console application like so: using System; using System.ServiceModel; using Service; namespace Host { class MainClass { public static void Main (string[] args) { Console.WriteLine ("WCF Host!"); var binding = new BasicHttpBinding (); var address = new Uri ("http://localhost

如何快速重命名MySQL数据库(更改模式名称)?

99封情书 提交于 2019-12-16 10:38:48
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 在MySQL手册 的MySQL 涵盖这一点。 通常我只是转储数据库并使用新名称重新导入它。 对于非常大的数据库,这不是一个选项。 显然是 RENAME {DATABASE | SCHEMA} db_name TO new_db_name; RENAME {DATABASE | SCHEMA} db_name TO new_db_name; 做坏事,只存在于少数几个版本中,总体上是一个坏主意 。 这需要与 InnoDB 一起使用, InnoDB的 存储方式与 MyISAM 完全不同。 #1楼 使用以下几个简单的命令: mysqldump -u username -p -v olddatabase > olddbdump.sql mysqladmin -u username -p create newdatabase mysql -u username -p newdatabase < olddbdump.sql 或者根据 @Pablo Marin-Garcia的建议减少I / O使用: mysqladmin -u username -p create newdatabase mysqldump -u username -v olddatabase -p | mysql -u username -p -D

Shared doc files in dependencies causing transaction errors

萝らか妹 提交于 2019-12-13 16:19:43
问题 I recently installed Fedora 24 Workstation on my desktop and was able to install everything without issue, until I tried to install steam (from rpmfusion) and wine. Both steam and wine have 32-bit dependencies of libraries that are already installed in 64-bit and used by other, more important programs. Typically, this shouldn't be an issue, but it turns out that all of the doc files in /usr/share/doc or /usr/share/licenses, etc are causing conflicts upon installation of the 32-bit version of

Installing wine in debian

大兔子大兔子 提交于 2019-12-13 09:25:37
问题 i'm totally new to debian and i've been trying to install wine.This is what i did... root@sutta:/home/sutta# sudo add-apt-repository ppa:ubuntu-wine/ppa You are about to add the following PPA to your system: Welcome to the Wine Team PPA. Here you can get the latest available Wine betas for every supported version of Ubuntu. This PPA is managed by Scott Ritchie and Maarten Lankhorst. More info: https://launchpad.net/~ubuntu-wine/+archive/ubuntu/ppa Press [ENTER] to continue or ctrl-c to cancel