Brandon K <prince_amir86 at yahoo.com> writes: > long* result = 0; [...] > result = doNumberStuff(in,x); > len = sizeof(result)/sizeof(long); I don't think this will do what you appear to expect it to do. Bernhard -- Intevation GmbH http://intevation.de/ Skencil http://skencil.org/ Thuban http://thuban.intevation.org/