?
Solved

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

Posted on 2006-11-10
3
Medium Priority
?
394 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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 …
Progress
Suggested Courses

801 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