Click here to Skip to main content
15,896,726 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL basic question Pin
led mike1-Apr-09 9:31
led mike1-Apr-09 9:31 
GeneralRe: DLL basic question Pin
bulg1-Apr-09 10:48
bulg1-Apr-09 10:48 
GeneralRe: DLL basic question Pin
led mike1-Apr-09 11:12
led mike1-Apr-09 11:12 
QuestionRe: DLL basic question Pin
CPallini1-Apr-09 11:13
mveCPallini1-Apr-09 11:13 
GeneralRe: DLL basic question Pin
Cedric Moonen1-Apr-09 20:19
Cedric Moonen1-Apr-09 20:19 
GeneralRe: DLL basic question Pin
led mike2-Apr-09 5:34
led mike2-Apr-09 5:34 
GeneralRe: DLL basic question Pin
CPallini1-Apr-09 7:52
mveCPallini1-Apr-09 7:52 
QuestionRe: DLL basic question Pin
grassrootkit1-Apr-09 8:31
grassrootkit1-Apr-09 8:31 
CPallini wrote:
Wonderful.


Q:When I export a class in a DLL, I'm not actually dealing with dllmain or those DLL_PROCESS_ATTACH , DETACH thing. I just simply export it as a class. Then how things work without implementing these?


A:That depends. If, for example, your DLL was using COM and your host wasn't, it wouldn't work if you didn't handle the thread attach event and initialize COM. All the COM calls would fail because that's how COM works. So it depends on what you are doing in your DLL. In other words all DLL's are not equal.


Q:So it should concern us only if we are dealing with COM?

*:Really? That's your interpretation of my post?


What's there for you to wonder so much? Don't expect everybody to know everything. I haven't worked with COM. That's why I asked the question that way. I found his reply a bit rude. Now yours is a bit worse. If Cedric Moonen can get question my right why can't you?
AnswerRe: DLL basic question Pin
CPallini1-Apr-09 8:56
mveCPallini1-Apr-09 8:56 
GeneralRe: DLL basic question Pin
grassrootkit1-Apr-09 8:44
grassrootkit1-Apr-09 8:44 
AnswerRe: DLL basic question Pin
Cedric Moonen1-Apr-09 7:20
Cedric Moonen1-Apr-09 7:20 
GeneralRe: DLL basic question [modified] Pin
grassrootkit1-Apr-09 8:17
grassrootkit1-Apr-09 8:17 
QuestionProblem creating a simple DLL in c++ Pin
snouto1-Apr-09 5:14
snouto1-Apr-09 5:14 
AnswerRe: Problem creating a simple DLL in c++ Pin
coderormnger1-Apr-09 5:16
coderormnger1-Apr-09 5:16 
AnswerRe: Problem creating a simple DLL in c++ Pin
grassrootkit1-Apr-09 5:23
grassrootkit1-Apr-09 5:23 
AnswerRe: Problem creating a simple DLL in c++ Pin
ThatsAlok1-Apr-09 18:21
ThatsAlok1-Apr-09 18:21 
QuestionGetAsyncKeyState - help with dynamic link library Pin
Member 2362621-Apr-09 4:35
Member 2362621-Apr-09 4:35 
AnswerRe: GetAsyncKeyState - help with dynamic link library Pin
Cedric Moonen1-Apr-09 4:41
Cedric Moonen1-Apr-09 4:41 
GeneralRe: GetAsyncKeyState - help with dynamic link library Pin
Member 2362621-Apr-09 15:48
Member 2362621-Apr-09 15:48 
GeneralRe: GetAsyncKeyState - help with dynamic link library Pin
ThatsAlok1-Apr-09 18:26
ThatsAlok1-Apr-09 18:26 
GeneralRe: GetAsyncKeyState - help with dynamic link library Pin
Member 2362621-Apr-09 20:35
Member 2362621-Apr-09 20:35 
GeneralRe: GetAsyncKeyState - help with dynamic link library Pin
Member 2362621-Apr-09 21:05
Member 2362621-Apr-09 21:05 
QuestionHow to make Matrix Using C [modified] Pin
mmlyh081-Apr-09 3:54
mmlyh081-Apr-09 3:54 
AnswerRe: How to make Matrix Using C Pin
Stuart Dootson1-Apr-09 4:00
professionalStuart Dootson1-Apr-09 4:00 
JokeRe: How to make Matrix Using C Pin
Rajesh R Subramanian1-Apr-09 4:20
professionalRajesh R Subramanian1-Apr-09 4:20 

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.