Solved

CeReadRecordPropsEx (RAPI) on desktop not working. always returning 0 . CeGetLastError=0 GetRapiLastError=2147942414 ???

Posted on 2006-11-10
3
379 Views
Last Modified: 2010-10-05
Hello Experts.

I have again hit another wall on my relentless efforts to complete a Win CE project that seems to have no end.

I'm trying to pull records off a Win CE database using CeReadRecordPropsEx on the desktop application.
The function call and arguments are identical to the Win CE app where the function performs correctly.

1.The RAPI session initializes correctly
2.dbase open correctly
3.I'm able to seek 1st record correctly.

However; when I try to read the record I get a rapi error code = 2147942414.  Any idea on what this is. Can't find any reference on the web.

Thanks

Call in code is below:

      WORD wProps;
      PCEPROPVAL pRecord;
      PBYTE pBuff;
      DWORD dwRecSize;
      BOOL rvalue=TRUE;
      CEOID rec;
      int i;
      pBuff=0;

      rec=CeReadRecordPropsEx(
            h_db,
            CEDB_ALLOWREALLOC,
            &wProps,
            NULL,
            &(LPBYTE)pBuff,
            &dwRecSize,
            0);
0
Comment
Question by:wfuller6
3 Comments
 
LVL 22

Accepted Solution

by:
cookre earned 250 total points
ID: 17917038
That's an Out Of Memory error.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question