hello, i try to dev a dll for calc, but i have 2 questions:
1. how i can return a text in a __declspec(dllexport) and
2. i build this code:
// mcd.cpp
//
#define WIN32_LEAN_AND_MEAN
#include
__declspec(dllexport) int mcd(int u,int v);
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved )
{
return TRUE;
}
__declspec(dllexport) int mcd(int u,int v)
{
int t;
while (u<0);
{
if (u u=u-v;
}
return v;
}
why dont run?, i build an dll with 0 errors, but when i run from VFP i obtain: this function dont found in the library?
Thanks in advance
with best Regards
Francisco Morosini
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only