Click here to Skip to main content
15,897,968 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionObtaining the Parallel Port Address Pin
69 Bay8-Feb-07 22:37
69 Bay8-Feb-07 22:37 
AnswerRe: Obtaining the Parallel Port Address Pin
Roger Stoltz8-Feb-07 23:09
Roger Stoltz8-Feb-07 23:09 
GeneralRe: Obtaining the Parallel Port Address Pin
69 Bay9-Feb-07 1:00
69 Bay9-Feb-07 1:00 
GeneralRe: Obtaining the Parallel Port Address Pin
Roger Stoltz9-Feb-07 4:09
Roger Stoltz9-Feb-07 4:09 
GeneralRe: Obtaining the Parallel Port Address Pin
69 Bay9-Feb-07 5:24
69 Bay9-Feb-07 5:24 
GeneralRe: Obtaining the Parallel Port Address Pin
Roger Stoltz10-Feb-07 9:31
Roger Stoltz10-Feb-07 9:31 
QuestionVirtual methods Pin
Waldermort8-Feb-07 22:34
Waldermort8-Feb-07 22:34 
AnswerRe: Virtual methods Pin
Cedric Moonen8-Feb-07 22:39
Cedric Moonen8-Feb-07 22:39 
GeneralRe: Virtual methods Pin
Waldermort9-Feb-07 1:44
Waldermort9-Feb-07 1:44 
QuestionGet IP Address & system name in C Pin
Karismatic8-Feb-07 22:14
Karismatic8-Feb-07 22:14 
AnswerRe: Get IP Address & system name in C Pin
Sethuraman.K9-Feb-07 1:52
Sethuraman.K9-Feb-07 1:52 
QuestionRe: Get IP Address & system name in C Pin
Mark Salsbery9-Feb-07 6:02
Mark Salsbery9-Feb-07 6:02 
AnswerRe: Get IP Address & system name in C Pin
malaugh9-Feb-07 9:06
malaugh9-Feb-07 9:06 
QuestionDisplaying static control on title bar of a dialog Pin
Q2A8-Feb-07 21:57
Q2A8-Feb-07 21:57 
AnswerRe: Displaying static control on title bar of a dialog Pin
Cedric Moonen8-Feb-07 22:20
Cedric Moonen8-Feb-07 22:20 
GeneralRe: Displaying static control on title bar of a dialog Pin
Q2A8-Feb-07 22:27
Q2A8-Feb-07 22:27 
GeneralRe: Displaying static control on title bar of a dialog Pin
Cedric Moonen8-Feb-07 22:50
Cedric Moonen8-Feb-07 22:50 
GeneralRe: Displaying static control on title bar of a dialog Pin
Q2A9-Feb-07 1:20
Q2A9-Feb-07 1:20 
GeneralRe: Displaying static control on title bar of a dialog Pin
Cedric Moonen9-Feb-07 1:48
Cedric Moonen9-Feb-07 1:48 
AnswerRe: Displaying static control on title bar of a dialog Pin
Hamid_RT9-Feb-07 5:25
Hamid_RT9-Feb-07 5:25 
Questiondisplaying text in diffrent font on rich edit control Pin
Swapnil G8-Feb-07 21:31
Swapnil G8-Feb-07 21:31 
AnswerRe: displaying text in diffrent font on rich edit control Pin
Hamid_RT8-Feb-07 21:38
Hamid_RT8-Feb-07 21:38 
QuestionAbout windowless mode Pin
siddharthsan8-Feb-07 21:25
siddharthsan8-Feb-07 21:25 
AnswerRe: About windowless mode Pin
Waldermort8-Feb-07 21:39
Waldermort8-Feb-07 21:39 
QuestionHow to embed a bitmap file into executable? Pin
LoadBitmap8-Feb-07 21:12
LoadBitmap8-Feb-07 21:12 
Hello, I am using VC++2005 with this line of code to load a bitmap which is already added as a resource file:

m_hBitmap = (HBITMAP)LoadImage(GetModuleHandle(NULL), "res/Image.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);

But when I execute the compiled exe file, it throws this error "Error loading Bitmap" and I have create a "res" folder and copy "Image.bmp" into it for the executable to run properly.

Does anyone know how to integrate the folder into sigle executable file?

Thanks in advance!

Lantianman

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.