Click here to Skip to main content
15,913,685 members
Home / Discussions / COM
   

COM

 
QuestionActiveX on Dialog breaks DialogBoxParam? Pin
Dan Thurman3-Apr-03 7:00
Dan Thurman3-Apr-03 7:00 
QuestionVirtual drive using Shell Extensions - is it possible? Pin
PoliakovS2-Apr-03 23:55
PoliakovS2-Apr-03 23:55 
Generalmultiple IDispatches Pin
mweiss2-Apr-03 22:02
mweiss2-Apr-03 22:02 
GeneralRe: multiple IDispatches Pin
pba_9-Apr-03 12:48
pba_9-Apr-03 12:48 
GeneralDCOM & Dual LAN Pin
Deepak Bajaj2-Apr-03 17:56
Deepak Bajaj2-Apr-03 17:56 
GeneralRe: DCOM & Dual LAN Pin
pba_9-Apr-03 12:55
pba_9-Apr-03 12:55 
GeneralDCOM & Dual LAN Pin
Deepak Bajaj2-Apr-03 17:56
Deepak Bajaj2-Apr-03 17:56 
General"The stub received bad data" error when no marshalling is taking place in Win98 Pin
Alberto Bar-Noy2-Apr-03 8:33
Alberto Bar-Noy2-Apr-03 8:33 
Hi all,

I have the following code called from a worker thread in a DLL
HRESULT hRes = CoCreateInstance(CLSID_ToPickReg1,NULL,CLSCTX_INPROC_SERVER,__uuidof(IMyInterface),(void**)&m_pRegInterface);

and then I issue a call to a function like this
hRes = ((IMyInterface*)m_pRegInterface)->GetBinDir(&pChar,&errorCode);

where pChar is of type unsigned int * and the function signture is
CMyInterface::GetBinDir(unsigned char **ppuchBinDir, long *plErrorCode)

What I am getting is error 1783 or "The stub received bad data" in Win98 first edition with or without DCom98 installed, while in Win2000 everything works like a peach.

Any ideas?

Thanks in advance.

Alberto Gattegno
Software Engineer
http://www.itgil.com
GeneralWord automation Pin
Martyn Pearson2-Apr-03 1:48
Martyn Pearson2-Apr-03 1:48 
GeneralRe: Word automation Pin
Martyn Pearson2-Apr-03 2:12
Martyn Pearson2-Apr-03 2:12 
Generalthreading problems Pin
Dietmar Goetz1-Apr-03 3:49
Dietmar Goetz1-Apr-03 3:49 
GeneralRe: threading problems Pin
pba_9-Apr-03 13:07
pba_9-Apr-03 13:07 
Generalsome questions about events Pin
particle2k31-Mar-03 4:34
particle2k31-Mar-03 4:34 
GeneralRe: some questions about events Pin
Vi231-Mar-03 23:39
Vi231-Mar-03 23:39 
GeneralRe: some questions about events Pin
particle2k1-Apr-03 1:03
particle2k1-Apr-03 1:03 
GeneralRe: some questions about events Pin
Vi21-Apr-03 2:15
Vi21-Apr-03 2:15 
GeneralRe: some questions about events Pin
particle2k1-Apr-03 2:32
particle2k1-Apr-03 2:32 
QuestionCan com post message to app? I own the COM and app. Pin
xiaochnegwx29-Mar-03 15:35
xiaochnegwx29-Mar-03 15:35 
AnswerRe: Can com post message to app? I own the COM and app. Pin
geo_m29-Mar-03 22:56
geo_m29-Mar-03 22:56 
GeneralI only want to post WM_USER to app.How can I do? Pin
xiaochnegwx1-Apr-03 6:56
xiaochnegwx1-Apr-03 6:56 
GeneralRe: I only want to post WM_USER to app.How can I do? Pin
geo_m1-Apr-03 7:45
geo_m1-Apr-03 7:45 
GeneralBasic ATL-COM problem Pin
Francisco José Sen del Prado29-Mar-03 6:27
Francisco José Sen del Prado29-Mar-03 6:27 
GeneralRe: Basic ATL-COM problem Pin
Brian Shifrin29-Mar-03 13:12
Brian Shifrin29-Mar-03 13:12 
GeneralReturn Icon/Bitmap data from a method Pin
thowra29-Mar-03 1:35
thowra29-Mar-03 1:35 
GeneralRe: Return Icon/Bitmap data from a method Pin
Vi231-Mar-03 22:54
Vi231-Mar-03 22:54 

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.