Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Win32 Dll
Message
 
 
To
05/06/2001 02:55:48
General information
Forum:
Visual C++
Category:
Other
Miscellaneous
Thread ID:
00512137
Message ID:
00515090
Views:
16
Sorry for the misunderstanding. I'm not a C++ developer (just a frequent DLL user) so I won't be able too much.

>Respected Sir,
>
> Thanks for your response, but I knew that the function has to be declared that way in VB.Actually I wanted to know how do I write that function in DLL by selecting Simple DLL option for Win32 DLL.
>
> What I did was that I added a function after the DllMain function with the following declaration:
>extern "C" __declspec(dllexport) double squareIt(double d)
>{
> return (d*d);
>}
>
>After doing so I complied the Dll,and everything was fine.
>Then I added the compiled Dll into the system folder and the did the same as you have told me but I get the errors something like
>"No Entry Point for Dll Found" Or "Bad Dll function call".
>
>Regards,
>ASHWANI PATHAK.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform