R
Ralph
Hi all,
Recently I have tried to create a static lib using MS VC++.
The following are some of the excerpt of my codes:
********* MyFirstStaticLib.c *******************
#include <stdlib.h>
#include <string.h>
int getA(int a, int b){
....
}
int getB(int a, int b){
....
}
****************************************
Both function 'getA' and 'getB' will be used in my other program.
I compiling my other program... I alway got "__cdecl int getA()" errors
same fot 'getB' function.
Anyone know the cause?
Thanks.
Recently I have tried to create a static lib using MS VC++.
The following are some of the excerpt of my codes:
********* MyFirstStaticLib.c *******************
#include <stdlib.h>
#include <string.h>
int getA(int a, int b){
....
}
int getB(int a, int b){
....
}
****************************************
Both function 'getA' and 'getB' will be used in my other program.
I compiling my other program... I alway got "__cdecl int getA()" errors
same fot 'getB' function.
Anyone know the cause?
Thanks.