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

C / C++ / MFC

 
GeneralRe: Dll Class Export Problem Pin
Pavlos Touboulidis6-Jul-01 14:16
Pavlos Touboulidis6-Jul-01 14:16 
GeneralRe: Dll Class Export Problem Pin
6-Jul-01 14:54
suss6-Jul-01 14:54 
QuestionPopup menus without MFC? Pin
6-Jul-01 6:13
suss6-Jul-01 6:13 
AnswerRe: Popup menus without MFC? Pin
Tomasz Sowinski6-Jul-01 6:33
Tomasz Sowinski6-Jul-01 6:33 
GeneralRe: Popup menus without MFC? Pin
6-Jul-01 8:25
suss6-Jul-01 8:25 
QuestionHow can I convert a LOGFONT's lfHeight into a CHARFORMAT's yHeight without a handle to a dc? Pin
Bart-Man6-Jul-01 6:02
Bart-Man6-Jul-01 6:02 
Generalquestion about memory allocation in win32 dll Pin
Jim Howard6-Jul-01 6:01
Jim Howard6-Jul-01 6:01 
GeneralRe: question about memory allocation in win32 dll Pin
Tomasz Sowinski6-Jul-01 6:40
Tomasz Sowinski6-Jul-01 6:40 
It should be possible to call new in DllMain called with DLL_PROCESS_ATTACH parameter. Each MFC extension DLL has a call to new in its initialization code:

if (dwReason == DLL_PROCESS_ATTACH)
	{
		TRACE0("CORE.DLL Initializing!\n");
		
		if (!AfxInitExtensionModule(CoreDLL, hInstance))
			return 0;

		new CDynLinkLibrary(CoreDLL);
	}


Is DllMain the 'raw' entrypoint to your DLL, or is it called from _DllMainCRTStartup? Put the breakpoint in the DllMain and check the stack.

Tomasz Sowinski -- http://www.shooltz.com
GeneralRe: question about memory allocation in win32 dll Pin
Jim Howard6-Jul-01 6:58
Jim Howard6-Jul-01 6:58 
GeneralRe: question about memory allocation in win32 dll Pin
Tomasz Sowinski6-Jul-01 7:07
Tomasz Sowinski6-Jul-01 7:07 
GeneralRe: question about memory allocation in win32 dll Pin
Jim Howard6-Jul-01 8:20
Jim Howard6-Jul-01 8:20 
GeneralFollowup to : question about memory allocation in win32 dll Pin
Jim Howard6-Jul-01 8:59
Jim Howard6-Jul-01 8:59 
GeneralWindow 2000 COM issue (maybe) Pin
Chris Klecker6-Jul-01 5:54
Chris Klecker6-Jul-01 5:54 
GeneralDrag and drop Pin
Kevnar6-Jul-01 5:52
Kevnar6-Jul-01 5:52 
GeneralRe: Drag and drop Pin
Tomasz Sowinski6-Jul-01 6:07
Tomasz Sowinski6-Jul-01 6:07 
Generalstl algorithms Pin
6-Jul-01 4:47
suss6-Jul-01 4:47 
GeneralRe: stl algorithms Pin
Chris Losinger6-Jul-01 5:07
professionalChris Losinger6-Jul-01 5:07 
GeneralRe: stl algorithms Pin
markkuk8-Jul-01 20:52
markkuk8-Jul-01 20:52 
GeneralUnzip a file through VC++ Pin
6-Jul-01 4:01
suss6-Jul-01 4:01 
GeneralRe: Unzip a file through VC++ Pin
Chris Losinger6-Jul-01 4:09
professionalChris Losinger6-Jul-01 4:09 
GeneralRe: Unzip a file through VC++ Pin
6-Jul-01 4:22
suss6-Jul-01 4:22 
GeneralRe: Unzip a file through VC++ Pin
Jack Mott6-Jul-01 8:26
Jack Mott6-Jul-01 8:26 
GeneralRe: Unzip a file through VC++ Pin
PJ Arends6-Jul-01 10:54
professionalPJ Arends6-Jul-01 10:54 
GeneralRe: Unzip a file through VC++ Pin
Bjarke Viksoe7-Jul-01 4:55
Bjarke Viksoe7-Jul-01 4:55 
GeneralRe: Unzip a file through VC++ Pin
9-Jul-01 2:20
suss9-Jul-01 2:20 

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.