Click here to Skip to main content
15,911,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Add jpeg image as a dialog formp's backgroung Pin
Paresh Chitte29-Apr-07 19:19
Paresh Chitte29-Apr-07 19:19 
QuestionUnresolved Externals [SOLVED] Pin
#realJSOP29-Apr-07 3:34
professional#realJSOP29-Apr-07 3:34 
AnswerRe: Unresolved Externals Pin
Mark Salsbery29-Apr-07 8:04
Mark Salsbery29-Apr-07 8:04 
GeneralRe: Unresolved Externals Pin
#realJSOP29-Apr-07 11:08
professional#realJSOP29-Apr-07 11:08 
AnswerRe: Unresolved Externals Pin
Cedric Moonen29-Apr-07 8:07
Cedric Moonen29-Apr-07 8:07 
GeneralRe: Unresolved Externals Pin
#realJSOP29-Apr-07 11:11
professional#realJSOP29-Apr-07 11:11 
QuestionRe: Unresolved Externals Pin
bob1697229-Apr-07 8:17
bob1697229-Apr-07 8:17 
AnswerRe: Unresolved Externals Pin
#realJSOP29-Apr-07 11:24
professional#realJSOP29-Apr-07 11:24 
0) Use VS2005 (I tried the pragma thing too). And then I did this:

1) Compiled the freeimagelib project for both release and debug

2) Moved the .lib files into a sub-folder under MyProject

3) Added the new lib folder to the "Linker | Additional Library Directories" setting for MyProject

4) Added the freeimage.lib (or freeimaged.lib) file to the "Linker | Additional Dependancies" setting for MyProject

4) Added the freeimage source folder (that contains the freeimage.h file) to the "C/C++ | Additional Include Directories" setting for MyProject

5) Added the FreeImagePlus include folder to the "C/C++ | Additional Include Directories" setting for MyProject

6) Added the necessary source files to MyProject

7) Added the necessary #includes (for FreeIMagePlus) to MyProject

The project compiles with no errors or warnings about not being able to find any files, but I get unresolved externals for the FreeImage stuff. Curiously, they all deal with the TIFF, MNG, PNG, and JPEG stuff.

I might just start from scratch on the project and see if I can't figure out where I went wrong.

As far as freeimage is concerned, it's a very nice library. When I get done with this project, I'm gonna post an article.





"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


AnswerRe: Unresolved Externals Pin
Rob Caldecott29-Apr-07 11:33
Rob Caldecott29-Apr-07 11:33 
GeneralRe: Unresolved Externals Pin
#realJSOP29-Apr-07 11:34
professional#realJSOP29-Apr-07 11:34 
GeneralRe: Unresolved Externals Pin
Rob Caldecott29-Apr-07 11:44
Rob Caldecott29-Apr-07 11:44 
GeneralRe: Unresolved Externals Pin
#realJSOP29-Apr-07 23:48
professional#realJSOP29-Apr-07 23:48 
QuestionBrightness control for MFC 203 Pin
YUANGE29-Apr-07 3:05
YUANGE29-Apr-07 3:05 
AnswerRe: Brightness control for MFC 203 Pin
Hamid_RT29-Apr-07 18:51
Hamid_RT29-Apr-07 18:51 
QuestionPlaySound (MFC) Pin
YUANGE29-Apr-07 1:58
YUANGE29-Apr-07 1:58 
AnswerRe: PlaySound (MFC) Pin
Mark Salsbery29-Apr-07 8:13
Mark Salsbery29-Apr-07 8:13 
QuestionRegistering a PKCS#12 file Pin
Andy H29-Apr-07 0:23
Andy H29-Apr-07 0:23 
AnswerRe: Registering a PKCS#12 file Pin
cmk29-Apr-07 0:50
cmk29-Apr-07 0:50 
Questionnavigate a dialog using up and down arrows and not tab... Pin
Joan M29-Apr-07 0:19
professionalJoan M29-Apr-07 0:19 
AnswerRe: navigate a dialog using up and down arrows and not tab... Pin
GuyM29-Apr-07 1:03
GuyM29-Apr-07 1:03 
GeneralRe: navigate a dialog using up and down arrows and not tab... Pin
Joan M29-Apr-07 1:06
professionalJoan M29-Apr-07 1:06 
QuestionHow to change the background color of a button? Pin
eli1502197928-Apr-07 23:56
eli1502197928-Apr-07 23:56 
QuestionRe: How to change the background color of a button? [modified] Pin
Doc Lobster29-Apr-07 0:20
Doc Lobster29-Apr-07 0:20 
AnswerRe: How to change the background color of a button? Pin
eli1502197929-Apr-07 1:08
eli1502197929-Apr-07 1:08 
AnswerRe: How to change the background color of a button? Pin
Joan M29-Apr-07 1:04
professionalJoan M29-Apr-07 1:04 

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.