On Nov 30, 2007 4:12 AM, Robert Wong <rgwong@xxxxxxxxxxx> wrote: > I'm a CS student working on a project that mixes C/C++ compiling both with > g++. If you have the time I was hoping you could help. I've described the > problem with some depth here: > > http://forums.devshed.com/c-programming-42/calling-c-function-from-c-492886. > html Try a return after your printf in the test function. It's possible your pointer into that function is somehow uninitialized and causing memory access problems. -Tom Tom Browder Niceville, Florida USA