Advertisement

1 - 10 of 10 containing alltags:("declspec") (0 seconds)
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...
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...
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) ...
Zones: MS Visual C++, Plug InsDate Answered: 06/25/2004 Grade: A Views: 5
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...
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...
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...
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...
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 ...
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...
Zones: Windows ProgrammingDate Answered: 04/30/2002 Grade: A Views: 0
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). ...
Zones: C++Date Answered: 08/08/2005 Grade: B Views: 0
  • 1