Click here to Skip to main content
15,902,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Making an adaptive studying application Pin
«_Superman_»27-Jan-10 18:55
professional«_Superman_»27-Jan-10 18:55 
GeneralRe: Making an adaptive studying application Pin
rbwest8627-Jan-10 19:06
rbwest8627-Jan-10 19:06 
GeneralRe: Making an adaptive studying application Pin
«_Superman_»27-Jan-10 19:16
professional«_Superman_»27-Jan-10 19:16 
GeneralRe: Making an adaptive studying application Pin
rbwest8627-Jan-10 22:10
rbwest8627-Jan-10 22:10 
GeneralRe: Making an adaptive studying application Pin
rbwest8628-Jan-10 3:30
rbwest8628-Jan-10 3:30 
QuestionHow to retrieve request contents in an ISAPI filter? Pin
jackzhangca27-Jan-10 11:05
jackzhangca27-Jan-10 11:05 
QuestionConverting calloc to new. Pin
BubbaGeeNH27-Jan-10 10:15
BubbaGeeNH27-Jan-10 10:15 
AnswerRe: Converting calloc to new. Pin
Chris Losinger27-Jan-10 10:27
professionalChris Losinger27-Jan-10 10:27 
GeneralRe: Converting calloc to new. Pin
Nemanja Trifunovic27-Jan-10 11:06
Nemanja Trifunovic27-Jan-10 11:06 
GeneralRe: Converting calloc to new. Pin
Chris Losinger27-Jan-10 11:09
professionalChris Losinger27-Jan-10 11:09 
AnswerRe: Converting calloc to new. Pin
Nemanja Trifunovic27-Jan-10 11:14
Nemanja Trifunovic27-Jan-10 11:14 
QuestionUnsigned Template Parameter [Solved] Pin
Skippums27-Jan-10 9:04
Skippums27-Jan-10 9:04 
AnswerRe: Unsigned Template Parameter Pin
Richard Andrew x6427-Jan-10 9:20
professionalRichard Andrew x6427-Jan-10 9:20 
GeneralRe: Unsigned Template Parameter Pin
Emilio Garavaglia27-Jan-10 9:43
Emilio Garavaglia27-Jan-10 9:43 
GeneralRe: Unsigned Template Parameter Pin
Skippums27-Jan-10 10:10
Skippums27-Jan-10 10:10 
Questioncompile a class Pin
mathy27-Jan-10 8:28
mathy27-Jan-10 8:28 
AnswerRe: compile a class Pin
Rajesh R Subramanian27-Jan-10 8:52
professionalRajesh R Subramanian27-Jan-10 8:52 
AnswerRe: compile a class Pin
loyal ginger27-Jan-10 8:53
loyal ginger27-Jan-10 8:53 
QuestionRe: compile a class Pin
mathy27-Jan-10 21:30
mathy27-Jan-10 21:30 
AnswerRe: compile a class Pin
loyal ginger28-Jan-10 1:43
loyal ginger28-Jan-10 1:43 
AnswerRe: compile a class Pin
CPallini27-Jan-10 11:00
mveCPallini27-Jan-10 11:00 
QuestionDLL "organization" ? Pin
Vaclav_27-Jan-10 7:13
Vaclav_27-Jan-10 7:13 
AnswerRe: DLL "organization" ? Pin
Richard MacCutchan27-Jan-10 9:24
mveRichard MacCutchan27-Jan-10 9:24 
Well, that is rather a lot of questions to answer, however, I'll try.

Vaclav_Sal wrote:
I have a basic understanding about this macro __declspec(dllexport).


Knowledge of this is less important than understanding how a library (lib or dll) is linked to an executable. If you read the MSDN literature it should make this clearer.

Vaclav_Sal wrote:
However , there are lib and linker "options" __declspec(lib, "xx.lib") and __declspec(link, "xx.lib") which I do not understand.


The lib processor collects a set of object modules and builds a static (lib) or dynamic (dll) library. Generaly speaking Visual Studio or VC will set the correct options when you create the project. The linker options should be set when you select the lib file into your linker settings in the project options.

Vaclav_Sal wrote:
Also, the #include "library.h" is now in debug directory. I assume that I need a #ifdebug directive somewhere to keep the reference correct in release.


I'm not sure what you mean here, but I presume that this include should be added to your project whether debug or not, so you probably do not need any #ifdef.

Vaclav_Sal wrote:
Do I still need to register the DLL with windows (regsvr32) ?


I'm not sure about this, I just copy the dll to the Windows/System32 directory and my apps tend to work fine.

MVP 2010 - are they mad?

QuestionNumeric Template Error C2296 Pin
Skippums27-Jan-10 6:51
Skippums27-Jan-10 6:51 
AnswerRe: Numeric Template Error C2296 Pin
Richard MacCutchan27-Jan-10 9:14
mveRichard MacCutchan27-Jan-10 9:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.