Search found 29 matches

by kyadav78
Thu Mar 04, 2021 11:57 am
Forum: Compiler / Linking / IDE Related
Topic: Linking error when integrating wxwidget3.1.4 to my c++ project.
Replies: 5
Views: 2552

Re: Linking error when integrating wxwidget3.1.4 to my c++ project.

HI,
adding wxregexu.lib in the project resolves the errors.
Thanks you helping me out.
Thank you PB for clarification .
Regards
Kunal
by kyadav78
Thu Mar 04, 2021 9:01 am
Forum: Compiler / Linking / IDE Related
Topic: Linking error when integrating wxwidget3.1.4 to my c++ project.
Replies: 5
Views: 2552

Re: Linking error when integrating wxwidget3.1.4 to my c++ project.

Hi,
No , i have not added that in my project. when we upgraded last version 3.0, or 2.8 we never used that library.
Should i add wxregex.lib?
Regards
Kunal
by kyadav78
Thu Mar 04, 2021 5:43 am
Forum: Compiler / Linking / IDE Related
Topic: Linking error when integrating wxwidget3.1.4 to my c++ project.
Replies: 5
Views: 2552

Linking error when integrating wxwidget3.1.4 to my c++ project.

Hi, I have built wxwidget in vs2019 and created static libraries, when i am integrating wxwidget 3.1.4 libraries statically with my C++ project , i am getting following linking errors . could you please help me in resolving these errors.: 1>wxbase314u.lib(regex.obj) : error LNK2001: unresolved exter...
by kyadav78
Mon Jul 20, 2020 4:18 pm
Forum: C++ Development
Topic: wxURL:An error occurred during negotiation
Replies: 5
Views: 1604

Re: wxURL:An error occurred during negotiation

Hi, i can not make that change. can't it be improvised ? please suggest something with existing code. can below code make any difference: if (url.GetError() != wxURL_NOERR) { wxSleep(5); data = url.GetInputStream(); } Will above change has any adverse effect? will it work to reinitialize input strea...
by kyadav78
Mon Jul 20, 2020 6:55 am
Forum: C++ Development
Topic: wxURL:An error occurred during negotiation
Replies: 5
Views: 1604

wxURL:An error occurred during negotiation

Hi, My c++ App download a pdf file located at http server using below code . It runs for hours ~10 before getting with error "An error occurred during negotiation". this issue is seen with only Linux server. the App gets a sequence of tasks/jobs , each task download same pdf file from the ...
by kyadav78
Mon Jul 20, 2020 6:22 am
Forum: C++ Development
Topic: wxURL and "An error occurred during negotiation"
Replies: 6
Views: 1933

Re: wxURL and "An error occurred during negotiation"

hi,
Yeah i have checked, this is very old. But i am facing the issue now in my code. And i have searched it in forum i did not find any new case having same issue.
Regards
Kunal
by kyadav78
Mon Jul 20, 2020 5:02 am
Forum: C++ Development
Topic: wxURL and "An error occurred during negotiation"
Replies: 6
Views: 1933

Re: wxURL and "An error occurred during negotiation"

Hi,
Could you please share the working sample code with "wait" addition? i am facing similar issue while downloading a pdf file from a server. It works for many hours around 8-9 hrs, but it fails later with "An error occurred during negotiation".

Regards
Kunal
by kyadav78
Thu Jul 16, 2020 3:52 am
Forum: C++ Development
Topic: PDF file located at http server is not reading using wxInputStream, throwing error code 3 and 6, OS: Linux
Replies: 9
Views: 1105

Re: PDF file located at http server is not reading using wxInputStream, throwing error code 3 and 6, OS: Linux

HI,
i can not change it to cURL now. please suggest some improvement which i can add to me existing code.
Regards
Kunal
by kyadav78
Wed Jul 15, 2020 4:08 am
Forum: C++ Development
Topic: PDF file located at http server is not reading using wxInputStream, throwing error code 3 and 6, OS: Linux
Replies: 9
Views: 1105

Re: PDF file located at http server is not reading using wxInputStream, throwing error code 3 and 6, OS: Linux

Hi,
Yes, this issue comes at random, for next download it works fine.
Is there any mechanism i can use to read and write line wise? will it help?
Regards
Kunal
by kyadav78
Tue Jul 14, 2020 4:01 am
Forum: C++ Development
Topic: PDF file located at http server is not reading using wxInputStream, throwing error code 3 and 6, OS: Linux
Replies: 9
Views: 1105

Re: PDF file located at http server is not reading using wxInputStream, throwing error code 3 and 6, OS: Linux

Hi, Stress testing mean Application will be tested and run for 2-3 days , and application will receive a xml base job , it process it and as part of instruction it download the pdf file using wxWidget functions mentioned above. the issue is seen in every time we are testing once in a day, so there i...
by kyadav78
Mon Jul 13, 2020 4:54 am
Forum: C++ Development
Topic: PDF file located at http server is not reading using wxInputStream, throwing error code 3 and 6, OS: Linux
Replies: 9
Views: 1105

PDF file located at http server is not reading using wxInputStream, throwing error code 3 and 6, OS: Linux

Hi, We are doing stress testing our application in linux machine, sometime we have found, while reading a pdf file located at http server wxInputStream is unable to initialize with error code is 6. the second issue wxInputStream is unable to read and giving error code 3. code snippet: wxURL url(sURL...
by kyadav78
Tue Dec 04, 2018 12:34 pm
Forum: Compiler / Linking / IDE Related
Topic: wxZlibInputStream Errors with wxwidget3.1.1
Replies: 2
Views: 14588

wxZlibInputStream Errors with wxwidget3.1.1

HI, I have built wxWidget3.1.1 static lib in visual studio 2015 for both DEBUG and RELEASE mode. Build was Successful. Next while building an application which uses static wxWidget libraries in Debug mode, I am getting below WxWidget:1wxZlibInputStream errors "Error LNK2019 unresolved external ...
by kyadav78
Fri Nov 23, 2018 12:20 pm
Forum: Compiler / Linking / IDE Related
Topic: Error while integrating WxWidget2.8 in my 32-bit app in visual studio 2015
Replies: 2
Views: 1047

Error while integrating WxWidget2.8 in my 32-bit app in visual studio 2015

Hi, I have compiled the wxWidget2.8 statically for both debug and release mode, it successfully compiled, but when i am integrating with my application, it is throwing lot of wxonassert and "wxEmptyString" errors alogn with other wx errors.: wxwidget2.8 compilation command: nmake -f makefi...
by kyadav78
Fri Mar 02, 2018 6:45 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidget 3.0 linking error while compiling my project in DEBUG mode
Replies: 27
Views: 6509

Re: wxWidget 3.0 linking error while compiling my project in DEBUG mode

Hi,
Problem is solved. I was using dynamic wxWidget library , i should have used statid liobrayr.
Regards
Kunal
by kyadav78
Fri Mar 02, 2018 4:38 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidget 3.0 linking error while compiling my project in DEBUG mode
Replies: 27
Views: 6509

Re: wxWidget 3.0 linking error while compiling my project in DEBUG mode

Hi, My project using below list of libraries: wxbase30u.lib wxbase30u_net.lib wxbase30u_xml.lib wxzlib.lib wxexpat.lib Ws2_32.lib urlmon.lib wininet.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Regard...