How can I insert C structures that have pointers to characters in the DBD file

Hello ~

I am changing to a file system, I did in DBD.

And I had no other choice to convert structures that dot character members
to insert them into the DBD file

for the interpreter,.
If there is a structure like below

typedef struct
{
int IndexKey;
groupID int;
char * name;
char * pNum;
char * pAddr;
char * pMemo;
} TsomeRec;

I did a structure to be converted as below

typedef struct
{
int IndexKey;
groupID int;
name char [MAX_NAME_LEN];
pNum tank [MAX_NUM_LEN];
pAddr tank [MAX_ADDR_LEN];
char pMemo [MAX_MEMO_LEN];
} TsomeRec2;


But there are too many structures to convert.

So, I'm looking for the most effective way to integrate these records DBD structures, given Performance.

Frankly speaking, I'am not competent.
Please describe as accurate as possible.

Thank you ~.

Hello

Review the section title documentation through Structures with DB C, in particular paragraph called C Structures with pointers. He will explain how to store structures with pointers.

Kind regards
Andrei

Tags: Database

Similar Questions

Maybe you are looking for

  • HP deskjet 825c

    Black does not print. I use the No. 15 black cartridge. When copies have started coming to green-yellow, I tried a new cartridge. Same thing happened. How can I get my printer to print in black?

  • Error 80070002 for several updates

    Hello, I get the above error message when you try to download and install several updates of windows: KB979916, KB982526, KB983590, KB2416471, KB976098, all updates and associated with .NET Framework. (That I can tell. The last update can not be.)  T

  • Large (100 gig +) file transfer fails in Windows 7 Home Premium 64-bit

    Hello I ran out of sensible troubleshooting options and am hoping that someone on the forum may be able to provide a solution or additional troubleshooting ideas. Scenario: I created a 178 concert file, an image of my old laptop XP file to be used fo

  • Favorites lost - cannot create others. Vista/IE7.

    I lost all my favorites during the backup to a hard drive by drag and drop.  Find the Favorites folder and moved again toMyName\roaming\ C:\Users\ but bookmarks appear nor can I create new ones.

  • Windows failed to load because a required file is missing or corrupt, 0xc0000102

    at the start of the computer was interrupted because the battery is broken, then I start it again the and choose start windows normally, it displays this msg... status: 0xc0000102 Windows didn't load because a required file is missing or corrupt. I h