Click here to Skip to main content
15,893,337 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Encoding a string Pin
Herboren11-Mar-10 9:39
Herboren11-Mar-10 9:39 
GeneralRe: Encoding a string Pin
Jonathan Davies11-Mar-10 9:40
Jonathan Davies11-Mar-10 9:40 
GeneralRe: Encoding a string Pin
Herboren11-Mar-10 9:50
Herboren11-Mar-10 9:50 
QuestionAny cryptography library in Visual C++? Pin
Jun Du11-Mar-10 5:28
Jun Du11-Mar-10 5:28 
AnswerRe: Any cryptography library in Visual C++? Pin
Chris Losinger11-Mar-10 5:43
professionalChris Losinger11-Mar-10 5:43 
GeneralRe: Any cryptography library in Visual C++? Pin
Richard MacCutchan11-Mar-10 5:51
mveRichard MacCutchan11-Mar-10 5:51 
AnswerRe: Any cryptography library in Visual C++? Pin
Keith Worden11-Mar-10 6:49
Keith Worden11-Mar-10 6:49 
QuestionMFC and DLL initialization - is this approach correct? Pin
Vaclav_11-Mar-10 4:31
Vaclav_11-Mar-10 4:31 
I am just asking for an opinion / verification of my code approach.
All my references (#include and DLL) are functioning as expected.

I am using MFC extension DLL and operator new in main application constructor:


COpenHRApp::COpenHRApp()
{

TRACE("COpenHRApp::COpenHRApp()\n");
pLog = new OpenHR_Log ; // initialize Log DLL
pSerial = new OpenHR_Serial; // serial communication test
pRegistry = new OpenHR_Registry; // registry access
TRACE("COpenHRApp::COpenHRApp()\n");

}

Here is the initial debug trace:

Loaded 'D:\WINNT\system32\ntdll.dll', no matching symbolic information found.
Loaded symbols for 'R:\0\HR\DLL\V1\OpenHR\Debug\OpenHR__DLL_Log.dll'
Loaded symbols for 'D:\WINNT\system32\MFC42D.DLL'
Loaded symbols for 'D:\WINNT\system32\MSVCRTD.DLL'
Loaded 'D:\WINNT\system32\KERNEL32.DLL', no matching symbolic information found.
Loaded 'D:\WINNT\system32\GDI32.DLL', no matching symbolic information found.
Loaded 'D:\WINNT\system32\USER32.DLL', no matching symbolic information found.
Loaded symbols for 'R:\0\HR\DLL\V1\OpenHR\Debug\OpenHR__DLL_Serial.dll'
Loaded symbols for 'R:\0\HR\DLL\V1\OpenHR\Debug\OpenHR__DLL_Registry.dll'
Loaded symbols for 'R:\0\HR\DLL\V1\OpenHR\Debug\OpenHR__DLL_Main_Ext.dll'
Loaded symbols for 'D:\WINNT\system32\MFCO42D.DLL'
OPENHR__DLL_LOG.DLL Initializing!
OPENHR__DLL_SERIAL.DLL Initializing!
OPENHR__DLL_REGISTRY.DLL Initializing!
OPENHR__DLL_MAIN_EXT.DLL Initializing!
COpenHRApp::COpenHRApp()
CopenHRApp::COpenHRApp()


One question– I did not add any DDL .lib references to my project setting and so far everything is working as expected.
Any comments on that?

As always I appreciate your help and time.
Thanks
Vaclav
AnswerRe: MFC and DLL initialization - is this approach correct? [modified] Pin
Eugen Podsypalnikov11-Mar-10 4:56
Eugen Podsypalnikov11-Mar-10 4:56 
QuestionKill child process Pin
Pryabu10-Mar-10 23:13
Pryabu10-Mar-10 23:13 
AnswerRe: Kill child process Pin
Naveen10-Mar-10 23:15
Naveen10-Mar-10 23:15 
AnswerRe: Kill child process Pin
Eugen Podsypalnikov10-Mar-10 23:16
Eugen Podsypalnikov10-Mar-10 23:16 
AnswerRe: Kill child process Pin
Stephen Hewitt11-Mar-10 3:31
Stephen Hewitt11-Mar-10 3:31 
AnswerRe: Kill child process Pin
Stephen Hewitt11-Mar-10 4:59
Stephen Hewitt11-Mar-10 4:59 
QuestionUrgent help required to Do something in standby mode for windows Mobile. Pin
Rahul Vaishnav10-Mar-10 22:28
Rahul Vaishnav10-Mar-10 22:28 
AnswerRe: Urgent help required to Do something in standby mode for windows Mobile. Pin
Rajesh R Subramanian10-Mar-10 22:56
professionalRajesh R Subramanian10-Mar-10 22:56 
Questionending a running program Pin
tamar8210-Mar-10 22:13
tamar8210-Mar-10 22:13 
AnswerRe: ending a running program Pin
«_Superman_»10-Mar-10 22:19
professional«_Superman_»10-Mar-10 22:19 
AnswerRe: ending a running program Pin
Eugen Podsypalnikov10-Mar-10 22:20
Eugen Podsypalnikov10-Mar-10 22:20 
QuestionRe: ending a running program Pin
CPallini10-Mar-10 22:35
mveCPallini10-Mar-10 22:35 
AnswerRe: ending a running program Pin
Rajesh R Subramanian10-Mar-10 22:55
professionalRajesh R Subramanian10-Mar-10 22:55 
QuestionCSpinButtonCtrl message handling to know up or down button is clicked Pin
A&Ms10-Mar-10 21:48
A&Ms10-Mar-10 21:48 
AnswerRe: CSpinButtonCtrl message handling to know up or down button is clicked Pin
Eugen Podsypalnikov10-Mar-10 22:06
Eugen Podsypalnikov10-Mar-10 22:06 
QuestionRe: CSpinButtonCtrl message handling to know up or down button is clicked Pin
A&Ms10-Mar-10 22:47
A&Ms10-Mar-10 22:47 
AnswerRe: CSpinButtonCtrl message handling to know up or down button is clicked [modified] Pin
Eugen Podsypalnikov10-Mar-10 23:02
Eugen Podsypalnikov10-Mar-10 23: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.