Click here to Skip to main content
16,007,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: change buttons style Pin
Nishad S27-Sep-07 3:30
Nishad S27-Sep-07 3:30 
GeneralRe: change buttons style Pin
mitok27-Sep-07 3:52
mitok27-Sep-07 3:52 
GeneralRe: change buttons style Pin
Nishad S27-Sep-07 4:06
Nishad S27-Sep-07 4:06 
AnswerRe: change buttons style Pin
Naveen27-Sep-07 2:48
Naveen27-Sep-07 2:48 
GeneralRe: change buttons style Pin
Nishad S27-Sep-07 2:56
Nishad S27-Sep-07 2:56 
QuestionIs this idea viable? (about dll and namespace) Pin
Nelek27-Sep-07 0:05
protectorNelek27-Sep-07 0:05 
AnswerRe: Is this idea viable? (about dll and namespace) Pin
Cedric Moonen27-Sep-07 0:50
Cedric Moonen27-Sep-07 0:50 
GeneralRe: Is this idea viable? (about dll and namespace) Pin
Nelek27-Sep-07 1:49
protectorNelek27-Sep-07 1:49 
First of all... Thanks. After reading you I have notice that is not as good as I thought.

Nelek wrote:
The problem I have is that the WriteTo functions have to be in a DLL for security to avoid as many problems as possible.

Cedric Moonen wrote:
Why is it so ? Which security problems are you talking about ? Putting the code in the dll won't change anything.


That's what my chef want. I explain it better. He want that the programm has the functionality to write down into a PLC, but he wants this functionality to depend on a dll. So that anyone can use my software to write down into the PLC if they don't have our dll. So the programm should work with or without the dll in the folder. But the functionality should be only available when it is there.


Cedric Moonen wrote:
Thus, for both scenarios, it doesn,t make any sense to call a function from your dll to see if it is present (because if you come to the point were you are able to call a function from the dll, then it means that your dll is present).


Sigh | :sigh: You are totally right, I don't know what I was thinking about Unsure | :~



I will look for info about the LoadLibrary and GetProcAddress. Actually if the return value is NULL when dll is not there... then I can anyways choose between function and messagebox. And that's exactly what I wanted. Thanks Big Grin | :-D



Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

QuestionArticles on SAFEARRAY for implementing in VC++ Pin
shir_k26-Sep-07 23:54
shir_k26-Sep-07 23:54 
AnswerRe: Articles on SAFEARRAY for implementing in VC++ Pin
toxcct27-Sep-07 0:07
toxcct27-Sep-07 0:07 
Questionsetfocus Pin
bhogavalli suresh26-Sep-07 23:40
bhogavalli suresh26-Sep-07 23:40 
GeneralRe: setfocus Pin
Stephen Hewitt27-Sep-07 14:47
Stephen Hewitt27-Sep-07 14:47 
AnswerRe: setfocus Pin
Sunil P V26-Sep-07 23:52
Sunil P V26-Sep-07 23:52 
GeneralRe: setfocus Pin
Stephen Hewitt27-Sep-07 14:48
Stephen Hewitt27-Sep-07 14:48 
AnswerRe: setfocus Pin
zakkas248326-Sep-07 23:54
zakkas248326-Sep-07 23:54 
GeneralRe: setfocus Pin
Naveen27-Sep-07 0:17
Naveen27-Sep-07 0:17 
GeneralRe: setfocus Pin
zakkas248327-Sep-07 0:40
zakkas248327-Sep-07 0:40 
GeneralRe: setfocus Pin
Stephen Hewitt27-Sep-07 14:48
Stephen Hewitt27-Sep-07 14:48 
GeneralRe: setfocus Pin
zakkas248327-Sep-07 20:59
zakkas248327-Sep-07 20:59 
AnswerRe: setfocus Pin
Nishad S27-Sep-07 1:45
Nishad S27-Sep-07 1:45 
QuestionRe: setfocus Pin
David Crow27-Sep-07 3:11
David Crow27-Sep-07 3:11 
AnswerRe: setfocus Pin
Stephen Hewitt30-Sep-07 15:31
Stephen Hewitt30-Sep-07 15:31 
AnswerRe: setfocus Pin
Mark Salsbery27-Sep-07 5:36
Mark Salsbery27-Sep-07 5:36 
AnswerRe: setfocus Pin
Stephen Hewitt27-Sep-07 14:47
Stephen Hewitt27-Sep-07 14:47 
QuestionIs ITaskScheduler is work on Vista Pin
vicky0000026-Sep-07 23:27
vicky0000026-Sep-07 23:27 

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.