Click here to Skip to main content
16,004,887 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalencrytping files Pin
dSolariuM17-May-05 4:50
dSolariuM17-May-05 4:50 
GeneralRe: encrytping files Pin
Blake Miller17-May-05 4:56
Blake Miller17-May-05 4:56 
GeneralRe: encrytping files Pin
David Crow17-May-05 5:54
David Crow17-May-05 5:54 
Generalnamespaces Pin
scratchmonkey17-May-05 4:24
scratchmonkey17-May-05 4:24 
GeneralRe: namespaces Pin
Trollslayer17-May-05 4:47
mentorTrollslayer17-May-05 4:47 
GeneralRe: namespaces Pin
scratchmonkey17-May-05 5:16
scratchmonkey17-May-05 5:16 
GeneralRe: namespaces Pin
Anthony_Yio17-May-05 17:27
Anthony_Yio17-May-05 17:27 
GeneralProblem in DLL Pin
rajas17-May-05 4:16
rajas17-May-05 4:16 
I am having a difficult time finding my problem in a dll that I am trying to build. This is really my first significant dll. I am trying to export a class from this dll - the dll itself has many classes that support this class, which are not exported, including some that use COM. Some of the supporting classes need to be initialized at the beginning. I am using MFC, but the class being exported is not based on MFC and all the functions in the class use parameters that do not require MFC - so I understand that I do not need to build an MFC extension dll.
I wrote a simple dialog application that included all the classes in the dll, and the dialog with a button that exercises the class that is being exported. Everything works fine. The supporting classes initialize properly, and all the functions in the class to be exported work as expected.
Then I created a project to make the dll with all the same classes. I built the dll and built a new dialog project to test the exported class in dll. The program 'hangs' during initialization that happens in the dll. Here is my problem. When I step through the code, when a function is completed the return statement does not go back to the calling function - it is as though the call stack is somehow corrupted, and there is no next place to step through for the code. How can I find out what is happening? I have never had this particular problem before.

I have another smaller dll that I developed the same way as this which works fine - the basic difference is that this one uses COM to do some ADO, and this dll also has some global variables.

Thanks in advance.


GeneralRe: Problem in DLL Pin
Blake Miller17-May-05 4:55
Blake Miller17-May-05 4:55 
GeneralRe: Problem in DLL Pin
rajas17-May-05 5:13
rajas17-May-05 5:13 
GeneralRe: Problem in DLL Pin
Blake Miller17-May-05 5:40
Blake Miller17-May-05 5:40 
GeneralRe: Problem in DLL Pin
rajas17-May-05 6:06
rajas17-May-05 6:06 
GeneralRe: Problem in DLL Pin
rajas17-May-05 10:04
rajas17-May-05 10:04 
GeneralThread priority management Pin
ilgale17-May-05 4:04
ilgale17-May-05 4:04 
GeneralRe: Thread priority management Pin
Bob Stanneveld17-May-05 4:59
Bob Stanneveld17-May-05 4:59 
GeneralRe: Thread priority management Pin
ilgale17-May-05 5:16
ilgale17-May-05 5:16 
GeneralRe: Thread priority management Pin
Bob Stanneveld17-May-05 22:24
Bob Stanneveld17-May-05 22:24 
GeneralRe: Thread priority management Pin
ilgale17-May-05 23:04
ilgale17-May-05 23:04 
GeneralRe: Thread priority management Pin
Bob Stanneveld18-May-05 2:15
Bob Stanneveld18-May-05 2:15 
GeneralHere's a good one! .cram files! Pin
steve333317-May-05 4:02
steve333317-May-05 4:02 
QuestionHow to load bitmap, which is located in Access, on a FormView (MFC) Pin
chinook7517-May-05 3:43
chinook7517-May-05 3:43 
GeneralGetting command line parameters of a running process Pin
rocky_pulley17-May-05 3:36
rocky_pulley17-May-05 3:36 
GeneralRe: Getting command line parameters of a running process Pin
«_Superman_»17-May-05 4:26
professional«_Superman_»17-May-05 4:26 
GeneralRe: Getting command line parameters of a running process Pin
rocky_pulley17-May-05 4:41
rocky_pulley17-May-05 4:41 
GeneralRe: Getting command line parameters of a running process Pin
David Crow17-May-05 5:53
David Crow17-May-05 5:53 

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.