A
alan
Hi all,
I have create a simple function and make a pure C dll. When I use this
DLL from my main program, I found I cannot see this function's
definition tips (yellow box).
It works fine, but no yellow box tips!
Here is my creating procedure,
[DLL]
-----------------------------------------------
#include <stdio.h>
__declspec(dllexport) int sum(int a, int b);
int sum(int a, int b)
{
return a+b;
}
-----------------------------------------------
[MAIN PROGRAM]
-----------------------------------------------
#include <stdio.h>
extern __declspec(dllimport) int sum(int a, int b);
void main()
{
int t;
t = sum(1,2); <-------------------my problem is here
printf("%d", t); When I type "sum(" , none
of
Yellow BOX tip appear.
}
-----------------------------------------------
If I use a standard function , such as printf(), the yellow box tip
will appear to remind me what parameters I should provide.
Can any body help me to make my program to show the yellow box tips
again?
Thank you very much.
Alan
I have create a simple function and make a pure C dll. When I use this
DLL from my main program, I found I cannot see this function's
definition tips (yellow box).
It works fine, but no yellow box tips!
Here is my creating procedure,
[DLL]
-----------------------------------------------
#include <stdio.h>
__declspec(dllexport) int sum(int a, int b);
int sum(int a, int b)
{
return a+b;
}
-----------------------------------------------
[MAIN PROGRAM]
-----------------------------------------------
#include <stdio.h>
extern __declspec(dllimport) int sum(int a, int b);
void main()
{
int t;
t = sum(1,2); <-------------------my problem is here
printf("%d", t); When I type "sum(" , none
of
Yellow BOX tip appear.
}
-----------------------------------------------
If I use a standard function , such as printf(), the yellow box tip
will appear to remind me what parameters I should provide.
Can any body help me to make my program to show the yellow box tips
again?
Thank you very much.
Alan