dbTalk Databases Forums  

errorhandling in WinCe odbc-dll

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss errorhandling in WinCe odbc-dll in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Fabian Knauf
 
Posts: n/a

Default errorhandling in WinCe odbc-dll - 01-25-2010 , 09:39 AM






ASA 9/10 armt.40 odbc

Hi,

we discovered, that in C++ error handling within a sybase function does
not work when an error occurs within a backgroundthread.

If compiled with VS2008 and Compiler-Flag /EHsc then errors in a thread
are not reported and the application just finishes without any message.
But if compiles with Flag /EHa then errors are reported.

With this knowlegde we found that sometimes within the sybase dlls
there's an exeption error, which is not reported.

Are there dll availables which are compiled with /EHa too? Maybe in
ASA11?

Thanks
Fabian

Reply With Quote
  #2  
Old   
Nick Elson [Sybase iAnywhere]
 
Posts: n/a

Default Re: errorhandling in WinCe odbc-dll - 01-26-2010 , 11:18 AM






You are working from the standard distribution
so you have the one set of libraries we ship. If
we currently do not ship libraries that were
built with that compiler option then we just don't
build with that option currently.

I for one don't know if /EHS or /EHSc would have the
desired affect on either Windows Mobile or in conjunction
with the ODBC driver architecture. This could easily
become a very technical discussion and it may be something
that can not be discussed easily in this forum.

If this is an important issue for you, I would recommend
working closely with technical support (in your region) to
bring your requirements and your business case to the
attention of our engineering team so this can be looked
into appropriately.

Best wishes

"Fabian Knauf" <fk2412 (AT) web (DOT) de> wrote

Quote:
ASA 9/10 armt.40 odbc

Hi,

we discovered, that in C++ error handling within a sybase function does
not work when an error occurs within a backgroundthread.

If compiled with VS2008 and Compiler-Flag /EHsc then errors in a thread
are not reported and the application just finishes without any message.
But if compiles with Flag /EHa then errors are reported.

With this knowlegde we found that sometimes within the sybase dlls
there's an exeption error, which is not reported.

Are there dll availables which are compiled with /EHa too? Maybe in
ASA11?

Thanks
Fabian

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.