Jump to content
Sign in to follow this  

Resources UDF

Recommended Posts

When compiling the example in the Resources_au3.zip, the result is not the same on a Windows 7 and a XP SP3 PC. The compiled script is not correct compiled on the Windows 7 PC. The resource is not shown when the exe is executed. The compile retrun messages are the same for both compiles. What makes the result different ? The compiled XP versions is running fine on both PC's.

"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /in "F:\Vogel Administratie\resource_test_ani_gif.au3" /autoit3dir "C:\Program Files\AutoIt3"

+>17:06:42 Starting AutoIt3Wrapper v. Environment(Language:0413 Keyboard:00000813 OS:WIN_VISTA/ CPU:X64 OS:X86)

>Running AU3Check ( from:C:\Program Files\AutoIt3

+>17:06:43 AU3Check ended.rc:0

+> Adding 1 file to the Output executable.

>17:06:43 Resource updating finished.

>Running:(\Program Files\AutoIt3\aut2exe\aut2exe.exe /in "F:\Vogel Administratie\resource_test_ani_gif.au3" /out "F:\Vogel Administratie\resource_test_ani_gif.exe" /comp 2 /pack /Bin C:\Users\Richard\AppData\Local\Temp\AutoItSC.bin

Ultimate Packer for eXecutables

Copyright © 1996 - 2008

UPX 3.03w Markus Oberhumer, Laszlo Molnar & John Reiser Apr 27th 2008

File size Ratio Format Name

-------------------- ------ ----------- -----------

648704 -> 314880 48.54% win32/pe resource_test_ani_gif.exe

Packed 1 file.

+>17:07:00 Aut2exe.exe ended.rc:0

+>17:07:00 Created program:F:\Vogel Administratie\resource_test_ani_gif.exe

->Warning: This is an Unicode compiled script and will not run on Win9x/ME.

+>17:07:00 AutoIt3Wrapper Finished

>Exit code: 0 Time: 18.865

Elke vogel zingt zoals hij gebekt is !Als alleen die vogels zongen die het mooiste zingen zou het stil zijn in het bos.

Share this post

Link to post
Share on other sites

This is not support forum (Examples)!

EDIT: Also double post!



As said in my PM: I have no acces to Win7.

First try to look at compiled EXE by reshacker if resources are inside EXE.

If not then problem will be in Autoit3Wrapper.

If resources in EXE are OK but images are not shown (on Win7) then problem is in my Resource UDF.


Edited by Zedna

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...