Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Date in VC++ Pin
Le@rner6-Jun-08 19:04
Le@rner6-Jun-08 19:04 
QuestionTD matrix Pin
sofia_1116-Jun-08 11:42
sofia_1116-Jun-08 11:42 
AnswerRe: TD matrix Pin
CPallini6-Jun-08 12:13
mveCPallini6-Jun-08 12:13 
AnswerRe: TD matrix Pin
sudhir_Kumar6-Jun-08 21:24
sudhir_Kumar6-Jun-08 21:24 
QuestionLoadResource LockResource RT_RCDATA memory lifetime Pin
bob169726-Jun-08 10:50
bob169726-Jun-08 10:50 
AnswerRe: LoadResource LockResource RT_RCDATA memory lifetime Pin
Garth J Lancaster6-Jun-08 22:48
professionalGarth J Lancaster6-Jun-08 22:48 
GeneralRe: LoadResource LockResource RT_RCDATA memory lifetime Pin
bob169727-Jun-08 6:44
bob169727-Jun-08 6:44 
GeneralRe: LoadResource LockResource RT_RCDATA memory lifetime Pin
bob169727-Jun-08 6:51
bob169727-Jun-08 6:51 
Wait. It just dawned on me that it was right under my nose all along.

From MSDN...
"The resource obtained by LoadResource is automatically freed when the module is was loaded from is unloaded."

I've been looking at it from the perspective of embedding the resource in my .exe when it looks like I should be using a "resource only" dll module. If I "LoadLibrary()" and "FreeLibrary()" for the resource module, the memory from "LockResource()" should be freed when I call "FreeLibrary()" according to the quote above. (Or at least when the reference count for the resource module goes to zero)

Do you think I'm barking up the wrong tree or is that probably the detail I've been ignorant of all along?
Questionisdigit () function Pin
sofia_1116-Jun-08 10:00
sofia_1116-Jun-08 10:00 
AnswerRe: isdigit () function Pin
CPallini6-Jun-08 10:16
mveCPallini6-Jun-08 10:16 
GeneralRe: isdigit () function Pin
Nemanja Trifunovic6-Jun-08 10:40
Nemanja Trifunovic6-Jun-08 10:40 
QuestionWhat about the link? Pin
CPallini6-Jun-08 10:52
mveCPallini6-Jun-08 10:52 
AnswerRe: isdigit () function Pin
PIEBALDconsult6-Jun-08 10:26
mvePIEBALDconsult6-Jun-08 10:26 
GeneralThat's for managed people. Pin
CPallini6-Jun-08 10:40
mveCPallini6-Jun-08 10:40 
GeneralRe: That's for managed people. Pin
PIEBALDconsult6-Jun-08 12:43
mvePIEBALDconsult6-Jun-08 12:43 
GeneralRe: That's for managed people. Pin
CPallini7-Jun-08 7:58
mveCPallini7-Jun-08 7:58 
AnswerRe: isdigit () function Pin
sofia_1116-Jun-08 11:33
sofia_1116-Jun-08 11:33 
Questionabout 101 errors when i run default MFC dialog app in VC++ 2005 Pin
CHYGO6-Jun-08 5:59
CHYGO6-Jun-08 5:59 
QuestionRe: about 101 errors when i run default MFC dialog app in VC++ 2005 Pin
Mark Salsbery6-Jun-08 6:50
Mark Salsbery6-Jun-08 6:50 
AnswerRe: about 101 errors when i run default MFC dialog app in VC++ 2005 Pin
CHYGO6-Jun-08 7:59
CHYGO6-Jun-08 7:59 
GeneralRe: about 101 errors when i run default MFC dialog app in VC++ 2005 Pin
messages6-Jun-08 8:48
messages6-Jun-08 8:48 
GeneralRe: about 101 errors when i run default MFC dialog app in VC++ 2005 Pin
CHYGO6-Jun-08 17:03
CHYGO6-Jun-08 17:03 
QuestionUsb Pin
messages6-Jun-08 4:47
messages6-Jun-08 4:47 
AnswerRe: Usb Pin
jeron16-Jun-08 5:20
jeron16-Jun-08 5:20 
AnswerRe: Usb Pin
Cedric Moonen6-Jun-08 7:23
Cedric Moonen6-Jun-08 7:23 

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.