Search found 18 matches

by preethis
Tue Nov 05, 2019 6:54 am
Forum: C++ Development
Topic: wxDialog launched behind application
Replies: 1
Views: 441

wxDialog launched behind application

Code snippet inside SampleWrapper.exe: wxDialog *dlgTmp = new wxDialog(NULL, -1, "", wxDefaultPosition, wxSize(0, 0)); dlgTmp->CenterOnScreen(); dlgTmp->Show(true); wxWindow *pWin = dlgTmp; long ret = ShowUI(pWin, strTitle, srtID, defaultmap, nDlgRetCode, strOut); Our Project UI is in Angu...
by preethis
Thu Aug 23, 2018 5:22 am
Forum: C++ Development
Topic: wxExecute: Create synchronous process
Replies: 1
Views: 525

wxExecute: Create synchronous process

Hi, Have run a standalone application synchronously,used the below code in my program. Once the standalone application completes, then only the control is coming back. void LaunchFM(wxString strCmd) { long lExecRet = wxExecute(strCmd, wxEXEC_SYNC); cout << "Result:" << lExecRet; } If i man...
by preethis
Wed Jul 11, 2018 4:44 am
Forum: wxCode
Topic: wxPDF : Assert warning
Replies: 1
Views: 1816

wxPDF : Assert warning

Hi All, We are using wx3.1 in our application. Windows OS. When saving a file as PDF using wxPDF, it is throwing the attached warning pop-up. If we give cancel, we can suppress the further warnings. Can you please help me to resolve this. We are using only the wx binaries that is pre-built and given...
by preethis
Wed Jun 13, 2018 4:39 am
Forum: Platform Related Issues
Topic: Assert Warnings related to Stdpbase.cpp and strvararg.h in MAC
Replies: 1
Views: 2033

Assert Warnings related to Stdpbase.cpp and strvararg.h in MAC

We are using WxWidgets 3.1 and Our project will run both in Windows and MAC. In Windows we are using VS 2017 IDE and In MAC XCode IDE. We are not using WX GUI. The below warning messages are shown in the terminal when we run our application in MAC. In Windows there are no such warnings. Is there any...
by preethis
Wed Jun 13, 2018 4:27 am
Forum: C++ Development
Topic: Assert Error: wxClassInfo:Register()
Replies: 9
Views: 2424

Re: Assert Error: wxClassInfo:Register()

I've a created a sample dll project with few functionalities[No dialog or message box NO GUI nothing]. Linker: wxbase311u.lib wxmsw311u_core.lib Preprocessor: WIN32;NDEBUG;_WINDOWS;_USRDLL;SAMPLE_EXPORTS;WXWIDGETSVERSION_2_5_OR_HIGHER;NOPCH;__WXMSW__;WXUSINGDLL; Set as Unicode character Set and remo...
by preethis
Sun May 06, 2018 6:10 am
Forum: C++ Development
Topic: Assert Error: wxClassInfo:Register()
Replies: 9
Views: 2424

Re: Assert Error: wxClassInfo:Register()

We are not using command prompt to build. Using Visual Studio 2013 IDE.

Is there any way to hide this popup or to :roll: find which lib is linked more than once?
Please help me resolving this
by preethis
Sat May 05, 2018 3:42 am
Forum: C++ Development
Topic: Assert Error: wxClassInfo:Register()
Replies: 9
Views: 2424

Re: Assert Error: wxClassInfo:Register()

we are using wx 3.0 that is pre-built and given by our client, Which is working fine.
When we try to integrate the same with our project will all the settings as in their project, it is throwing this warning.
Is there any way to hide this warning??

Thanks
by preethis
Thu May 03, 2018 1:14 pm
Forum: C++ Development
Topic: Assert Error: wxClassInfo:Register()
Replies: 9
Views: 2424

Re: Assert Error: wxClassInfo:Register()

Am just linking the below lib file. that too only once linked.
wxbase30u.lib

Preprocessor:
__WXMSW__
wxUSE_UNICODE=1
WXUSINGDLL
WXWIDGETSVERSION_2_5_OR_HIGHER

Please somebody help me to resolve this.
by preethis
Fri Apr 20, 2018 5:05 am
Forum: C++ Development
Topic: Assert Error: wxClassInfo:Register()
Replies: 9
Views: 2424

Assert Error: wxClassInfo:Register()

When i try to launch my application i am getting the below error: " ..\..\src\common\object.cpp(251): assert "classInfo->Get(m_classname) == NULL " failed in wxClassInfo::Register(): Class "wxTreeListHeaderWindow2" already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLAS...
by preethis
Mon Apr 09, 2018 10:21 am
Forum: C++ Development
Topic: wxEvtHandler: Events are not cached
Replies: 2
Views: 704

wxEvtHandler: Events are not cached

Basically our application will open a device (hardware) that will scan some data and will return. There is a windows service running that will trigger the events upon the device completed scanning. In our client application its working perfectly. We are extending their solution and created out own s...
by preethis
Mon Apr 09, 2018 9:36 am
Forum: C++ Development
Topic: wxFileSystem::OpenFile Returns NULL
Replies: 9
Views: 1953

Re: wxFileSystem::OpenFile Returns NULL

Thanks PB.
I've used "wxInitializer initializer;" before opening font file. My issue got resolved.
@shiv1m : can you try the same before calling your dll function.
by preethis
Wed Apr 04, 2018 5:24 am
Forum: C++ Development
Topic: wxFileSystem::OpenFile Returns NULL
Replies: 9
Views: 1953

Re: wxFileSystem::OpenFile Returns NULL

Thanks for your suggestion. I've tried with WXFile. It worked for me. But still we dont have permission to modify the dll which is using wxFSFile for opening Font file.
Why isn't wxFSFile working for me? Is there any configuration i am missing or anything?
Please help.
by preethis
Tue Apr 03, 2018 2:26 pm
Forum: C++ Development
Topic: wxFileSystem::OpenFile Returns NULL
Replies: 9
Views: 1953

Re: wxFileSystem::OpenFile Returns NULL

Yes. I've tried without using FileNameToURL call. That time also i am facing the same issue. Our client has provided one dll which uses the wxFileSystem to open the ttf(font) file. That time we faced the same issue. Just we tried to open the same ttf file in sample application to analyse why we are ...
by preethis
Tue Apr 03, 2018 1:53 pm
Forum: C++ Development
Topic: wxFileSystem::OpenFile Returns NULL
Replies: 9
Views: 1953

wxFileSystem::OpenFile Returns NULL

Wx Version : 3.0 OS : Windows 7 Below is my code snippet for opening the given file. But fontFile pointer is always returning NULL. I've tried giving relative path as well as absolute path. In both the cases its NULL only. This file is present in the mentioned location and also i tried giving normal...
by preethis
Thu Dec 14, 2017 5:27 am
Forum: Platform Related Issues
Topic: wxFilesystemWatcher error in XCode
Replies: 1
Views: 1122

wxFilesystemWatcher error in XCode

MAC : OSX version 10.13 wx : 3.0 Preprocessor Macros: __WXMAC__ WXUSINGDLL wxUSE_BASE=1 __WXMAC_XCODE__=1 _UNICODE UNICODE wxUSE_UNICODE __WXOSX_COCOA__ Other C++ Flags: -D__WXMAC__ -DWXUSINGDLL -D__WXNDEBUG__ -DMACOS -read_only_relocs supress -DwxUSE_UNICODE When i try to compile xcode project that...