I'm using DLL resources and buring a RC file inthe the exe with one icon (so windows shows the exe with that icon). The icon that I'm calling is in the DLL, resname WIFTLOGO1, and in the RC file, resname 1.
In the main app I have this code
- Code: Select all Expand view
SET RESOURCES TO "WIFTSRN.DLL"
// Do some checking for error files (????.ERR) If any are found round
// them up and send them by email using blat.exe to programer
// It there are err files then delete all CDX files and logout any users
// Check EXE rights to run on this system (burnt HD serial and vol id to
// the end of the exe after the rc script has added the icon)
DEFINE ICON oFolderICO NAME "WIFTLOGO1
DEFINE WINDOW oMainWin;
TITLE "IFT for Windows";
MDI MENU BuildMNU1();
ICON oFolderICO
ACTIVATE WINDOW oMainWin MAXIMIZED ON INIT (Main2(cLineCmd))
lError := .F.
RETURN
The rc files has one line that reads
- Code: Select all Expand view
1 ICON .\RCS\FOLDER02.ICO
My rmk script at the end has the following
- Code: Select all Expand view
BLINKER @$(LnkFile)
RC -k WIFT.RC WIFT.EXE
BURN WIFT.EXE NOVERBOSE
Am I doing something wrong? The only icon that is displayed is that window box with the blue line on top insted of my icon. When I look at the exe through windows explorer I see the RC icon fine but when I run the app I don't.