Win32 RC file #include problem.

Passolo 2015 Version: 15.1.410.0

I have a MASTER project and a SLAVE cascaded project referencing the MASTER, all containing Win32 RC files.

The (en-US) source file in the MASTER project contains this set of statements at the end of the RC file:

MASTER PROJECT SOURCE FILE

#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
1 TYPELIB "CodaOdt.tlb"
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE 9, 1
#pragma code_page(1252)
#endif
#include "Beta.rc"
#include "Ver.rc"
#include "afxres.rc" // Standard components
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

MASTER PROJECT TARGET FILE AFTER GENERATION

The (en-GB) generated file from this MASTER project contains these equivalent statements:

#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
1 TYPELIB "CodaOdt.tlb"
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
#pragma code_page(1252)
#endif
#include "Beta.rc"
#include "Ver.rc"
#include "afxres.rc" // Standard components
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

So far so good.

If I open up the source file stringlist of the SLAVE project, I see the correct set of includes.

If I open up the target file stringlist of the SLAVE project, I can see the correct set of includes.

MASTER PROJECT TARGET FILE AFTER GENERATION

#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
1 TYPELIB "CodaOdt.tlb"
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
#ifdef _WIN32
LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
#pragma code_page(1252)
#endif
#include "resource.h"
#include "afxres.h"
#include "Ext/Resource.h" // Standard components
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

The red strings are incorrect, and I should be getting the same statements as the other examples.

I have no idea how these includes are being corrupted or where these new strings are coming from.

I'm hoping someone else has had this problem and has a fix...

Regards

Mark

Parents Reply Children
No Data