Quark Extensions and Pro*C

From: Kylian Wrzesinski <ky_at_vistachrome.com>
Date: Tue, 11 Jan 1994 17:26:07 GMT
Message-ID: <ky-110194122607_at_kymac.vistachrome.com>


  Has anyone had any experience writing Quark extensions for the Macintosh, incorporating Pro*C code? If I link the Oracle code (unchanged) to a stand alone application, it works fine. When I link it to a Quark Extension. (Desk Acc.. type in Think C) it behaves as if the OCI calls generated by the Precompiler don't exist. No bombs, errors, sqlcode set..etc... but it doesn't do anything either.

....login...

EXEC SQL WHENEVER SQLERROR GOTO Blah;

  strcpy ((char *)Name.arr,"Broke");

  EXEC SQL SELECT 'WORKS' INTO :Temp FROM DUAL;         

		Temp.arr[Temp.len] = '\0';
	 c2p (Temp);

		SetIText (myhndl,Temp);

.... other UI stuff...

will set the text field to "Broke"... whereas, you'd think it should be set to "WORKS"...

Any ideas?

Kylian Wrzesinski
ky_at_vistachrome.com Received on Tue Jan 11 1994 - 18:26:07 CET

Original text of this message