|
Hi,
A safe control must not perform disk IO or access the memory or registers of a machine directly. As I know DirectX is using direct memory access. But it's up to you to make a final decision...
Regards,
Alex Gorev,
Dundas Software.
|
|
|
|
|
So you're saying that you wouldn't mark the control as safe if it is using DirectX. But this control needs to access the sound card for data. I guess that using the multimedia functions of the WIN32 API has the same problem than DirectX, which leaves me no chance to make it a safe control.
Thanks so much, Alex!
Luís Teixeira
|
|
|
|
|
Hello All,
I have being trying to use the PDF Reader ActiveX control for IE in my own application. It is easy with VB, but with
MFC I get an error message "catastrophic failure" after
the splash screen is displayed signifying the start of the server, and the viewer does not show up. However, if I try
to resize the view window the same error message is displayed.
Any help? please.
Best Regards,
Paul.
|
|
|
|
|
Hi,
I am looking for ways to simplify obtaining data across multiple operating systems. The data could be from anywhere from databases to shared memory to flat files.
My first thoughts were to use TCP/IP and create a custom messaging protocol but I have read a little about CORBA and wondered whether anyone had used and whether it was useful?
DCOM obviously cannot be used as it is Microsoft specific unless you use a COM/CORBA bridge.
Cheers
James
|
|
|
|
|
Hi,
I think custom TCP/IP protocol is the best solution! You will never achieve the same performance using COBRA or DCOM. And it's not very hard to do...
Regards,
Alex Gorev,
Dundas Software.
|
|
|
|
|
I would recommend OmniORB (www.omni.org) It is free.
But as another replied you will never achieve the same performance as you can with raw TCP/IP. That said, we are running 5000 requests a second on a PIII/500 using omniORB.
Christian Skovdal Andersen
|
|
|
|
|
Does anyone know of anything that could replace ctime in alt project?
please let me know
thanks
|
|
|
|
|
Hello!!!
How can i load a ATL/COM dll in other ATL/COM dll at runtime?????
|
|
|
|
|
Hi,
from IE explorer ToolBand(IN PROC SERVER) we are creating OUT PROC server,
the server is a singelton,
sometimes the toolband cause an access violation,so we need to restart IE
but after we restart it we get a new instance of the OUT PROC server
this is only happan on WIN 95/98
thanks
tomer
|
|
|
|
|
I have done a control with some stock prop pages. It works fine until I added a font stock prop page. I get a warning from midl saying font type doesn't follow automation. In the test container it works fine to change the font and in design mode in VC too. But when I try to run a client with the control it says "Invoked failed on DISPID xyz..."
What additional coding from the wizard-generated code has to be done to get the font stock prop page to work?
Cheers!
|
|
|
|
|
Hi,
I am looking for some info,guidelines
on how to write Automatic update of COM components
over the internet,
our system built from several COM components,some In Proc
some Out Proc,and i want send update to the user
any one ever implemented such a system...?
thanks
tomer
|
|
|
|
|
Where is the best place to go read how to use COM+ without the acronym MTS being mentioned?
Kind regards,
Al.
VBer who wants to go back to, but will have to learn again, C++. I'll carry on using VB for the front-end; so when I get proficient at C++/STL can I jump straight to ATL and avoid the MFC?
|
|
|
|
|
Hi All:
How I can create such a ActiveX control that can catch all the messages of the container.
For instance, When the frame (contain my control) resizes, My control can be informed and do some things.
ThinkingCode
|
|
|
|
|
Have a look at this and can anyone help me ?
classA.h
class A
{
class B;
method_A;
method_AA;
};
***********************
classB.h
class B
{
Method_B;
Method_BB;
};
How (if one can that is) do I access a method in class A say method_A from the Method_B in class B ?
|
|
|
|
|
Make Class B the friend of class A
|
|
|
|
|
Hi
I want to override IConnectionPointImpl
advise
so i can get the IUnkown of the object which hand it's sink
which is the best,easy way to do it in ATL
thanks
tomer
|
|
|
|
|
OK,I found a very simple solution...
template <class t,="" const="" iid*="" piid,="" class="" cdv="CComDynamicUnkArray">
class CAdviSeNotify: public IConnectionPointImpl<t,piid,cdv>
{
public:
typedef IConnectionPointImpl<t,piid,cdv> baseClass;
CAdviSeNotify(){};
virtual ~CAdviSeNotify(){};
STDMETHOD(Advise)(IUnknown* pUnkSink, DWORD* pdwCookie)
{
T* pT = static_cast<t*>(this);
pT->OnClientAdvise(pUnkSink,piid);
return baseClass::Advise(pUnkSink,pdwCookie);
}
STDMETHOD(Unadvise)(DWORD dwCookie)
{
T* pT = static_cast<t*>(this);
return baseClass::Unadvise(dwCookie);
}
};
|
|
|
|
|
I want to debug a COM server (DLL) but inspite of setting all the necessary options the dllhost.exe is loaded for debugging instead of my DLL. Can anyone tell me why is this happeining ?
|
|
|
|
|
Check the Debugging Application book by John Robbins,
chapter 10 Debugging Windows 2000 Services and DLLs
That Load into Services.
Igor
|
|
|
|
|
I want to know (get) ICommandWithParameters implementation code of a oledb data provider.
Where can I get it ??
(I got the some codes
-->(ex) ICommandWithParametersImpl.h file in SimpleDataObject project at this site ; .
but it is very simple.
so I can't refer it.
)
help me.....
|
|
|
|
|
Hi,
How can I use an activeX in a mfc dll ?
I made my MFC Dll, made a Dialog in it added a ActiveX control without problem, but when I want to display the dialog it doesn't open.
How can I set up ole in my mfc dll ?
Thanks for the help
|
|
|
|
|
Hi Developer.
I have two questions.
First...
I want to get scrollbar handle to the Webbrowser.
But i have not any method.
Anybody knows that?.
Second...
I develop webbrowser using CHtmlView.
I want to change cursor in my browser and change the mousemove event.
But It is not correct solution.
Because the cursor is flickering.
Thanks in advance.
dooly
|
|
|
|
|
The New ATL Object menu item was disappeared from my Insert menu. Anyone knows what happened to the ATL Object Wizard and how can I get it back as normal?
Thanks,
Tony
|
|
|
|
|
Select Tools/Customize, then select "Insert" from the "Category" combobox on the "Commands" tab. Drag the icon for the "New ATL Object" command over the "Insert" menu, and drop it into place.
Thats it!
Regards,
Nick Hodapp
|
|
|
|
|
Hi Folks, Does anyone know how to capture no. of clicks on an Image drawn through an IPicture Interface in an ATL Project. Also is it possible to redirect to a website when a user clicks on the Image.
Thx a lot.
Vesel
|
|
|
|