I am tying to write a dll in vc++ 2005 to insert a '0' at every 4th index of an array.
The array size is about 13 lacs of the type unsigned char.
I wrote a basic code in c++, and made the dll but it is takin a processing time of around 50 secs, which is undesirable.

I am now tying on vectors, but without luck.

Please help me out with the code as am new to cpp.

I am accessing the dll in labview 8.2

urgent
pls reply