Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Components Misc > Facing problem ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 233 of 240
Post > Topic >>

Facing problem with DISAM

by gaurav707gupta@[EMAIL PROTECTED] Sep 4, 2007 at 05:18 AM

Hi Friends,

i am new to DISAM and facing a problem. So expect some help from you.

I am using D-ISAM byte design in my code.
But while writing a small program i am getting error 103 for isstart.

my key has 3 parts,
i) a charater array of size 50 (name of application)
2) an integer (parent no)
3) another integer (seq no)

my code extract is like

	(void) isstrec(table,rec,buf);
	 printf(" After isstrec iserror no [%d] ",iserrno);

	if(isstart(ifd,keyname,keylen,buf,mode) == ISERROR)
	{
		printf(" After isstart iserror no [%d] ",iserrno);
		return -1;
	}

In my program I am reading a ISAM file from start, pick application
name from it, getting the record for application (isread) and then
again writing the same record to another isam file based on some
condition.

we are using istart for the first part (application name) of the key.
So we have given keylen as only 50 (lenght of application name)




 1 Posts in Topic:
Facing problem with DISAM
gaurav707gupta@[EMAIL PRO  2007-09-04 05:18:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 22:12:05 CDT 2008.