Click here to Skip to main content
16,015,594 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionAnybody tell me how to use IStream correctly? Pin
max_xiayi3-Jun-04 18:59
max_xiayi3-Jun-04 18:59 
AnswerRe: Anybody tell me how to use IStream correctly? Pin
Todd Smith4-Jun-04 13:22
Todd Smith4-Jun-04 13:22 
AnswerRe: Anybody tell me how to use IStream correctly? Pin
f649-Jun-04 6:31
f649-Jun-04 6:31 
GeneralBase Class Undefined Pin
TFrancis3-Jun-04 7:56
TFrancis3-Jun-04 7:56 
QuestionHow to call methods of an appobject directly? Pin
Roozbeh692-Jun-04 4:01
professionalRoozbeh692-Jun-04 4:01 
QuestionWhat a sh##t!!! Pin
El'Cachubrey2-Jun-04 2:25
El'Cachubrey2-Jun-04 2:25 
AnswerRe: What a sh##t!!! Pin
sas22222-Jun-04 3:55
sas22222-Jun-04 3:55 
Generalshell programming Pin
sas22221-Jun-04 8:56
sas22221-Jun-04 8:56 
what is the preferred way to share instantiations between
different "instances" of the explorer shell (explorer.exe)?

I have read the Dunn articles on shell programming and
can't seem to share object instantiations between
explorer.exe "instances".

I have a ATL created shell extension that implements the
context menu interfaces and in a single instance
of the explorer, the code works fine;

If i fire up a second instance of explorer.exe
from the start task bar, and right click
on a file, the code crashes, and the debugger
takes me to the windows malloc.c src file.

my memory model is such that I keep instantiated objects in
the main application object (derived from public CWinApp),
and want to use these objects from the new instances
of the coclass that implements the IShellExtInit interfaces.
I have used the SHGetMalloc call to get an IMalloc interface
and use that for my mallocs.

one of the objects is a iDispatch class generated from
a typlib via the class wizard.. other classes are straight C++
impl classes that hold session data.

--

Any help is appreciated!

-





steves


sas
GeneralRe: shell programming Pin
Prakash Nadar2-Jun-04 7:10
Prakash Nadar2-Jun-04 7:10 
GeneralRe: shell programming Pin
sas22222-Jun-04 7:33
sas22222-Jun-04 7:33 
GeneralRe: shell programming Pin
Prakash Nadar2-Jun-04 15:49
Prakash Nadar2-Jun-04 15:49 
GeneralRe: shell programming Pin
sas22223-Jun-04 6:07
sas22223-Jun-04 6:07 
GeneralDebugging ATL control Pin
roel_1-Jun-04 5:01
roel_1-Jun-04 5:01 
GeneralRe: Debugging ATL control Pin
roel_1-Jun-04 5:15
roel_1-Jun-04 5:15 
GeneralRe: Debugging ATL control Pin
Jörgen Sigvardsson1-Jun-04 8:49
Jörgen Sigvardsson1-Jun-04 8:49 
GeneralRe: Debugging ATL control Pin
roel_2-Jun-04 4:26
roel_2-Jun-04 4:26 
GeneralRe: Debugging ATL control Pin
_Magnus_2-Jun-04 2:05
_Magnus_2-Jun-04 2:05 
GeneralRe: Debugging ATL control Pin
roel_2-Jun-04 4:27
roel_2-Jun-04 4:27 
QuestionATL Executable doesn't allow MFC support, why ? Pin
ohadp1-Jun-04 1:21
ohadp1-Jun-04 1:21 
GeneralDrag and drop of files in ATL Pin
krnathan31-May-04 3:06
krnathan31-May-04 3:06 
GeneralRe: Drag and drop of files in ATL Pin
f6431-May-04 8:36
f6431-May-04 8:36 
GeneralRe: Drag and drop of files in ATL Pin
krnathan2-Jun-04 23:32
krnathan2-Jun-04 23:32 
GeneralAdding a component to a MFCEXE! Pin
alireza_shokoie30-May-04 4:10
alireza_shokoie30-May-04 4:10 
Generalabout ATL Pin
mf1429-May-04 20:21
mf1429-May-04 20:21 
Generalinstallscript Pin
raysuman28-May-04 3:32
raysuman28-May-04 3:32 

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.