Тема: #ifdef.ax4
Показать сообщение отдельно
Старый 23.03.2007, 10:37   #8  
belugin is offline
belugin
Участник
Аватар для belugin
Сотрудники Microsoft Dynamics
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии 2011
Лучший по профессии 2009
 
4,622 / 2925 (107) +++++++++
Регистрация: 16.01.2004
Записей в блоге: 5
Найдено:
TabaxLite 0.2

сделано так:
class declaration:
X++:
    #AOT

    #define.PaneWindowCL("PaneWindowCL")
    #if.ReferencesPath
        #define.PaneWindowCL("AxPaneWnd")
        #define.Ax4
    #endif

    #ifnot.ReferencesPath
        #define.Ax3
    #endif
pathes:
X++:
...
            ["\\Data Dictionary\\Base Enums\\", #imageBaseEnum],
            #if.ax3
            ["\\Data Dictionary\\Feature Keys\\", #imageFeatureKey],
            #endif
...
            ["\\Data Dictionary\\License Codes\\", #imageLicenseCode],
            ["\\System Documentation\\Feature Keys\\", #ImageDocumentationItem],
            #if.ax4
            ["\\References\\", #ImageReference],
            ["\\HTML Help Files\\", #imageHelpFile],
            #endif
...
За это сообщение автора поблагодарили: Logger (3).