hi,
right now my code has declspec(dllexport) in front of the class name only, so the whole class is exported
if i take this out and use a .def file instead, can i achieve exactly the same behavi...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20670693.html
Zones:
C++Date Answered: 07/08/2003 Grade: B Views: 0
Hi! I created a Win32 dynamic link library project and put the following code to test1.cpp.
extern "C" __declspec(dllexport) int Add(int a, int b)
{
return a + b;
}
Then I compiled it...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20582556.html
Zones:
C++Date Answered: 04/12/2003 Grade: A Views: 0
I'm currently fooling around with the declspec (import/export) function and have a couple of questions.
BTW, this is in MSVC++ 6.0.
I have "Plugin" project that is using the declspec(export) ...
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_CPP/Q_21030845.html
Sorry about the C grade..I didn't know abt the system here...Thus, I have posted this question again...
This is my latest header at the BC5 Main program:
extern "C" int __declspec(dllimport) _s...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10329510.html
Zones:
C++Date Answered: 04/25/2000 Grade: A Views: 0
I have a dll written in pure C code that contains some data I need to share. I'm wondering what I'm doing wrong in trying to share it.
In my .dll code, I have this as a global variable:
char...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_20019679.htm...
Zones:
Windows MFCDate Answered: 01/05/2001 Grade: A Views: 0
I want create a DLL, but i read a MSDN library and our examples don't run correctly.
I want "RUN : RUNDLL32 MYDLL,Myfunction".
is Example wrong?
// DLL.cpp : Defines the entry point for...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20283735.html
Zones:
C++Date Answered: 04/08/2002 Grade: B Views: 0
I want to get a handle on these win32 stuff. I understand that in stdcall the function clean up the stack before returning. cdecl the caller clean up the stack? what about the declspec and the re...
http://www.experts-exchange.com/Programming/Languages/C/Q_20750220.html
Zones:
CDate Answered: 10/01/2003 Grade: A Views: 147
I am having difficulty in using a WIN32 DLL from VB. I am looking for code surrounding the DECLARE statement as well as any WIN32 API calls to prepare variables in memory.
Here is the C header ...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_10304795.html
Zones:
Visual BasicDate Answered: 03/07/2000 Grade: A Views: 0
Hi.
I'm trying to build dll on WinNT platform usign gcc under cygwin, that aftewards will be used in MSVC. I wrote small example with just one function :
__declspec(dllexport) __stdcall int foo...
http://www.experts-exchange.com/Programming/System/Windows__Programming/Q_20294850.html
hello all,
i'm trying to export a specialization of a class template in a dll.
Putting the usual declspec syntax at the class name stage doesn't work with the GCC tools (it does with MSVC6).
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21512557.html
Zones:
C++Date Answered: 08/08/2005 Grade: B Views: 0