Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : Activated ODBC Driver still saying "Demo Expired"Search Forum

Forum Home > FlexODBC - ODBC Driver for DataFlex Embedded DBMS > FlexODBC Forum

 New Topic 
 
 Post Reply 
[1]  
 Activated ODBC Driver still saying "Demo Expired" 
 Author   Message 
  Chen 
  
 Group: Members 
 Posts: 4 
 Joined: 2007-12-15 
 Profile
 Posted : 2008-10-04 07:47:29

HI,

I Installed a FlexODBC Driver and activated using the CD Key. However, while I was trying to develop a multi-threading program which multiple threads are able to read database simutainsly, I got strange ODBC driver windows pop up saying "Demo Expired" and ask me to activated again. Does that mean the driver does not support multi-threading or I have to some special things for using it uder ADO.NET? Thanks!

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-10-04 11:28:06

The way to get the component to behave correctly in ASP.net is to include that attribute, 'ASPCompat=True' in the calling page's page directive. FlexODBC requires the use of STA (single-threaded-apartment) threading model.

See also the msdn .NET Framework Developer Center:  http://msdn2.microsoft.com/en-us/library/system.stathreadattribute.aspx  

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to