thx, i reviewed my code and fixed a bug. Now i run into another, when i debug test_gcc.dll using c::b, i was presented with a pop-up dialog saying "signal SIGSEGV,Segmentation fault" when i call any exported function that is before i execuate any code in the test_gcc.dll. so any idea?