Click here to Skip to main content
16,006,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVisual C++ on WIN2000 don't work! Pin
22-Nov-00 4:52
suss22-Nov-00 4:52 
GeneralRe: Visual C++ on WIN2000 don't work! Pin
22-Nov-00 5:31
suss22-Nov-00 5:31 
GeneralRe: Visual C++ on WIN2000 don't work! Pin
23-Nov-00 0:11
suss23-Nov-00 0:11 
GeneralRe: Visual C++ on WIN2000 don't work! Pin
Christian Graus22-Nov-00 13:12
protectorChristian Graus22-Nov-00 13:12 
GeneralCOleObjectFactory Pin
RAZ22-Nov-00 0:22
RAZ22-Nov-00 0:22 
GeneralUsing FILE* as paramter to DLL-function fails Pin
Chris Vischer21-Nov-00 23:48
Chris Vischer21-Nov-00 23:48 
GeneralRe: Using FILE* as paramter to DLL-function fails Pin
VitSoft22-Nov-00 0:07
VitSoft22-Nov-00 0:07 
GeneralRe: Using FILE* as paramter to DLL-function fails Pin
22-Nov-00 0:45
suss22-Nov-00 0:45 
I'm not sure if this is the answer but from experience I do know that the standard library allocates memeory out of a heap. This heap is maintained by the standard library and your application and it's DLL would each maintain separate heaps. A problem will occur if a heap allocation/deallocation occurs when this FILE * pointer is used. Basically you cannot allocate from the heap in the application then attempt to deallocate from the DLL since the DLL assumes that the memory is in its own heap. I would suggest if possible to use file handles and work with the Win32 API instead of the standard library.

GeneralRe: Using FILE* as paramter to DLL-function fails Pin
VitSoft22-Nov-00 1:25
VitSoft22-Nov-00 1:25 
GeneralRe: Using FILE* as paramter to DLL-function fails Pin
22-Nov-00 1:27
suss22-Nov-00 1:27 
GeneralNetMessageBufferSend Pin
21-Nov-00 22:58
suss21-Nov-00 22:58 
GeneralWindows 3.0 file format Pin
21-Nov-00 18:04
suss21-Nov-00 18:04 
GeneralCustomize .h/.cpp file Pin
21-Nov-00 14:57
suss21-Nov-00 14:57 
GeneralRe: Customize .h/.cpp file Pin
Ancient Dragon21-Nov-00 17:20
Ancient Dragon21-Nov-00 17:20 
QuestionIn Unix C++, does there exist a command like 'print current memory'? Pin
21-Nov-00 6:01
suss21-Nov-00 6:01 
GeneralHEEELP !!! error LNK2001: unresolved external symbol Pin
21-Nov-00 5:23
suss21-Nov-00 5:23 
GeneralRe: HEEELP !!! error LNK2001: unresolved external symbol Pin
21-Nov-00 5:44
suss21-Nov-00 5:44 
GeneralRe: HEEELP !!! error LNK2001: unresolved external symbol Pin
Kim Lane21-Nov-00 6:04
Kim Lane21-Nov-00 6:04 
GeneralRe: HEEELP !!! error LNK2001: unresolved external symbol Pin
21-Nov-00 8:10
suss21-Nov-00 8:10 
GeneralRe: HEEELP !!! error LNK2001: unresolved external symbol Pin
ColinDavies21-Nov-00 8:27
ColinDavies21-Nov-00 8:27 
GeneralRe: HEEELP !!! error LNK2001: unresolved external symbol Pin
Ghazi H. Wadi21-Nov-00 9:32
Ghazi H. Wadi21-Nov-00 9:32 
QuestionHow to subclass a window scrollbar ??? Pin
21-Nov-00 3:48
suss21-Nov-00 3:48 
QuestionHow to subclass a window scrollbar ??? Pin
21-Nov-00 3:48
suss21-Nov-00 3:48 
GeneralMs Office version Pin
koteswara21-Nov-00 1:16
koteswara21-Nov-00 1:16 
GeneralUnresolved error. Pin
21-Nov-00 1:10
suss21-Nov-00 1:10 

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.