> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
--8<--
> extern "C" __declspec(dllexport) int hello()
> {
> printf("Hello World!\n");
> return 345;
> }
--8<--
> int main()
> {
> printf("What is this? %d\n", hello());
> }
>
> All I get in return is (under Cygwin):
> Wh
Hi,
I have already compiled and linked the following function
extern "C" __declspec(dllexport) int hello()
{
printf("Hello World!\n");
return 345;
}
in a VC++ DLL.
I have also successfully linked and created the import library in Cygwin,
libhallo.a
However,
when I compile and r
2 matches
Mail list logo