Posted by
Blair McGlashan on
Nov 27, 2000; 4:35pm
URL: https://forum.world.st/pl-recommend-r-dbms-file-manager-for-dolphin-4-tp3358276p3358342.html
Sanjay
You wrote in message news:8vnpqt$502rv$
[hidden email]...
> Andy, [ I had started this subject before, so some matl. may be
> rhetoric.]
> ....
> At present we use Sybase Adaptive Server Anywhere 6.0(ASA 6)
> ASA has an "embedded SQL interface" which consists of .h header files
> and import libraries .lib for Watcom C/C++, MSVC++, Borland C/C++
> ...and here is some addl info from the manual.
> Q.Primafacie can it be used with Dolphin to deploy apps
> (I know little about lib/dll etc so far mostly working with a RAD
> on Win and 3GLs in DOS)
It is very likely that you will be able to call the native libraries.
Dolphin can call most DLLs with very few exceptions. The ODBC interface is
called via the ODBC DLL directly from the image, for example.>
> info from manual...>>>
> ...Alternative to using import library...loading ASA interface lib
> dynamically w/o
> linking against import library...
> use esqldll.c
> 1. your program must call db_init_dll lo load DLL ...and db_fini_dll to
> unload
> 2. #include esqldll.h
> 3. compile esqldll.c ...(I have all the reqd c/c++ compilers)
> 4. link your object module to esqldll.obj
> >>>... end info from manual
Yes, you should be able to use esqldll.c. Incidentally with Dolphin 4.0, if
you have the .h file and know how construct type library IDL, the quickest
way to generate the Dolphin wrapper classes is to build a type library from
the header file, and then use the Active-X component wizard to generate the
module and structure definitions. This also avoids any errors in manual
transcription.
> If I can get some indication that this can be used with Dolphin then I
will
> try to
> go farther into it.
Using the native interface would seem the best way to go if you want minimal
deployment size and complexity and aren't concerned about supporting other
databases.
Actually I seem to recall that the somebody may already have built a native
interface to Sybase, but I can't remember who at present.
Regards
Blair