Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Driver's SQLAllocEnv failed with FPW26 and Lotus Notes
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Driver's SQLAllocEnv failed with FPW26 and Lotus Notes
Miscellaneous
Thread ID:
00496155
Message ID:
00496155
Views:
72
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
Reply
Map
View

Click here to load this message in the networking platform