Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. senorbuckwheat

    access registry

    The only thing I can think of is CRegKey::EnumKey() You might get some help looking at this site: http://www.codeproject.com/system/#Registry
  2. senorbuckwheat

    Get Equal / Get Next

    The documentation posted in the Pervasive API Programmer's Reference for the GET_NEXT is as follows: Start ------------------------------------------------------ The Get Next operation (B_GET_NEXT) retrieves the record in the logical next position (based on the specified key). You can use the...
  3. senorbuckwheat

    Get_Equal / Get_Next

    Howdy, Using the Btrieve API, I do a GET_EQUAL command on a Btrieve table. I set the OpCode, PosBlock, DataBufLen, KeyBuffer, and KeyNumber and then execute the command. If a record is found that matches the key, I do some processing and then do a GET_NEXT to get the next record that matches...
  4. senorbuckwheat

    Get Equal / Get Next

    Hi, Using the Btrieve API, I do a GET_EQUAL command on a Btrieve table. I set the OpCode, PosBlock, DataBufLen, KeyBuffer, and KeyNumber and then execute the command. If a record is found that matches the key, I do some processing and then do a GET_NEXT to get the next record that matches...
  5. senorbuckwheat

    Btrieve Table Locking?

    I am running an application against a Btrieve database. The application does inserting/deleting/modifying of records in the database. It runs fine when I have exclusive use of the database. But, if someone else is using one the database, the application sometimes locks up. What would I need to...
  6. senorbuckwheat

    Btrieve Locking

    I am running an application against a Btrieve database. The application does inserting/deleting/modifying of records in the database. It runs fine when I have exclusive use of the database. But, if someone else is using one the database, the application sometimes locks up. What would I need to...
  7. senorbuckwheat

    B_ACCESS_TO_FILE_DENIED 46

    Hi, I open a Btrieve file and get a unique record using GetEqual(). Both give me B_NO_ERROR status codes and a record is returned into the buffer. Immediately afterwards, I do a Delete() and I get a "B_ACCESS_TO_FILE_DENIED". Any suggestions? Thanks.
  8. senorbuckwheat

    B_ACCESS_TO_FILE_DENIED 46

    I open a Btrieve file and get a unique record using GetEqual(). All give me B_NO_ERROR status codes and returns a record in the buffer. Immediately afterwards, I do a Delete() and I get a "B_ACCESS_TO_FILE_DENIED". Any suggestions? Thanks.
  9. senorbuckwheat

    char representation of a double

    Hi, I am looking for a way to convert a double to the char representation, ie. put double, which is eight bytes, to char[8]; Example: double nDb = 12.34; char szDb[8]; szdB would hold the character representation of nDb which might look something like: [0] 0'' [1] 0'' [2] 0'' [3] 0'' [4] 0''...
  10. senorbuckwheat

    char representation of a double

    Hi, I am looking for a way to convert a double to the char representation, ie. put double, which is eight bytes, to char[8]; Example: double nDb = 12.34; char szDb[8]; szdB would hold the character representation of nDb which might look something like: [0] 0'' [1] 0'' [2] 0'' [3] 0'' [4] 0''...
  11. senorbuckwheat

    char representation of a double

    Hi, I am looking for a way to convert a double to the char representation, ie. put double, which is eight bytes, to char[8]; Example: double nDb = 12.34; char szDb[8]; szdB would hold the character representation of nDb which might look something like: [0] 0'' [1] 0'' [2] 0'' [3] 0'' [4] 0''...
  12. senorbuckwheat

    B_STAT

    I have seen the B_STAT structure in the sample programs. I have pasted it below. But when you look at the API for B_STAT, PVSW\SDK\doc\prog_api.chm, the below structure doesn't account for all fields returned such as file version, number of records to name a few. Plus there are other...
  13. senorbuckwheat

    B_STAT

    I am back! Just when I think I have this figured out, something else pops up. I am using the BTRV(B_STAT...) trying to find the record count. But following the Pervasive file layout for the returned data buffer, the number of records field is garbage. The record length, page size, and number...
  14. senorbuckwheat

    Specifying a key on a Btrieve table

    I am creating a Btrieve table using the Pervasive Create Table Wizard - "crtblwzd.exe". It lets me set up the fields and creates the table but I can't find where it lets me specify the key field(s)? How do I do this? Thank you.
  15. senorbuckwheat

    Specifying a key on a Btrieve table

    I am creating a Btrieve table using the Pervasive Create Table Wizard - "crtblwzd.exe". It lets me set up the fields and creates the table but I can't find where it lets me specify the key field(s)? How do I do this? Thank you.
  16. senorbuckwheat

    Addind new table (.mdk) to database

    I created a database with a bunch of tables using the Pervasive Create Database and Create Table utilities. I then wrote an application(C++) which created and populated a new Btrieve file/table(.MKD) using the Btrieve API (C_CREATE, etc.). So, how do I put the new file characteristics into...
  17. senorbuckwheat

    B_CREATE and C++

    I am looking for a working example for creating a Btrieve file in C++ using the Btrieve API function B_CREATE. I can only find snippets on the Pervasive site. Any help would be appreciated. Thank you.

Part and Inventory Search

Back
Top