On Mon, Feb 14, 2011 at 6:30 AM,  <[email protected]> wrote:
> Hi,
>
> I want to convert this following c/c++ code into vfp. This code is
> provided by the Biometric TA SDK.
>
> Their .NET/VB sample is working fine. But VB ocx control has some strange
> problem in vfp. Sometimes, when I open the form to receive input from the
> device through this ocx, it does not capture data. If I minimize the form
> or vfp main window then it starts pulling/receiving the previous data (no
> idea where vfp hold it in).
>
> Now I want to use this ocx directly in vfp by calling its dll directly. So
> I need the following code conversion in vfp.
>
> C/C++ code
> ========================
> typedef struct {
>
>   unsigned char event;
>
>   unsigned char reserved1;
>
>   unsigned short tnaEvent;
>
>   time_t eventTime;
>
>   unsigned userID;
>
>   unsigned reserved2;
>
> } BSLogRecord;
>
>
> BSLogRecord logRecords[128];
>
> // BS_RET_CODE BS_ReadLogCache( int handle, int* numOfLog, BSLogRecord*
> logRecord )

You need a pair of arrays  int* and BSLogRecord*




-- 
Stephen Russell

Sr. Production Systems Programmer
CIMSgts

901.246-0159 cell

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to