Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Driver's SQLAllocEnv failed with FPW26 and Lotus Notes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Driver's SQLAllocEnv failed with FPW26 and Lotus Notes
Divers
Thread ID:
00496155
Message ID:
00496155
Vues:
71
Hi all!

I want to access the Lotus Notes Address Book with FPW26 using ODBC 16-bit and I always get the same error:

ODBC error IM004 (0): [Microsoft][ODBC DLL] Driver's SQLAllocEnv failed

What does it means?

I have Lotus Notes Desktop 4.6.5, NotesSQL 2.04 16-bit, ODBC.DLL 2.00.1510, FPW26 and WinME, but there is no server. I've tried the same code on fresh installation of Win95 and got the same results.

Here is the FPW26 code:
set library to fpsql
errmsg=""
errno=0
h=dbconnect("Address", "Francois", "")
if h < 0
	x=dbError(0, @errmsg, @errno)
	? errmsg, h, x
else
	? "h=", h
endif
part of odbc.ini:
[ODBC Data Sources]
Address=Lotus NotesSQL 2.0 (16-bit) ODBC Driver (*.nsf)

[ODBC]
TraceAutoStop=1
Trace=0
TraceFile=C:\SQL.LOG

[Address]
Driver=C:\WINDOWS\SYSTEM\NotesSQL.dll
Description=
Server=
Database=c:\notes\data\names.nsf
MaxVarcharLen=254
MaxSubquery=20
MaxStmtLen=4096
MaxRels=20
MaxLongVarcharLen=512
KeepTempIdx=0
ShowImplicitFlds=0
MapSpecialChars=Y
Any help or suggestion would be greatly apreciated. TIA
François Dagenais
LAGIBERT Informatique
Répondre
Fil
Voir

Click here to load this message in the networking platform