Strange problem installing 943 on DelphiXE2

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
jeremicm
Senior Boarder
Senior Boarder
Posts: 61
Joined: 18.10.2006, 17:07
Contact:

Strange problem installing 943 on DelphiXE2

Post 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}

seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post 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
jeremicm
Senior Boarder
Senior Boarder
Posts: 61
Joined: 18.10.2006, 17:07
Contact:

Post 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/
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

Could you try this file?

You should replace ZCore.dproj with the same file stored on the zip
jeremicm
Senior Boarder
Senior Boarder
Posts: 61
Joined: 18.10.2006, 17:07
Contact:

Post 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)...
MYSQL889
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: 16.06.2008, 23:04

Post 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)...
Locked