Ubuntu 12.04 1 run Windows under the class Tongda letter stock software

Source: Internet
Author: User

1. First Compile and install wine

In order to allow wine to better support Chinese, it is best to modify the/dlls/gdi32/freetype.c file before compiling

GETOBJECTW (Hfont, sizeof (LF), &LF);
Lf.lfwidth = ABS (lf.lfwidth);
+ Lf.lfcharset = Gettextcharset (DC); Add this article

Can_use_bitmap = GetDeviceCaps (DEV->HDC, textcaps) & tc_ra_able;


Compile./congure

Make

sudo make install

2, start with mono gecko installation of the problem, you can run wine when the following command can be ignored loading

Env winedlloverrides= "mscoree,fusion=n" wine//Ignore Mono

envwinedlloverrides= "mshtml=" Wine//gecko


3, about Chinese garbled

As long as it is a font file that replicates Windows fonts in the ~/.wine/drive_c/windows/fonts directory


4, run-time missing runtime can be installed through Winetricks

* Tongda letter is mainly gdiplus gdiplus_winxp vcrun2003 vcrun6 VCRUN6SP6 these several libraries

sudo wget http://winetricks.org/winetricks

sudo chmod +x winetricks

./winecfg Select Windows XP

./winetricks gdiplus gdiplus_winxp vcrun2003 vcrun6 vcrun6sp6

sudo apt-get install Cabextract


5. Several commonly used wine commands

Wine Control.exe Appwiz.cpl

* Windows-like Program Manager, where you can install mono Gecko Tongda, and so on software

The relationship between Mono Gecko and wine version

See

Http://wiki.winehq.org/mono

Http://wiki.winehq.org/gecko

Wine Regedit.exe running the registration form

Wine *.exe Windows Program


6, I feel the best way is to 32 bits under the compilation of wine and put to 64 bit under the run. Missing gnome-keyring-pkcs11.so, can be copied from 32-bit system to 64-bit system, so the problem is much less


7, if you do not want to compile, you can download the following Deb package, Changjiang Securities and June an securities

Use

sudo dpkg-i wine-cjsc_v96-ubuntu-12.04.deb//Changjiang Securities

sudo dpkg-i wine-gtjarz_v928-ubuntu-12.04.deb//June an securities

Installation

If there is a gnome-keyring-pkcs11.so prompt conflict

You can increase the--force-all parameter to force the installation

sudo dpkg-i--force-all wine-gtjarz_v928-ubuntu-12.04.deb

Http://cloud.letv.com/s/k5BEaXF


Ubuntu 12.04 1 run Windows under the class Tongda letter stock software

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.