Page 1 of 1

Strange problem installing 943 on DelphiXE2

Posted: 14.10.2011, 12:58
by jeremicm
ok, this is very strange...
i downloaded rev 943 and tried to install Delphi16 packages... When i try to build zcore, zcore.res file dissapear from package folder, 3 ico files appear in package folder and i get compiler error

Code: Select all

 
[BRCC32 Error] ZCore.vrc(59): file not found: ZCore_Icon2.ico 

also, zcore.vrc file is generated...

i'm totaly confused... wtf is happening here??

i have xe2 installed on a clean windows 7 virtual box...


here is content of zcore.vrc file:

Code: Select all


/* ----- VS_VERSION.dwFileFlags ----- */
#define VS_FF_DEBUG             0x00000001L
#define VS_FF_PRERELEASE        0x00000002L
#define VS_FF_PATCHED           0x00000004L
#define VS_FF_PRIVATEBUILD      0x00000008L
#define VS_FF_INFOINFERRED      0x00000010L
#define VS_FF_SPECIALBUILD      0x00000020L

/* ----- VS_VERSION.dwFileOS ----- */
#define VOS_UNKNOWN             0x00000000L
#define VOS_DOS                 0x00010000L
#define VOS_OS216               0x00020000L
#define VOS_OS232               0x00030000L
#define VOS_NT                  0x00040000L
#define VOS_WINCE               0x00050000L

#define VOS__BASE               0x00000000L
#define VOS__WINDOWS16          0x00000001L
#define VOS__PM16               0x00000002L
#define VOS__PM32               0x00000003L
#define VOS__WINDOWS32          0x00000004L

#define VOS_DOS_WINDOWS16       0x00010001L
#define VOS_DOS_WINDOWS32       0x00010004L
#define VOS_OS216_PM16          0x00020002L
#define VOS_OS232_PM32          0x00030003L
#define VOS_NT_WINDOWS32        0x00040004L

/* ----- VS_VERSION.dwFileType ----- */
#define VFT_UNKNOWN             0x00000000L
#define VFT_APP                 0x00000001L
#define VFT_DLL                 0x00000002L
#define VFT_DRV                 0x00000003L
#define VFT_FONT                0x00000004L
#define VFT_VXD                 0x00000005L
#define VFT_STATIC_LIB          0x00000007L

1 VERSIONINFO LOADONCALL MOVEABLE DISCARDABLE IMPURE
FILEVERSION 1, 0, 0, 0
PRODUCTVERSION 1, 0, 0, 0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
{
 BLOCK "StringFileInfo"
 {
  BLOCK "040904E4"
  {
   VALUE "FileVersion",  "1.0.0.0\000\000"
   VALUE "ProductVersion",  "1.0.0.0\000\000"
   VALUE "Last Compile",  "2011-09-14 10:46\000\000"
  }
 }
 BLOCK "VarFileInfo"
 {
  VALUE "Translation", 1033, 1252

 }
}

MAINICON ICON "ZCore_Icon2.ico"
PLATFORMTARGETS RCDATA {1}


Posted: 14.10.2011, 17:36
by seawolf
Sorry, my fault
When I committed the files I missed to add all .res files

In a few minutes do a svn checkout

Posted: 17.10.2011, 10:05
by jeremicm
Still don't work... I got latest svn (947) and it's same...
zcore.res file is deleted every time i try to build package and error is raised about that icon...

here's screenshot of build log...

http://imageshack.us/photo/my-images/545/greska.png/

Posted: 17.10.2011, 18:20
by seawolf
Could you try this file?

You should replace ZCore.dproj with the same file stored on the zip

Posted: 18.10.2011, 10:20
by jeremicm
it work now, but i had to remove


{$IFDEF DELPHI16_UP}Winapi.{$ENDIF} declaraton from ZDbcAdoResultSet.pas (can't find winapi.dcu file)
and
<main_icon> xml tag from ZParseSQL.dproj file (had same icon error on parsesql project)...

Posted: 18.10.2011, 11:10
by MYSQL889
I found the same little problem jeremicm, the rest seems to work well. Windows 7 32 Bit - Delphi XE2
Thanks for your work. :wink:
jeremicm wrote:it work now, but i had to remove


{$IFDEF DELPHI16_UP}Winapi.{$ENDIF} declaraton from ZDbcAdoResultSet.pas (can't find winapi.dcu file)
and
<main_icon> xml tag from ZParseSQL.dproj file (had same icon error on parsesql project)...