[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2006-11-10
3
Medium Priority
?
403 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 22

Accepted Solution

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
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…
Introduction to Processes

649 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