Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » boost cppnetlib integration with profuis Collapse All
Subject Author Date
mediatime Conseil Sep 25, 2014 - 6:01 AM

Hi

I am using profuis et profskin in a dll project and it’s working without any problem... I am trying to add the cppnetlib to my project and it seems that it prevent profuis dlls from loading correctly.
I used cppnetlib and profuix in a normal (exe) project and its working well.
I am using vs 2013 and profuis 3.0

the errors I have are :

First assertion :

Program: C:\Windows\system32\mfc120d.dll
File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dllinit.cpp
Line: 687


Second :
Program: C:\Windows\system32\mfc120d.dll
File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dllmodul.cpp
Line: 130

Third and exit when I try to call a skinned dialog in the ExtResiazableDialog.cpp :
bool bUpdateBarsOnThisMsg = false;
    if( m_bEnabledControlBarUpdate )
    {
        CWinApp * pApp = AfxGetApp();
            ASSERT( pApp != NULL );
        BOOL bIdleMsg = pApp->IsIdleMessage(
#if _MFC_VER < 0x700
            &pApp->m_msgCur
#else
            &(::AfxGetThreadState()->m_msgCur)
#endif
            );
        if( bIdleMsg )
            bUpdateBarsOnThisMsg = true;
    }

pApp is null so the program continue breaking :
Second Chance Assertion Failed: File f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\winocc.cpp, Line 201

Do you have any advice to how i can resolve this?? it may be a preprocessor definition I ommit or may be the ccpnetlib is disabling a preprocessor used in profuix?

in my program i am using :
    CExt_ProfUIS_ModuleState::InitExtension(AfxGetStaticModuleState());
    CExt_ProfSkin_ModuleState::InitExtension(AfxGetStaticModuleState());


Thank you

Art Wilkes Jul 16, 2015 - 9:58 PM

Hi
I did not see any additional post so reviewed our email and found the following request from support.
Please send a demo as we are not experiencing the problem.