Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wish on wishlist :)
Message
From
05/04/2003 09:55:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00774402
Message ID:
00774417
Views:
14
>
>Oh, OK. It was part of the download (from MSDN) version. If you go to the Task(er) (that's a joke, BTW) Pane, it's in the "New in Visual FoxPro 8.0" under the "Solution Samples". It's the next to the last sample.
>
>It'll launch a browser window with instructions. I've followed the instructions exactly, but no joy on the VB side (no need to convert to C#, BTW). If you do get a chance to try it, please let me know the results.

You made me curious :) While got you online another dummy/silly question from me :)
I have a struct like this :
struct mystruc
{
  short s1;
  char s2;
  int s3;
  unsigned char u1;
  unsigned short u2;
} myrecord;

* A data file as seen in hexeditor 
00 80 80 FF FF FF FF 80 00 80
Want to read this at once into struc if possible at all. Something like :
 mystruc arecord;
 //...
 fread( &arecord, sizeof( mystruc ), 1, fin );
Not even sure I could make it understandable :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform