Hello.
From File>New>Project>Static lib> C:B makes automaticaly the libaaaaaaa.a library at C:\Documents and Settings\Owner\Desktop\New Folder\aaaaaaa\bin\Debug dir, that contains only ...
int SampleAddInt(int i1, int i2)
{
return i1 + i2;
}
by default.
Then from File>New>Project>Console application i made the bbbbb.cbp in c language with code...
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf(SampleAddInt(2,3));
return 0;
}
From Build options>debug>Link libraries>Add>, choozing ..\aaaaaaa\bin\Debug\libaaaaaaa.a and then runs the program crashes
ans says... ppName: bbbbb.exe AppVer: 0.0.0.0 ModName: msvcrt.dll ModVer: 7.0.2600.5701 Offset: 000323e4
Process returned -1073741819 (0xC0000005) execution time : 12.531 s
Press any key to continue.
Any idea in this very simple problem?