|
hi
Im New In Tapi ,i want creat project that answer the Call and get the entry number
can U help???
Tanx
Mati
|
|
|
|
|
Search on CP retrieves following results, see if its useful anyway.
TAPI[^].
|
|
|
|
|
Hi,
I am working on an application that will require the creation of hot-spots on a windows form (win32). This is the scenario: I want to display a schematic diagram (like a circuit diagram) and high-light certain components as clickable hotspots. Clicking these components will result in events being generated which I can handle.
Please does anyone have ideas about how I can get about this?
acodeisacodeisacode
|
|
|
|
|
How can I access to unread messages in the Inbox folder using C++ (COM/EMAPI).
<br />
void __stdcall CAddin::OnNewMail()<br />
{<br />
}<br />
|
|
|
|
|
Hi all,
I was using COM. But when I started to use EMAPI I got a link error:
error LNK2001: unresolved external symbol _IID_IMAPIProp in
<br />
IUnknown *pUnk;<br />
spMailItem->get_MAPIOBJECT(&pUnk);<br />
CComQIPtr < IMAPIProp, &IID_IMAPIProp > pMAPIProp(pUnk);<br />
In the link tab I have mapi32.lib.
So where can be a problem?
|
|
|
|
|
Thanks to all, i've resolved the problem.
|
|
|
|
|
Hello,
I've to develop an MS Outlook Add-in, one of it's features has to add a custom header to an outgoing message (both SMTP & IMAP). I can intercept the message, so think I've a pointer to the CComQIPtr<outlook::_mailitem> spMailItem to add a header to.
For example, I need to add a header "X-MY-Header: Value".
All resolutions I've found was using .NET, I can't use that.
Any ideas?
Best Regards
Olekhnovich Alexander
-- modified at 6:48 Thursday 1st March, 2007
|
|
|
|
|
a.olekhnovich wrote: Any ideas?
Is this the only question you want to ask?
Hard to understand what your problem is...
Anyway, see if this[^] article will help you.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
The problem is I can't understand what step-by-step I must do to resolve that task - to add a custom header to the outgoing email. I've an MailItem and can get the properties, so what's then?
|
|
|
|
|
<br />
void __stdcall CAddin::MyBeforeCheckNames(IDispatch* pdispInspector)<br />
{<br />
if (gInspector)<br />
{<br />
CComQIPtr<Outlook::_MailItem> spMailItem;<br />
CComQIPtr<IDispatch> spCurrentItem;<br />
gInspector->get_CurrentItem(&spCurrentItem);<br />
spMailItem = spCurrentItem;<br />
<br />
<br />
AfxMessageBox("Passed verification");<br />
}<br />
}<br />
|
|
|
|
|
i want to start a video in a powerpoint slide how can i do?
i tried sending mouse click into the video, however it is not working
mouse_event, sendinput, sendmessage, peekmessage... all of these functions don't work to send click into video
Please write what ever you know to solve my problem
|
|
|
|
|
Hi,
Ive created a a COM client and I have been trying to generate CLSID using
hr = CLSIDFromProgID(OLESTR("TestServer.Math"),&clsid); but it is not working.
I don't understand why? Every thing else seems to be fine..
Thank You.
Thank You
|
|
|
|
|
hellofromsumedh@gmail.com wrote: I have been trying to generate CLSID
What do you mean by "generate" and what do you want to do with this "generated" CLSID?
The title of your post suggests that you're having problems in the component registration process. ::CLSIDFromProgID() is of no use while registering a component since it would use the information registered.
Still you're talking about a client in the post and I don't see how it maps to the title of the post, I find it confusing and I'm not really sure what your problem is.
Regarding the component registration:
An in-proc COM server normally exposes a function called DllRegisterServer() that should be called in order to register the component. This is done by running "RegSvr32.exe <TheServerPath>". RegSvr32.exe calls the components DllRegisterServer() .
Read more about DllRegisterServer() here[^].
Regarding creating a server from a client:
::CoCreateInstance() is the API function to use in this case with the CLSID as one of the parameters. The CLSID is usually retrieved by importing the server's typelib or similar.
Read more about ::CoCreateInstance() here[^].
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
do i have to use an image from file for the radiation pattern plotting or i have to draw it myself using source code in vb .net.this question is related to the one i have sent you before, interfacing vb .net and a hardware.each of the signal/data received is plotted in the garap (circular grapH, 360 degrees). thank you....
|
|
|
|
|
I originally posted this in the MFC boards, but suspect it's the wrong place..
I know ActiveX methods (OCX Ctrl) can return complex data types like structures or classes,I just can't quite figure out how.... For example, I have a class containing 4 data elements (strings) and 4 functions acting as getters... I want to return the class through a method call in my activex ctrl.
From what I've read, I beleive I can do it via IDispatch and a definition in the IDL file, or by returning a VARIANT...
In a nutshell, I want to return either a data structure or class to the client.
Can someone please point me to a tutorial or article that could help me figure this out?
Thanks in advance!
|
|
|
|
|
Check out this[^] article, it will tell how to pass UDT(user define types) across interface.
|
|
|
|
|
Dude, THANK YOU!!!!
In my searching I didnt find that article... exactly what I needed to learn!!!!!
|
|
|
|
|
Hi I m Jay & Im doin a project named"Operating PC Through SMS" for which I require a SMS Gateway which will send my sms in e-mail form 2 my PC & also return the reply in SMS form to my cell phone. I cant find any body who provides a SMS Gateway. Everybody just gives the info abt it. Can anybody tel me where will I find a SMS Gateway. I really need it because my time is running out. Plz Help!
|
|
|
|
|
Hi,
I need convert a 1D long array to a const VARIANT& in a function from 3rd party. Could you please give me some suggestions for the problem? I am using VC++ 6.0.
Thanks,
Xiangyang
-----------------------
convert long iArray[10];
to
const VARIANT& DefectsIDs
in
VARIANT CreateMap(LPCTSR BaseName, const VARIANT& DefectsIDs);
-----------------------
Xiangyang
|
|
|
|
|
hi all
can any one tell me that i want to show drop down menu bar in all my vb.net page. and the items of menu bar will according to login id means for admin all and for users only few.
plz help me
Shiv Bahadur Sahu
09213519179
|
|
|
|
|
Hi,
When i am trying to call a ActiveX dll(it has a form) from a VC client I am getting this error:
Run-time error '406':
Non-modal forms cannot be displayed in this host application from an ActiveX DLL,ActiveX Control, or Property Page.
Can anyone help me out with this??
Thanks in advance.
Priya.
|
|
|
|
|
Hi,
Can anyone tell me how to create a reference to a COM object...the COM object is Control.dll ...... I want to create a pointer to this COM and access methods from it.
Thanks in advance.
Priya.
|
|
|
|
|
You don't create a reference to a COM server, you create the server by a call to ::CoCreateInstance() and if the server could successfullly be created you'll get the interface pointer that you requested in the call.
Learn the basics of COM in this CodeProject section: clickety[^].
Michael Dunn's articles would be a good starting point.
|
|
|
|
|
Hi,
I guess the way my question is formed is wrong.I am sorry about that. Actually my requirement is , I have a vb project which is using a COM Component in it. Now i have created a separate VB project and i want to use the same COM component which is present in the other vb project instead of again adding the COM component in my proj. Thus i want to avoid creating 2 instances of the COM but instead create a reference to existing COM object which is included in a VB client.
I guess u have got my problem. how to do it?
Kindly help me with this.
Thanks in advance
Priya.
|
|
|
|
|
This is not a trivial task. A COM DLL is always an in-proc server - which means that it is executed within the process of the client application. Windows does separate different processes quite good.
The approach which I would recommend is to change the COM server to an out-proc (EXE) server. Then make it a singleton server and the two applications can share one instance of it - as long as both clients run in the same user context.
If you don't have access to the sources of the COM server, you will have to implement some other means of inter-process communication. Eventually it is possible to register the COM server in the ROT (running object table) to share it. However, I have never tried to use this approach.
Regards,
Tim
|
|
|
|