Enrico ..
Sorry about the file .. the .rc is looking to load all my icons and bitmaps .. lets try it this way ..
Go To \Samples and lets use Buildx.bat AdoRick .. before you compile substitute this AdoRick.rc file.
Code: Select all
// Generated by ResEdit 1.6.6
// Copyright (C) 2006-2015
// http://www.resedit.net
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
CUSTOMER DIALOG 3, 13, 538, 356
STYLE WS_CHILD
FONT 8, "Arial"
{
CONTROL "", 109, "TFolderex", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 3, 4, 524, 308
}
CUSTVIEW DIALOG 12, 11, 513, 311
STYLE WS_CHILD
FONT 6, "MS Sans Serif"
{
LTEXT "Customer Type", 110, 8, 8, 37, 22, SS_NOPREFIX | WS_GROUP
CONTROL " Individual ", 150, "BUTTON", BS_AUTORADIOBUTTON, 46, 10, 63, 12
CONTROL " Commercial", 151, "BUTTON", BS_AUTORADIOBUTTON, 46, 24, 63, 12
CONTROL "Customer Id", 111, "STATIC", SS_CENTER | SS_NOPREFIX | WS_BORDER | WS_GROUP, 112, 11, 94, 10
EDITTEXT 152, 112, 23, 94, 12, ES_AUTOHSCROLL | NOT WS_TABSTOP | WS_BORDER
LTEXT "Company or Last Name", 112, 7, 39, 105, 10, SS_NOPREFIX | WS_GROUP
LTEXT "First Name", 113, 119, 39, 73, 10, SS_NOPREFIX | WS_GROUP
EDITTEXT 153, 7, 50, 105, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 154, 117, 50, 76, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
GROUPBOX "", 196, 2, -2, 213, 304, BS_GROUPBOX
CONTROL "Customer Info", 172, "TXBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 221, 1, 290, 215
}
SERVVIEW DIALOG 12, 11, 436, 311
STYLE WS_CHILD
FONT 6, "MS Sans Serif"
{
LTEXT "Company or Last Name", -1, 24, 58, 105, 10, SS_NOPREFIX | WS_GROUP
EDITTEXT 120, 24, 70, 105, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
}
You should get the Bcc72 errors .. however, if you remove the ResEdit header files .. the AdoRick compiles perfectly. Unfortunately, for those of us that use ResEdit or the Pelles C resource editor .. the header files are part of each .rc