Hi list,
I would like to write VB code that works as the following C++ code:
...
...
FILE* f;
int BytesRead, i;
unsigned char Buffer[BufferSize];
...
...
do
{
BytesRead = 0;
BytesRead = fread(Buffer, 1, sizeof(Buffer), f);
if (! SubjectSearchProcessData(Buffer, BytesRead))
{
cout<<"Subject Search is not started"<<NL;
cout<<"Press <Enter> to exit"<<flush; getchar();
exit(0);
}
} while (BytesRead != 0);
...
...
Could anyone help please me out with this?
Thanks,
Anders
I would like to write VB code that works as the following C++ code:
...
...
FILE* f;
int BytesRead, i;
unsigned char Buffer[BufferSize];
...
...
do
{
BytesRead = 0;
BytesRead = fread(Buffer, 1, sizeof(Buffer), f);
if (! SubjectSearchProcessData(Buffer, BytesRead))
{
cout<<"Subject Search is not started"<<NL;
cout<<"Press <Enter> to exit"<<flush; getchar();
exit(0);
}
} while (BytesRead != 0);
...
...
Could anyone help please me out with this?
Thanks,
Anders