- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I'm using the following statement:
bret = SQLConfigDataSource(NULL,ODBC_CONFIG_SYS_DSN,"Oracle APXDEV driver"//char(0),"DSN=APXDEV"//char(0)//char(0))
and I know that SQLConfigDataSource is listed in odbccp32.lib, and I have that in my list of Additional Dependencies under Linker input for the project. But despite all attempts with many different settings, etc, I cannot get past:
error LNK2019: unresolved external symbol _SQLCONFIGDATASOURCE
What am I missing?
Many thanks in advance
Mike
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fortran is case-insensitive whereas C is case-sensitive (and there are other differences). You will have to provide a proper interface for this and other routines from that library, along the lines of ISO_C_BINDING (the module and the keywords).
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page