Click here to Skip to main content
16,010,268 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Call Stack #2 Pin
Christian Graus23-Sep-01 2:36
protectorChristian Graus23-Sep-01 2:36 
GeneralRe: Call Stack #2 Pin
The_Server23-Sep-01 3:30
The_Server23-Sep-01 3:30 
GeneralRe: Call Stack #2 Pin
Tim Smith23-Sep-01 3:36
Tim Smith23-Sep-01 3:36 
GeneralRe: Call Stack #2 Pin
The_Server23-Sep-01 3:50
The_Server23-Sep-01 3:50 
GeneralFILE pointer to DLL function Pin
23-Sep-01 1:10
suss23-Sep-01 1:10 
GeneralRe: FILE pointer to DLL function Pin
Chris Losinger23-Sep-01 3:34
professionalChris Losinger23-Sep-01 3:34 
GeneralRe: FILE pointer to DLL function Pin
23-Sep-01 5:09
suss23-Sep-01 5:09 
GeneralRe: FILE pointer to DLL function Pin
23-Sep-01 6:57
suss23-Sep-01 6:57 
The problem is that a FILE pointer references data in your calling DLLs C-library. If this C-library is different from the C-library the callee uses the program will hand or crash.
Solution: use the same copy of the C-library in both DLLs, e.g. by checking the option "use MFC in shared library" in BOTH projects.

Anyway: using a FILE pointer in an interface is not the best programming style Wink | ;-)

best regards
Carsten
GeneralRe: FILE pointer to DLL function Pin
23-Sep-01 10:21
suss23-Sep-01 10:21 
GeneralRe: FILE pointer to DLL function Pin
Chris Losinger23-Sep-01 7:08
professionalChris Losinger23-Sep-01 7:08 
GeneralCall Stack Pin
The_Server22-Sep-01 20:37
The_Server22-Sep-01 20:37 
GeneralRe: Call Stack Pin
Christian Graus23-Sep-01 0:57
protectorChristian Graus23-Sep-01 0:57 
GeneralNon-Modal dialog Pin
22-Sep-01 12:21
suss22-Sep-01 12:21 
GeneralRe: Non-Modal dialog Pin
Michael P Butler22-Sep-01 12:30
Michael P Butler22-Sep-01 12:30 
GeneralRe: Non-Modal dialog Pin
22-Sep-01 12:33
suss22-Sep-01 12:33 
GeneralRe: Non-Modal dialog Pin
Joaquín M López Muñoz22-Sep-01 12:38
Joaquín M López Muñoz22-Sep-01 12:38 
GeneralRe: Non-Modal dialog Pin
22-Sep-01 12:44
suss22-Sep-01 12:44 
GeneralRe: Non-Modal dialog Pin
Michael P Butler22-Sep-01 12:47
Michael P Butler22-Sep-01 12:47 
GeneralRe: Non-Modal dialog Pin
22-Sep-01 12:51
suss22-Sep-01 12:51 
GeneralRe: Non-Modal dialog Pin
22-Sep-01 13:07
suss22-Sep-01 13:07 
GeneralRe: Non-Modal dialog Pin
Ravi Bhavnani22-Sep-01 13:58
professionalRavi Bhavnani22-Sep-01 13:58 
GeneralRe: Non-Modal dialog Pin
Christian Graus22-Sep-01 12:42
protectorChristian Graus22-Sep-01 12:42 
GeneralRe: Non-Modal dialog Pin
Michael P Butler22-Sep-01 12:48
Michael P Butler22-Sep-01 12:48 
GeneralRe: Non-Modal dialog Pin
User 988522-Sep-01 13:31
User 988522-Sep-01 13:31 
GeneralRe: Non-Modal dialog Pin
23-Sep-01 3:58
suss23-Sep-01 3:58 

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.