AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

Create an ODBC Driver

Ein Thema von mohfa · begonnen am 11. Feb 2007 · letzter Beitrag vom 19. Feb 2007
 
Reinhard Kern

Registriert seit: 22. Okt 2006
772 Beiträge
 
#19

Re: Create an ODBC Driver

  Alt 17. Feb 2007, 16:13
Zitat von mohfa:
...
Should i convert all My DBMS Pas Files into C++ or what ?
...
Hello, maybe i do not understand your problem at all. From the time on when there appeared programmable objects like the first microprocessors i used mixed language programming, C and Assembler, Delphi + Assembler + C, or whatever ist necessary. We all use today Delphi + C/C++, since Win32 API is written in C/C++ and it is definded in C/C++. It is really impossible to write a single language software, so mixed language cannot be a problem at all!

Of course you need not to port your software to C/C++ - you just use it from your driver written in C/C++. To give a simple example: there is surely a function to read a record from the database, and surely the ODBC driver needs this function at a certain point. The functionality of "ReadRecord" remains defined by Pascal if you have decided so in the past. Your newly created driver just calls this function - it does not really matter if from a Delphi or a C environment; between DLLs the language is not important and for direct calls you need some knowhow about calling conventions.

But, as i said, maybe i dont understand anything.

SY Reinhard
  Mit Zitat antworten Zitat
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:56 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz