- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
.NET objects can be accessed using the "Fortran Module Wizard" feature which generates Fortran interfaces for .NET assemblies. There is not a lot of documentation on this, though, and you have to understand the interfaces of the .NET object.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just received an email fromCanaima Software employee Nick Vogel.
They are working on an update to make f90sql compatible with IVF9. He also mentioned, that Intel has a fix which will be released next week.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For the long term, we are investigating licensing the sources from Canaimasoft. That hasn't happened yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just completed a bit of an overhaul of a mixed-language application (console app; Fortran calls C) that uses the Canaima database DLLs and LIB file (f90SQL Pro 2.01.001) and redistributables.
Previously I had this building under CVF6.6c/DevStudio98.The new console app builds and runs under Microsoft Developer Studio 2005 .Net, with Intel IA-32 Version 10.0.027 and the C++ compiler that ships with Dev Studio. Getting it to build was one thing; some minor coding - updating the template f90SQL.f90 that ships with the Pro version (based on Steve's update of the Lite version) and regenerating its .mod file. - was required to make it do sensible things.
Along the way I wrote up a document that describes in some detail how to build an example solution (although the mixed language example provided by Intel is good) and provides screen captures for all the steps, including linkage to our source control system (SourceGear Vault). It may be overkill for some, but I'm happy to make it available if it is useful (pdf attached;correction of egregious errors welcome).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
interface
C see http://msdn2.microsoft.com/en-us/library/ms712455.aspx
C see also ODBC32.lib in notepad
integer(2) function SQLAllocHandle
& (HandleType,InputHandle,OutputHandlePtr)
!DEC$ATTRIBUTES STDCALL,DECORATE,ALIAS:"SQLAllocHandle"::SQLAllocHandle
!DEC$ATTRIBUTES VALUE::HandleType
!DEC$ATTRIBUTES VALUE::InputHandle
!DEC$ATTRIBUTES REFERENCE::OutputHandlePtr
integer(2) HandleType
integer(4) InputHandle,OutputHandlePtr
end function
(etc)
To use it:
iRet = SQLAllocHandle(1, 0, EnvHndl)
This should look very familiar if you use f90sql.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page