Click here to Skip to main content
15,921,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can i convert 24 bits BMP to 8 biBitCount(256 color)? Pin
Jane13129-Oct-07 16:51
Jane13129-Oct-07 16:51 
GeneralRe: How can i convert 24 bits BMP to 8 biBitCount(256 color)? Pin
Hamid_RT29-Oct-07 18:51
Hamid_RT29-Oct-07 18:51 
GeneralRe: How can i convert 24 bits BMP to 8 biBitCount(256 color)? Pin
Jane13129-Oct-07 21:11
Jane13129-Oct-07 21:11 
GeneralRe: How can i convert 24 bits BMP to 8 biBitCount(256 color)? Pin
Hamid_RT29-Oct-07 22:13
Hamid_RT29-Oct-07 22:13 
GeneralRe: How can i convert 24 bits BMP to 8 biBitCount(256 color)? Pin
Jane13130-Oct-07 16:41
Jane13130-Oct-07 16:41 
QuestionAbout dll use [Solved] Pin
Nelek29-Oct-07 2:52
protectorNelek29-Oct-07 2:52 
AnswerRe: About dll use Pin
TJoe29-Oct-07 3:07
TJoe29-Oct-07 3:07 
AnswerRe: About dll use Pin
Cedric Moonen29-Oct-07 3:17
Cedric Moonen29-Oct-07 3:17 
Nelek wrote:
MyDll::MyFunction ();


Confused | :confused: What is this MyDll ?? Is it a class ?

You have two options to load your dll: either implicitely (you link to a static library supplied wioth the dll that contains informations about how to load the dll), or explicitely (you load the dll yourself using LoadLibrary and then using GetProcAddress).

When you load implicitely, if your dll is not present, the program will generate a message box saying that the dll is not present before any of your code is executed, meaning that you have no control at all to 'fix' the problem (the program will exit directly afterwards).

When you load explicitely, the LoadLibrary function will return NULL if the dll was not loaded successfully (if it was not present for example). In that case, you have full control about what you would like to do if the dll is not present. But, beware, with this method you cannot import classes, just functions (of course, you can import functions that return a pointer to a class Smile | :) ).


Cédric Moonen
Software developer

Charting control [v1.2]

GeneralRe: About dll use Pin
Nelek29-Oct-07 3:55
protectorNelek29-Oct-07 3:55 
GeneralRe: About dll use Pin
Cedric Moonen29-Oct-07 4:15
Cedric Moonen29-Oct-07 4:15 
GeneralRe: About dll use Pin
Nelek29-Oct-07 4:24
protectorNelek29-Oct-07 4:24 
GeneralRe: About dll use Pin
Cedric Moonen29-Oct-07 4:41
Cedric Moonen29-Oct-07 4:41 
GeneralRe: About dll use Pin
Nelek29-Oct-07 21:08
protectorNelek29-Oct-07 21:08 
GeneralRe: OT Pin
Fernando A. Gomez F.29-Oct-07 12:14
Fernando A. Gomez F.29-Oct-07 12:14 
GeneralRe: OT Pin
Nelek29-Oct-07 21:06
protectorNelek29-Oct-07 21:06 
QuestionSend Down Arrow Key to a Window Pin
vikrant kpr29-Oct-07 2:17
vikrant kpr29-Oct-07 2:17 
QuestionRe: Send Down Arrow Key to a Window Pin
Nishad S29-Oct-07 2:34
Nishad S29-Oct-07 2:34 
AnswerRe: Send Down Arrow Key to a Window Pin
vikrant kpr29-Oct-07 8:41
vikrant kpr29-Oct-07 8:41 
QuestionRe: Send Down Arrow Key to a Window Pin
David Crow29-Oct-07 3:52
David Crow29-Oct-07 3:52 
AnswerRe: Send Down Arrow Key to a Window Pin
vikrant kpr29-Oct-07 8:42
vikrant kpr29-Oct-07 8:42 
GeneralRe: Send Down Arrow Key to a Window Pin
Mark Salsbery29-Oct-07 8:57
Mark Salsbery29-Oct-07 8:57 
QuestionRe: Send Down Arrow Key to a Window Pin
David Crow29-Oct-07 9:09
David Crow29-Oct-07 9:09 
QuestionProgramatically changing the User Locale Pin
a.mulay29-Oct-07 1:46
a.mulay29-Oct-07 1:46 
QuestionRe: Programatically changing the User Locale Pin
David Crow29-Oct-07 3:53
David Crow29-Oct-07 3:53 
GeneralRe: Programatically changing the User Locale Pin
a.mulay29-Oct-07 4:06
a.mulay29-Oct-07 4:06 

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.