Click here to Skip to main content
15,917,971 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using database and recordsets with multiple .mdb files. Pin
Mark F.10-Nov-05 6:14
Mark F.10-Nov-05 6:14 
AnswerRe: Using database and recordsets with multiple .mdb files. Pin
David Crow10-Nov-05 8:54
David Crow10-Nov-05 8:54 
GeneralRe: Using database and recordsets with multiple .mdb files. Pin
Mark F.11-Nov-05 10:15
Mark F.11-Nov-05 10:15 
QuestionDirectX - How to Create Virtual Video Capture Source using the Filter Pin
Vishal Jariwala10-Nov-05 4:15
Vishal Jariwala10-Nov-05 4:15 
QuestionWeird memory issue Pin
Axonn Echysttas10-Nov-05 4:00
Axonn Echysttas10-Nov-05 4:00 
AnswerRe: Weird memory issue Pin
S. Senthil Kumar10-Nov-05 4:55
S. Senthil Kumar10-Nov-05 4:55 
GeneralRe: Weird memory issue Pin
Axonn Echysttas10-Nov-05 6:24
Axonn Echysttas10-Nov-05 6:24 
GeneralRe: Weird memory issue Pin
S. Senthil Kumar10-Nov-05 19:02
S. Senthil Kumar10-Nov-05 19:02 
I'm no expert in #pragma directives, but a quick Google search showed that
#pragma data_seg("SHARED")

is the right way to share *data* between applications loading the same DLL.

Axonn Echysttas wrote:
Even if I created it from my DLL Loader process, it's still the same DLL right? It gets attached to Explorer.exe.


It's the same DLL, but it gets mapped to different address spaces everytime it's loaded by a process. In short, a memory addresses are specific to a process, so calling new in one process and delete on the other will definitely result in a crash.


Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
QuestionHow to remname a VC++ project Pin
TUMB10-Nov-05 3:54
TUMB10-Nov-05 3:54 
AnswerRe: How to remname a VC++ project Pin
Axonn Echysttas10-Nov-05 4:12
Axonn Echysttas10-Nov-05 4:12 
AnswerRe: How to remname a VC++ project Pin
Robin Hilliard10-Nov-05 6:59
Robin Hilliard10-Nov-05 6:59 
Question_vsnprintf questions Pin
ita_cas10-Nov-05 2:35
ita_cas10-Nov-05 2:35 
AnswerRe: _vsnprintf questions Pin
toxcct10-Nov-05 2:46
toxcct10-Nov-05 2:46 
GeneralRe: _vsnprintf questions Pin
kakan10-Nov-05 3:21
professionalkakan10-Nov-05 3:21 
GeneralRe: _vsnprintf questions Pin
toxcct10-Nov-05 3:28
toxcct10-Nov-05 3:28 
Questionsrvice modeRun Project in Service mode Pin
thelip200510-Nov-05 0:48
thelip200510-Nov-05 0:48 
GeneralRe: srvice modeRun Project in Service mode Pin
thelip200510-Nov-05 1:15
thelip200510-Nov-05 1:15 
AnswerRe: srvice modeRun Project in Service mode Pin
kakan10-Nov-05 1:51
professionalkakan10-Nov-05 1:51 
Questionname of the device Pin
viliam10-Nov-05 0:07
viliam10-Nov-05 0:07 
QuestionHow to scroll text ? Pin
Amarelia10-Nov-05 0:02
Amarelia10-Nov-05 0:02 
AnswerRe: How to scroll text ? Pin
toxcct10-Nov-05 0:08
toxcct10-Nov-05 0:08 
AnswerRe: How to scroll text ? Pin
S Douglas10-Nov-05 1:38
professionalS Douglas10-Nov-05 1:38 
AnswerRe: How to scroll text ? Pin
Mathieu Dijkstra10-Nov-05 2:06
Mathieu Dijkstra10-Nov-05 2:06 
AnswerRe: How to scroll text ? Pin
John R. Shaw10-Nov-05 18:52
John R. Shaw10-Nov-05 18:52 
Questionhow to call store procedure of informix with VC6(ado+odbc) Pin
sexypipe9-Nov-05 22:49
sexypipe9-Nov-05 22:49 

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.