Click here to Skip to main content
15,909,652 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Any way to view the contents of an ms word file? Pin
Joey Bloggs31-Aug-03 14:18
Joey Bloggs31-Aug-03 14:18 
AnswerRe: Any way to view the contents of an ms word file? Pin
tareqsiraj1-Sep-03 4:53
tareqsiraj1-Sep-03 4:53 
QuestionHow to use tab in a treeview? Pin
Binayak31-Aug-03 12:21
Binayak31-Aug-03 12:21 
AnswerRe: How to use tab in a treeview? Pin
Joey Bloggs31-Aug-03 14:48
Joey Bloggs31-Aug-03 14:48 
GeneralCSettingsDialog Pin
monrobot1331-Aug-03 10:21
monrobot1331-Aug-03 10:21 
QuestionCreating a main window with only a dialog resource? Pin
Aidman31-Aug-03 7:30
Aidman31-Aug-03 7:30 
AnswerRe: Creating a main window with only a dialog resource? Pin
l a u r e n31-Aug-03 8:19
l a u r e n31-Aug-03 8:19 
GeneralFreeImage newbie Pin
tareqsiraj31-Aug-03 6:21
tareqsiraj31-Aug-03 6:21 
Hello there,
I was looking at the Freeimage article by Markus Loibl. his MFC program works great but i was trying to test it myself using a small application. here is the code.

#include < iostream.h >
#include < stdlib.h >
#include < freeimage.h >

void main()
{
	FIBITMAP *dib = FreeImage_Load(FIF_JPEG, "1.jpg", 0);

	system("pause");
}


I know it does nothing but shouldnt FreeImage_Load(...) return something? VC says that it returns 0x000...

I have included the lib file in my project settings and it compiles ok. the jpg file is in the debug directory with the executable. Any comment would be welcome. Thanks.

-Tareq
GeneralRe: FreeImage newbie Pin
l a u r e n31-Aug-03 8:20
l a u r e n31-Aug-03 8:20 
GeneralRe: FreeImage newbie Pin
tareqsiraj31-Aug-03 8:25
tareqsiraj31-Aug-03 8:25 
GeneralUsing CRecordView Pin
Antti Keskinen31-Aug-03 5:45
Antti Keskinen31-Aug-03 5:45 
GeneralHelp With online thing Pin
Snyp31-Aug-03 5:45
Snyp31-Aug-03 5:45 
GeneralRe: Help With online thing Pin
ZoogieZork31-Aug-03 7:39
ZoogieZork31-Aug-03 7:39 
GeneralRe: Help With online thing Pin
Snyp31-Aug-03 7:40
Snyp31-Aug-03 7:40 
GeneralRe: Help With online thing Pin
ZoogieZork31-Aug-03 8:23
ZoogieZork31-Aug-03 8:23 
GeneralRe: Help With online thing Pin
Snyp31-Aug-03 14:22
Snyp31-Aug-03 14:22 
GeneralRe: Help With online thing Pin
ZoogieZork31-Aug-03 16:21
ZoogieZork31-Aug-03 16:21 
GeneralRe: Help With online thing Pin
l a u r e n31-Aug-03 8:21
l a u r e n31-Aug-03 8:21 
GeneralRe: Help With online thing Pin
ZoogieZork31-Aug-03 8:26
ZoogieZork31-Aug-03 8:26 
GeneralRe: Help With online thing Pin
User 665831-Aug-03 9:27
User 665831-Aug-03 9:27 
GeneralUnicode or MBCS Pin
Daed31-Aug-03 5:17
Daed31-Aug-03 5:17 
Generalnew to sockets Pin
rakeshv31-Aug-03 2:14
rakeshv31-Aug-03 2:14 
GeneralRe: new to sockets Pin
Robert Kuster31-Aug-03 8:21
Robert Kuster31-Aug-03 8:21 
GeneralCreate nonblocking socket for all win versions Pin
CND31-Aug-03 2:04
CND31-Aug-03 2:04 
GeneralRe: Create nonblocking socket for all win versions Pin
Simon.W31-Aug-03 2:16
Simon.W31-Aug-03 2:16 

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.