run windows exe

This is a discussion on run windows exe within the Linux Programming forums, part of the Platform Specific Boards category; hi all how to run windows exe in linux? i tried with wine... but am unable to excute the .exe ...

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    136

    run windows exe

    hi all
    how to run windows exe in linux?
    i tried with wine...
    but am unable to excute the .exe file
    Code:
    [root@localhost newTv]# wine newTv.exe 
    fixme:reg:GetNativeSystemInfo (0x33fe64) using GetSystemInfo()
    err:ole:CoGetClassObject class {00000507-0000-0010-8000-00aa006d2ea4} not registered
    err:ole:create_server class {00000507-0000-0010-8000-00aa006d2ea4} not registered
    err:ole:CoGetClassObject no class object {00000507-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
    err:systray:delete_icon invalid tray icon ID specified: 11771684
    wine: Unhandled exception 0x0eedfade at address 0x0000:0x763a2fa0 (thread 0009), starting debugger...
    First chance exception: 0xc0000025 in 32-bit code (0x60186c1c).
    Register dump:
     CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
     EIP:60186c1c ESP:0033f534 EBP:0033f598 EFLAGS:00200282(   - 00      - -IS1)
     EAX:0033f540 EBX:601db538 ECX:00110020 EDX:0033f91c
     ESI:0033f91c EDI:0033f5a4
    Stack dump:
    0x0033f534:  004023ff 0000007b 0033f578 c0000025
    0x0033f544:  00000001 0033f91c 0033f9b0 00000000
    0x0033f554:  00b47ef4 00405185 00b44720 0033f578
    0x0033f564:  004051c8 00b47ef0 00b47ef4 0057a954
    0x0033f574:  00407931 6f727245 72632072 69746165
    0x0033f584:  6f20676e 63656a62 20202e74 60186bd0
    Backtrace:
    =>1 0x60186c1c __regs_RtlRaiseException+0x4c() in ntdll (0x0033f598)
      2 0x601bee63 in ntdll (+0x5ee63) (0x0033f8f8)
      3 0x601861e6 RtlRaiseException+0x6() in ntdll (0x0033f970)
      4 0x0057de3f in newtv (+0x17de3f) (0x0033f9b0)
      5 0x00581e67 in newtv (+0x181e67) (0x0033f9e0)
      6 0x00582ade in newtv (+0x182ade) (0x0033f9f4)
      7 0x0058a42c in newtv (+0x18a42c) (0x0033fa18)
      8 0x00425084 in newtv (+0x25084) (0x0033fa44)
      9 0x004252b2 in newtv (+0x252b2) (0x0033fa98)
      10 0x004254fe in newtv (+0x254fe) (0x0033fac4)
      11 0x0042543d in newtv (+0x2543d) (0x0033fae0)
      12 0x00429c36 in newtv (+0x29c36) (0x0033fb10)
      13 0x0046e25a in newtv (+0x6e25a) (0x0033fb30)
      14 0x0042622c in newtv (+0x2622c) (0x0033fbb0)
      15 0x004239cf in newtv (+0x239cf) (0x0033fbd0)
      16 0x0041ff84 in newtv (+0x1ff84) (0x0033fbf4)
      17 0x0042010e in newtv (+0x2010e) (0x0033fd14)
      18 0x0042019f in newtv (+0x2019f) (0x0033fd44)
      19 0x004afcd6 in newtv (+0xafcd6) (0x0033fe98)
      20 0x004753b4 in newtv (+0x753b4) (0x0033febc)
      21 0x006e288c in newtv (+0x2e288c) (0x0033ff08)
      22 0x763d3f6e in kernel32 (+0x53f6e) (0x0033ffe8)
      23 0x60024817 (0x00000000)
    0x60186c1c __regs_RtlRaiseException+0x4c in ntdll: subl $4,%esp
    Modules:
    Module  Address                 Debug info      Name (98 modules)
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    PE        400000-  a12000       Export          newtv
    ELF      6cad000- 6cb8000       Deferred        libdrm.so.2
    ELF      776a000- 7798000       Deferred        libcrypt.so.1
    ELF      77a9000- 77ad000       Deferred        libgpg-error.so.0
    ELF      77b9000- 77f0000       Deferred        libcups.so.2
    ELF      7861000- 78b6000       Deferred        libgcrypt.so.11
    ELF      79e9000- 7a66000       Deferred        libgnutls.so.13
    ELF      7d6b000- 7ddb000       Deferred        libgl.so.1
    ELF     60132000-6014a000       Deferred        libpthread.so.0
    ELF     6014f000-601f7000       Export          ntdll<elf>
      \-PE  60160000-601f7000       \               ntdll
    ELF     601f7000-60220000       Deferred        libm.so.6
    ELF     60220000-6022c000       Deferred        libnss_files.so.2
    ELF     6022c000-60277000       Deferred        advapi32<elf>
      \-PE  60240000-60277000       \               advapi32
    ELF     60277000-6033d000       Deferred        comctl32<elf>
      \-PE  60280000-6033d000       \               comctl32
    ELF     6033d000-603de000       Deferred        gdi32<elf>
      \-PE  60350000-603de000       \               gdi32
    ELF     603de000-60481000       Deferred        comdlg32<elf>
      \-PE  603f0000-60481000       \               comdlg32
    ELF     60481000-60588000       Deferred        shell32<elf>
      \-PE  60490000-60588000       \               shell32
    ELF     60588000-605e5000       Deferred        shlwapi<elf>
      \-PE  605a0000-605e5000       \               shlwapi
    ELF     605e5000-6061a000       Deferred        winspool<elf>
      \-PE  605f0000-6061a000       \               winspool
    ELF     6061a000-6062f000       Deferred        icmp<elf>
      \-PE  60620000-6062f000       \               icmp
    ELF     6062f000-606da000       Deferred        ole32<elf>
      \-PE  60640000-606da000       \               ole32
    ELF     606da000-60738000       Deferred        rpcrt4<elf>
      \-PE  606f0000-60738000       \               rpcrt4
    ELF     60738000-60757000       Deferred        iphlpapi<elf>
      \-PE  60740000-60757000       \               iphlpapi
    ELF     6076b000-60812000       Deferred        oleaut32<elf>
      \-PE  60780000-60812000       \               oleaut32
    ELF     60812000-60832000       Deferred        mpr<elf>
      \-PE  60820000-60832000       \               mpr
    ELF     60832000-6084c000       Deferred        version<elf>
      \-PE  60840000-6084c000       \               version
    ELF     6084c000-60860000       Deferred        lz32<elf>
      \-PE  60850000-60860000       \               lz32
    ELF     60860000-608f2000       Deferred        winmm<elf>
      \-PE  60870000-608f2000       \               winmm
    ELF     608f2000-6090c000       Deferred        wsock32<elf>
      \-PE  60900000-6090c000       \               wsock32
    ELF     6090c000-60939000       Deferred        ws2_32<elf>
      \-PE  60910000-60939000       \               ws2_32
    ELF     60a13000-60aa8000       Deferred        winex11<elf>
      \-PE  60a20000-60aa8000       \               winex11
    ELF     60bfe000-60c1c000       Deferred        imm32<elf>
      \-PE  60c10000-60c1c000       \               imm32
    ELF     60c2b000-60c5f000       Deferred        uxtheme<elf>
      \-PE  60c30000-60c5f000       \               uxtheme
    ELF     60dc6000-60e03000       Deferred        wineoss<elf>
      \-PE  60dd0000-60e03000       \               wineoss
    ELF     60e03000-60e1b000       Deferred        msacm32<elf>
      \-PE  60e10000-60e1b000       \               msacm32
    ELF     60e1b000-60e43000       Deferred        msacm32<elf>
      \-PE  60e20000-60e43000       \               msacm32
    ELF     60e43000-60e58000       Deferred        midimap<elf>
      \-PE  60e50000-60e58000       \               midimap
    ELF     61f1c000-61f77000       Deferred        crypt32<elf>
      \-PE  61f30000-61f77000       \               crypt32
    ELF     63641000-6368d000       Deferred        wininet<elf>
      \-PE  63650000-6368d000       \               wininet
    ELF     69a12000-69a4e000       Deferred        urlmon<elf>
      \-PE  69a20000-69a4e000       \               urlmon
    ELF     76362000-76497000       Export          kernel32<elf>
      \-PE  76380000-76497000       \               kernel32
    ELF     789fa000-78b47000       Deferred        user32<elf>
      \-PE  78a10000-78b47000       \               user32
    ELF     79657000-7966b000       Deferred        olepro32<elf>
      \-PE  79660000-7966b000       \               olepro32
    ELF     7a1de000-7a332000       Deferred        libc.so.6
    ELF     7bf00000-7bf03000       Deferred        <wine-loader>
    Threads:
    process  tid      prio (all id:s are in hex)
    0000000a 
            0000000c    0
            0000000b    0
    00000008 (D) H:\Desktop\New Folder\newTv.rar_FILES\newTv\newTv.exe
            00000009    0 <==
    [root@localhost newTv]#
    can you please help me

    thank you in advance

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,659
    Well the very first line suggests you ran into an unimplemented function.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Like most emulators wine isn't perfect, I'd suggest checking out the winedb @ http://appdb.winehq.org/
    Also, why are you running it as root!?!? That's moronic.

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Unimplemented function or unregistered object. Did you install the program properly.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why can't Windows run Linux binary executables?
    By Kleid-0 in forum Tech Board
    Replies: 30
    Last Post: 12-04-2005, 10:44 PM
  2. Run program as Windows 2003 Service
    By magic.mike in forum Windows Programming
    Replies: 2
    Last Post: 09-09-2005, 03:39 PM
  3. Run MFC exe from Command Line
    By magic.mike in forum Windows Programming
    Replies: 6
    Last Post: 09-08-2005, 02:00 PM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  5. Programs run in dos. Why not windows?
    By marcusbankuti in forum C++ Programming
    Replies: 15
    Last Post: 08-11-2002, 07:33 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21