Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Visual C++ 4.0 and ODBC(32bit) error: "Function sequence error" on Win95 platform

Re: Visual C++ 4.0 and ODBC(32bit) error: "Function sequence error" on Win95 platform

From: Rick Brown <rick_at_onramp.net>
Date: 1997/02/27
Message-ID: <rick.45.00079AB7@onramp.net>#1/1

In article <01bc24eb$52e539c0$e3f04fc1_at_p90dos> "Bert Boer" <g.p.boer_at_net.hcc.nl> writes:
>From: "Bert Boer" <g.p.boer_at_net.hcc.nl>
>Subject: Visual C++ 4.0 and ODBC(32bit) error: "Function sequence error" on
>Win95 platform
>Date: 27 Feb 1997 20:25:00 GMT
 

>I'm having problems using:
>Visual C++ MFC 4.0 and the
>Oracle 7.2 ODBC(32 bit) V1.13.0500 driver downloaded from;
>http://www.oracle.com/ as:
>odbcw95.exe (self extracting), connecting with
>SQL*NET V 2 to:
>Oracle 7.2 for Windows95, installed locally (90 day trial version)
>on a Windows95 platform.
 

>- The test ODBCT32.EXE which comes with the ODBC download works fine.
 

>- When I use the Visual C++ tutorial samples which comes with the
>standard edition in chapter 30,31,32. I find that the connection with the
>database goes ok. There is a (odbc) database installation application
>included
>called STDREG.EXE which is supposed to setup a "student enroll" database.
>I find that the sql "create table" seems to work (the first table out of 6
>has been added), but then the "insert" doesn't happen,
>instead at that point I get an error dialog with header:
>"Oracle", and text:
>"Function sequence error", but no ora fault code...
 

>- Also by writing programs using the ODBC database classes on the existing
>"Scott","Tiger" database gives me this same error dialog...

Try calling SQLFreeStmt() between your create and insert calls. "Function sequence error" is [often, sometimes] caused by that.

Rick Brown
rick_at_onramp.net Received on Thu Feb 27 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US