Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Building dlls
Message
 
To
All
General information
Forum:
Visual C++
Category:
Other
Title:
Building dlls
Miscellaneous
Thread ID:
00550118
Message ID:
00550118
Views:
50
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
Map
View

Click here to load this message in the networking platform