Skip to the main content.
Downloads Thriftly Login
Downloads Thriftly Login
Group 762

Migrate and run DataFlex applications with Oracle, MS SQL Server, PostgreSQL, MySQL &  MariaDB.

flex2Crystal

Stuck in Crystal XI?  Upgrade and use the latest versions of Crystal Reports with DataFlex applications. 

BTR2SQL

Seamlessly convert from Btrieve transactional database to PostgreSQL, Oracle, and MS SQL Server.

thriftly-1

Quickly build multi-protocol web services with the same API. Supports JSON-RPC, REST, SOAP,  Thrift, and gRPC.

 Group 671-1

 

Why Mertech?

1 min read

Btrieve Error: Could not load Pervasive Extended Data Type Conversion library - PEDTCONV.dll

Symptom

A possible scenario that can happen through the Btrieve migration process is when a popup error is shown: “ERROR: could not load Pervasive Extended DataType Conversion library (pedtconv).  Please contact support before continuing to use the application.”


Cause

Btrieve supports a good number of data types natively; however, there are many more used by the different programming languages that can utilize Btrieve.  For instance, Btrieve supports dates by using a four byte binary structure with year, month and day.  Many applications store dates as a string or as a Julian value.


By default, these values would be defined in the DDF (Pervasive.SQL Schema) as just a string or a number.  Migrating this information to SQL as defined is okay; but what if you want to write a SQL query comparing two such fields.  Comparing a string date (“10-10-2009”) to a number (19354839) just isn’t going to produce a desirable result.  It would be much better if both used a real date data type.


Resolution

Pervasive introduced an extra DDF long ago called FieldExt.ddf which allows further definition of almost 30 more types.  To read these types, Pervasive has a library called the Pervasive Extended Data Type Conversion Library which lives in the PEDTCONV dll found in their Active-X SDK.  This can be downloaded from the Pervasive Developer Center: http://www.pervasive.com/developerzone/sdk/.  When installing the SDK, be sure to install the Redistributable files.


Once you have the pedtconv.dll file, copy it into the application directory where the Mertech w3btrv7/w3btrv7 dll lives.

 

Why Migrate from Btrieve to PostgreSQL and other Relational Databases?

Why Migrate from Btrieve to PostgreSQL and other Relational Databases?

Introduction Many independent software vendors (ISV) and corporate users still rely on applications that use a category of database collective called...

Read More
Four Challenges in Converting COBOL Applications from ISAM Databases to Relational Databases

Four Challenges in Converting COBOL Applications from ISAM Databases to Relational Databases

COBOL applications are the foundation of numerous essential business functions, especially within the banking, insurance, and government sectors....

Read More
Application Modernization 101: Ultimate Guide to Digital Transformation

Application Modernization 101: Ultimate Guide to Digital Transformation

Imagine breaking free from the constraints of old, monolithic systems and embracing the agility and innovation of cloud-based solutions.

Read More