Click here to Skip to main content
15,920,602 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Make a mfc Application as dll Pin
VCsamir15-Jan-09 17:27
VCsamir15-Jan-09 17:27 
QuestionCreating DLL in VC++ to use in CVI (C) Pin
Kiran Satish5-Jan-09 17:39
Kiran Satish5-Jan-09 17:39 
AnswerRe: Creating DLL in VC++ to use in CVI (C) Pin
Garth J Lancaster5-Jan-09 22:52
professionalGarth J Lancaster5-Jan-09 22:52 
QuestionChanging EXE Bitmap.. Pin
CuteAshaVC++5-Jan-09 16:26
CuteAshaVC++5-Jan-09 16:26 
AnswerRe: Changing EXE Bitmap.. Pin
Sarath C5-Jan-09 20:06
Sarath C5-Jan-09 20:06 
QuestionRe: Changing EXE Bitmap.. Pin
CuteAshaVC++5-Jan-09 20:59
CuteAshaVC++5-Jan-09 20:59 
AnswerRe: Changing EXE Bitmap.. Pin
Code-o-mat5-Jan-09 21:53
Code-o-mat5-Jan-09 21:53 
AnswerRe: Changing EXE Bitmap.. Pin
enhzflep6-Jan-09 2:04
enhzflep6-Jan-09 2:04 
Although it's a pretty easy task once accustomed to the type of work, you may find the solution a little offputting.

All you have to do is add a bitmap to the exe file using a EXE-file resource editor, then modify the code that loads the original bitmp so that it now loads the new bitmap (with it's new resource ID)


The first task you can do with Reshacker, the second you'll need OllyDbg or any other dissassembler/hex-editor combo. Generally speaking, each time your program loads the bitmap resource, it makes a call to LoadResource. One of the arguments for this call is the resource ID of the resource to load.

You need to find all instances of this old resource-ID and change them to the resource-ID of the new bitmap. (You can directly edit the dissasembly, and save changes back to an exe file)
Questionhow to get buffer in standard C language Pin
PhuLove5-Jan-09 15:51
PhuLove5-Jan-09 15:51 
GeneralRe: how to get buffer in standard C language Pin
Luc Pattyn5-Jan-09 16:06
sitebuilderLuc Pattyn5-Jan-09 16:06 
GeneralRe: how to get buffer in standard C language Pin
PhuLove7-Jan-09 1:58
PhuLove7-Jan-09 1:58 
GeneralRe: how to get buffer in standard C language Pin
Luc Pattyn7-Jan-09 2:12
sitebuilderLuc Pattyn7-Jan-09 2:12 
GeneralRe: how to get buffer in standard C language Pin
PhuLove7-Jan-09 13:54
PhuLove7-Jan-09 13:54 
GeneralRe: how to get buffer in standard C language Pin
Luc Pattyn7-Jan-09 14:19
sitebuilderLuc Pattyn7-Jan-09 14:19 
GeneralRe: how to get buffer in standard C language Pin
PhuLove8-Jan-09 14:52
PhuLove8-Jan-09 14:52 
QuestionMFC and dynamic_cast? Pin
nobaq5-Jan-09 10:32
nobaq5-Jan-09 10:32 
AnswerRe: MFC and dynamic_cast? Pin
CPallini5-Jan-09 10:40
mveCPallini5-Jan-09 10:40 
GeneralRe: MFC and dynamic_cast? Pin
Mark Salsbery5-Jan-09 10:45
Mark Salsbery5-Jan-09 10:45 
GeneralRe: MFC and dynamic_cast? Pin
CPallini5-Jan-09 23:05
mveCPallini5-Jan-09 23:05 
GeneralRe: MFC and dynamic_cast? Pin
Mark Salsbery6-Jan-09 5:01
Mark Salsbery6-Jan-09 5:01 
GeneralRe: MFC and dynamic_cast? Pin
CPallini6-Jan-09 5:12
mveCPallini6-Jan-09 5:12 
GeneralRe: MFC and dynamic_cast? Pin
Mark Salsbery6-Jan-09 5:14
Mark Salsbery6-Jan-09 5:14 
AnswerRe: MFC and dynamic_cast? [modified] Pin
Jijo.Raj5-Jan-09 10:53
Jijo.Raj5-Jan-09 10:53 
GeneralRe: MFC and dynamic_cast? Pin
nobaq5-Jan-09 12:24
nobaq5-Jan-09 12:24 
QuestionHow to use C# class library dll controls in C++ Win32 project Pin
atisman5-Jan-09 10:02
atisman5-Jan-09 10:02 

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.