PDA

View Full Version : errors when compiling



dianne
11-23-2005, 11:59 AM
hi,

we are currently using version 6.3 and we're upgrading to 11.0. however, in doing this process, i am getting compiler errors:

Setup.rul
C:\My Installations\GM-BACN\GM-BACN\Script Files\smplFont.h(9) : warning W7501: 'HWND_BROADCAST' : macro redefinition
Linking...
ifx.obl(EventsPriv.obs) : error L8407: 'GDI32.AddFontResource' : conflicts with previous definition
Setup.inx - 1 error(s), 1 warning(s)
ISDEV : warning -4371: There were warnings compiling InstallScript


in my setup.rul, i have:
#inculde "smplFont.h"
#inculde "smplFont.rul"

I believe the error is caused by these lines of codes that I have:
InstallFont(.....);

Any help would be appreciated.

Thanks.

RobertDickau
11-23-2005, 12:09 PM
InstallShield X added support for installing fonts, so the definitions you used in your Professional 6 code are colliding with the now-built-in code; can you comment out the prototype for GDI32.AddFontResource and HWND_BROADCAST in your code?