User Profile

Collapse

Profile Sidebar

Collapse
souravmallik
souravmallik
Last Activity: Mar 27 '08, 06:01 AM
Joined: May 9 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • souravmallik
    replied to NTDLL.DLL - Access Violation
    in C
    Okya, so what I need to do.. as I'm not calling the function. I can see the dll being referenced from the call stack. But how can I solve it...

    Please help......
    See more | Go to post

    Leave a comment:


  • souravmallik
    started a topic NTDLL.DLL - Access Violation
    in C

    NTDLL.DLL - Access Violation

    Hello,

    I am using MS VC++ 6.0 in a win xp sp2 os. I'm getting a error NTDLL.DLL - 0xC00000005: Access Violation.

    Can any one tell me whats this error means?

    Is there any patch related problem. I'm not getting this error in all the machines. Is it related to the OS that executable is running..


    Please help..

    Thanks & Regards,

    Sourav Mallik.
    See more | Go to post

  • souravmallik
    replied to Trigger on bulk insert
    Yea I'm using FOR EACH ROW... and thats where the bottle neck is..

    How to use Statement level trigger in bulk insert..

    Suppose I'm inserting 1000 row in a bulk insert, then will the 1000 row insertion be called a 'statement' is the statement level trigger??...
    See more | Go to post

    Leave a comment:


  • souravmallik
    replied to File Pointers - geting a logical problem..
    in C
    Yea my program is working fine... and i'm getting what I was looking for..
    Thanks....
    See more | Go to post

    Leave a comment:


  • souravmallik
    started a topic Trigger on bulk insert

    Trigger on bulk insert

    Hello,

    Is there any way to improve performance of an after insert trigger in bulk insert.

    I have a pro*c program that insert data in a stagging table in bulk insert mode. From stagging table I have to insert to the source table synchronously. So I'm inserting data through pl/sql fired by the table trigger.

    But the trigger is inserting data row wise.. so nullifying the performance gained by using bulk...
    See more | Go to post

  • souravmallik
    replied to File Pointers - geting a logical problem..
    in C
    Thanks for answering... I have cope up with my problem somehow..

    What I'm doing is:
    I'm scanning the whole file with fgets() with a minimum buffer, then for implementing the 'chunk read', I'm using ftell() function to get the size of file after every fgets(), when the file size is equal to 512kb (or any other chunk value set before) its breaking from the loop and continue parsing the next file.

    Will the ftell(),...
    See more | Go to post

    Leave a comment:


  • Thanks for pointing out the problem!!

    Actually I'm parsing some data which is delimited by New Line Character.So I'm using the while loop using the fgets() function.

    The fgets function reads characters from stream and stores them as a C string into str until (num-1) characters have been read or either a newline or a the End-of-File is reached, whichever comes first.

    I had a impression that IBUFFSIZE ...
    See more | Go to post

    Leave a comment:


  • souravmallik
    started a topic File Pointers - geting a logical problem..
    in C

    File Pointers - geting a logical problem..

    Hello,

    I'm facing a big logical problem while writing a parser in VC++ using C.

    I have to parse a file in a chunk of bytes in a round robin fashion.
    Means, when I select a file, the parser will read first 512kb(IBUFFSIZE ) of data, then move to next file and parse the same way. This way I can parse a number of file spreaded over different directory uniformly.

    I'm keeping a meta data in a file where I'm...
    See more | Go to post
    Last edited by r035198x; Jul 6 '07, 12:28 PM. Reason: added code tags

  • Thanks.. for the advice.

    According you guys... I should declare a pointer to the structure and allocate memory with malloc(). This will allocate memory in a heap.. Right.

    Is my understanding right..please advice...

    Thanks in advance..
    Sourav...
    See more | Go to post

    Leave a comment:


  • souravmallik
    started a topic How can we reinitialize a array of structure?
    in C

    How can we reinitialize a array of structure?

    I have a structure declared in a header file, and its initialized in the header file too.

    struct rectype{
    char out_storenum[100];
    unsigned int out_usrcode;
    unsigned int out_strngtyp;
    char out_bit0_ind[5];
    char out_bit1_ind[5];
    char out_bit2_ind[5];
    char out_bit3_ind[5];
    char out_bit4_ind[5];
    char out_bit5_ind[5];
    char...
    See more | Go to post

  • souravmallik
    started a topic Searching Windows Directories in C programming
    in C

    Searching Windows Directories in C programming

    Hello,

    I'm writing a parser program in C language. I need to search all the source file for the parser to parse from a set of directories.

    The directory structure have two branch i.e. there will be a root directory and there will be subdirectories, and within the subdirectories the source file are placed.

    So I need to scan each sub-directory and find all the file and parse.

    I'm using MS...
    See more | Go to post
No activity results to display
Show More
Working...