Click here to Skip to main content
15,891,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to move button when the dialog is resized? Pin
TheGreatAndPowerfulOz4-Oct-11 12:28
TheGreatAndPowerfulOz4-Oct-11 12:28 
GeneralRe: how to move button when the dialog is resized? Pin
Chuck O'Toole4-Oct-11 13:55
Chuck O'Toole4-Oct-11 13:55 
AnswerRe: how to move button when the dialog is resized? Pin
David Crow4-Oct-11 9:03
David Crow4-Oct-11 9:03 
GeneralRe: how to move button when the dialog is resized? Pin
TheGreatAndPowerfulOz4-Oct-11 9:37
TheGreatAndPowerfulOz4-Oct-11 9:37 
AnswerRe: how to move button when the dialog is resized? Pin
Chuck O'Toole4-Oct-11 12:11
Chuck O'Toole4-Oct-11 12:11 
AnswerRe: how to move button when the dialog is resized? Pin
Rolf Kristensen8-Oct-11 10:38
Rolf Kristensen8-Oct-11 10:38 
QuestionIssue with CreateInstance and E_NOINTERFACE Pin
BeerFizz4-Oct-11 5:16
BeerFizz4-Oct-11 5:16 
QuestionWin API custom control in a DLL Pin
Igen14-Oct-11 4:35
Igen14-Oct-11 4:35 
Hi!

I have don this thing before using VC++ and MFC. But my new owner Smile | :) don't want to use VC++. So I decided to port the whole thing to Win API. Generally this should be easy, but I have problems with the DLL part somehow.

When I make a basic DLL with only the dll_process_attach and just the initalization and some mouse handling, the DLL works! But when it's got basic TLS code to save my custom control class address for multithreadding support, it just don't work. The test app isn't start at all - and it isn't shows up in the TaskManager. AND where I got confused. If I comment all the added lines it still not change a thing. Even if I clear all generated files and recompile.

Did someone do this before? Dose anyone have a template to this? I confused because I did done it in VC++ and it's working.

Please help! Thx!
AnswerRe: Win API custom control in a DLL Pin
Igen14-Oct-11 5:12
Igen14-Oct-11 5:12 
QuestionHow to clear Object memory of Map Pin
002comp3-Oct-11 21:05
002comp3-Oct-11 21:05 
AnswerRe: How to clear Object memory of Map Pin
Richard MacCutchan3-Oct-11 21:26
mveRichard MacCutchan3-Oct-11 21:26 
GeneralRe: How to clear Object memory of Map Pin
002comp3-Oct-11 22:05
002comp3-Oct-11 22:05 
GeneralRe: How to clear Object memory of Map Pin
Richard MacCutchan3-Oct-11 22:24
mveRichard MacCutchan3-Oct-11 22:24 
GeneralRe: How to clear Object memory of Map Pin
002comp3-Oct-11 22:39
002comp3-Oct-11 22:39 
GeneralRe: How to clear Object memory of Map Pin
Richard MacCutchan4-Oct-11 1:11
mveRichard MacCutchan4-Oct-11 1:11 
GeneralRe: How to clear Object memory of Map Pin
002comp4-Oct-11 2:22
002comp4-Oct-11 2:22 
GeneralRe: How to clear Object memory of Map Pin
Richard MacCutchan4-Oct-11 2:25
mveRichard MacCutchan4-Oct-11 2:25 
AnswerRe: How to clear Object memory of Map Pin
ThatsAlok3-Oct-11 23:53
ThatsAlok3-Oct-11 23:53 
GeneralRe: How to clear Object memory of Map [ how to delete newed object tht we store in map] Pin
002comp4-Oct-11 0:10
002comp4-Oct-11 0:10 
AnswerRe: How to clear Object memory of Map [ how to delete newed object tht we store in map] Pin
ThatsAlok4-Oct-11 21:07
ThatsAlok4-Oct-11 21:07 
AnswerRe: How to clear Object memory of Map Pin
Stefan_Lang4-Oct-11 5:56
Stefan_Lang4-Oct-11 5:56 
SuggestionRe: How to clear Object memory of Map Pin
ThatsAlok4-Oct-11 20:55
ThatsAlok4-Oct-11 20:55 
GeneralRe: How to clear Object memory of Map Pin
Stefan_Lang4-Oct-11 21:50
Stefan_Lang4-Oct-11 21:50 
QuestionApplication getting carshed in release mode not in debug, in the follwing scenario Pin
Amrit Agr3-Oct-11 19:49
Amrit Agr3-Oct-11 19:49 
AnswerRe: Application getting carshed in release mode not in debug, in the follwing scenario Pin
Madhu Nair3-Oct-11 20:23
Madhu Nair3-Oct-11 20: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.