Jump to content

Wrapper Error


Go to solution Solved by BrewManNH,

Recommended Posts

I am having a problem compiling my script with resources added with the wrapper ever since I updated to the current release of AutoIt 3.3.10.2

The script still compiles but the resources do not show up.

console output:

+>17:23:57 Aut2exe.exe ended.rc:0
>17:23:57 Performing the Program Resource Update steps:
!>17:23:57 Error: Failed to get script data from end of target file.  Skipping resource update.rc:2
+>17:23:57 Created program:C:UsersCameronDesktopForm BuilderForm Builder.exe
>Exit code: 0    Time: 59.188

Here is the part of my script that doesn't work

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=Icons\NewIcon_2.ico
#AutoIt3Wrapper_Res_Description=Form Builder
#AutoIt3Wrapper_Res_Fileversion=1.0.7.0
#AutoIt3Wrapper_Res_LegalCopyright=©2014 Cameron Wilson. All Rights reserved.
#AutoIt3Wrapper_Res_Language=1033
#AutoIt3Wrapper_Res_File_Add=Images\AlignBottom.bmp, rt_bitmap, Align_Bottom
#AutoIt3Wrapper_Res_File_Add=Images\AlignCenterHoriz.bmp, rt_bitmap, Align_CenterHoriz
#AutoIt3Wrapper_Res_File_Add=Images\AlignCenterVert.bmp, rt_bitmap, Align_CenterVert
#AutoIt3Wrapper_Res_File_Add=Images\AlignLeft.bmp, rt_bitmap, Align_Left
#AutoIt3Wrapper_Res_File_Add=Images\AlignRight.bmp, rt_bitmap, Align_Right
#AutoIt3Wrapper_Res_File_Add=Images\AlignTop.bmp, rt_bitmap, Align_Top
#AutoIt3Wrapper_Res_File_Add=Images\SpaceHeight.bmp, rt_bitmap, Space_Height
#AutoIt3Wrapper_Res_File_Add=Images\SpaceHeightCenter.bmp, rt_bitmap, Space_HeightCenter
#AutoIt3Wrapper_Res_File_Add=Images\SpaceLeft.bmp, rt_bitmap, Space_Left
#AutoIt3Wrapper_Res_File_Add=Images\SpaceWidth.bmp, rt_bitmap, Space_Width
#AutoIt3Wrapper_Res_File_Add=Images\SpaceWidthCenter.bmp, rt_bitmap, Space_WidthCenter
#AutoIt3Wrapper_Res_File_Add=Images\ResizeAuto.bmp, rt_bitmap, Resize_Auto
#AutoIt3Wrapper_Res_File_Add=Images\ResizeAuto_Disable.bmp, rt_bitmap, Resize_Auto_Disable
#AutoIt3Wrapper_Res_File_Add=Images\ResizeAuto_Selected.bmp, rt_bitmap, Resize_Auto_Selected
#AutoIt3Wrapper_Res_File_Add=Images\ResizeBottom.bmp, rt_bitmap, Resize_Bottom
#AutoIt3Wrapper_Res_File_Add=Images\ResizeBottom_Disable.bmp, rt_bitmap, Resize_Bottom_Disable
#AutoIt3Wrapper_Res_File_Add=Images\ResizeBottom_Selected.bmp, rt_bitmap, Resize_Bottom_Selected
#AutoIt3Wrapper_Res_File_Add=Images\ResizeHCenter.bmp, rt_bitmap, Resize_HCenter
#AutoIt3Wrapper_Res_File_Add=Images\ResizeHCenter_Disable.bmp, rt_bitmap, Resize_HCenter_Disable
#AutoIt3Wrapper_Res_File_Add=Images\ResizeHCenter_Selected.bmp, rt_bitmap, Resize_HCenter_Selected
#AutoIt3Wrapper_Res_File_Add=Images\ResizeLeft.bmp, rt_bitmap, Resize_Left
#AutoIt3Wrapper_Res_File_Add=Images\ResizeLeft_Disable.bmp, rt_bitmap, Resize_Left_Disable
#AutoIt3Wrapper_Res_File_Add=Images\ResizeLeft_Selected.bmp, rt_bitmap, Resize_Left_Selected
#AutoIt3Wrapper_Res_File_Add=Images\ResizeLockHeight.bmp, rt_bitmap, Resize_LockHeight
#AutoIt3Wrapper_Res_File_Add=Images\ResizeLockHeight_Disable.bmp, rt_bitmap, Resize_LockHeight_Disable
#AutoIt3Wrapper_Res_File_Add=Images\ResizeLockHeight_Selected.bmp, rt_bitmap, Resize_LockHeight_Selected
#AutoIt3Wrapper_Res_File_Add=Images\ResizeLockWidth.bmp, rt_bitmap, Resize_LockWidth
#AutoIt3Wrapper_Res_File_Add=Images\ResizeLockWidth_Disable.bmp, rt_bitmap, Resize_LockWidth_Disable
#AutoIt3Wrapper_Res_File_Add=Images\ResizeLockWidth_Selected.bmp, rt_bitmap, Resize_LockWidth_Selected
#AutoIt3Wrapper_Res_File_Add=Images\ResizeRight.bmp, rt_bitmap, Resize_Right
#AutoIt3Wrapper_Res_File_Add=Images\ResizeRight_Disable.bmp, rt_bitmap, Resize_Right_Disable
#AutoIt3Wrapper_Res_File_Add=Images\ResizeRight_Selected.bmp, rt_bitmap, Resize_Right_Selected
#AutoIt3Wrapper_Res_File_Add=Images\ResizeTop.bmp, rt_bitmap, Resize_Top
#AutoIt3Wrapper_Res_File_Add=Images\ResizeTop_Disable.bmp, rt_bitmap, Resize_Top_Disable
#AutoIt3Wrapper_Res_File_Add=Images\ResizeTop_Selected.bmp, rt_bitmap, Resize_Top_Selected
#AutoIt3Wrapper_Res_File_Add=Images\ResizeVCenter.bmp, rt_bitmap, Resize_VCenter
#AutoIt3Wrapper_Res_File_Add=Images\ResizeVCenter_Disable.bmp, rt_bitmap, Resize_VCenter_Disable
#AutoIt3Wrapper_Res_File_Add=Images\ResizeVCenter_Selected.bmp, rt_bitmap, Resize_VCenter_Selected
#AutoIt3Wrapper_Res_File_Add=Images\AutoAlign.bmp, rt_bitmap, AutoAlign
#AutoIt3Wrapper_Res_File_Add=Images\AutoAlign_Disable.bmp, rt_bitmap, AutoAlign_Disable
#AutoIt3Wrapper_Res_File_Add=Images\Grid.bmp, rt_bitmap, Grid
#AutoIt3Wrapper_Res_File_Add=Images\Grid_Disable.bmp, rt_bitmap, Grid_Disable
#AutoIt3Wrapper_Run_AU3Check=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

Did something change that I'm not aware of?

Any help would be appreciated,

BuckMaster

Link to post
Share on other sites
  • Solution

Try the link in >this thread.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...