comp.os.mswindows.programmer.ole
  Home FAQ Contact Sign in
Your Ad Here
comp.os.mswindows.programmer.ole only
 
Advanced search
May 2008
motuwethfrsasuw
   1234 18
567891011 19
12131415161718 20
19202122232425 21
262728293031  22
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... programmer.ole Profile…
RELATED GROUPS

POPULAR GROUPS

more...


 Up
  OLE Design Architecture         


Author: Raja
Date: May 11, 2008 05:21

Hi All,
I am a newbie to OLE technology and started up with
http://www.relisoft.com/win32/olerant.html in which the author
presents the statement "Anybody who knows C++ can do it with their
eyes closed. So why can't you do the same in OLE? Here comes the Flaw.
You have to be able to obtain the IBar interface from the IFoo
interface using its QueryInterface. But, wait a minute, the object
FooObj that provides the implementation of all methods of IFoo,
including QueryInterface, had no clue about IBar! It could have been
created long before anyone even thought about the possibility of IBar.
So how can it provide access to IBar?

Good question. I'm not going to go into the gory details of the
aggregation hack that is supposed to solve this problem. Given the
constraints of the flawed initial design, it is a truly ingenious
hack. So is there a better design? Read on..."

Can anyone please explain what the hack is ? Any pointers to better
understanding of design as well, is appreciated.

Thanks,
Raja.
no comments
  Protect yourself against Operation Sudden Fall         


Author: Ron.Sanker
Date: May 9, 2008 17:34

Law enforcement is now intercepting text messages,
as proven by Operation Sudden Fall in San Diego.

http://www.usdoj.gov/dea/pubs/states/newsrel/sd050608.html
http://www.signonsandiego.com/news/education/20080506-1338-bn06sdsu2.html

Don't let your personal SMS/text messages fall into
the wrong hands. Encrypt your messages with one
of these:

http://www.CryptoSMS.org
http://www.CryptoSMS.com
http://www.FortressMail.net/fortress_sms.htm
http://www.Cop2p.com/encrypted_sms.html

Be Safe, Be Encrypted, Fuck the Police!!

--
Every domains will be international explicit audits.
no comments
  [ANN] AsdGraph3D Excel Addin v1.0         


Author: KanataSales
Date: May 8, 2008 20:03

J & L Associates is pleased to announce the availability of AsdGraph3D Excel
Addin version 1.0.

AsdGraph3D is an OpenGL-based Excel Addin that plots 3D points, lines,
surfaces or water-tight solids directly from user-specified cell ranges (as
3D coordinates) within MS Excel worksheets (from one or several open
workbooks). The tight integration with MS Excel is what differentiates
AsdGraph3D from rest of the 3D plotters. AsdGrapg3D is both an end-user
product and a developer tool. For developers, AsdGraph3D provides an
extensive set of API that is callable from VB, VBA, Java Script and C++ COM
client.

For more info, please visit:
http://activesolid.ncf.ca/asdgraph.html

Cheers,

J & L Associates
no comments
  Can't get OLE interface         


Author: Nemo
Date: Apr 15, 2008 12:57

Hi. I am trying to insert an image into a RichEditCtrl, and was
following the code provided at MSDN KB 220844.
I seem to be getting stuck right at the first step. The assert
following the SendMessage always fails :

::SendMessage(m_ctlRichText.m_hWnd, EM_GETOLEINTERFACE, 0,
(LPARAM)&m_pRichEditOle);
ASSERT(m_pRichEditOle != NULL);

I tried to look up on MSDN, but I can't seem to find any documentation
as to why the attempt to get the interface might fail. Yet. I have a
funny feeling it is some initialization call that I must be missing.
btw, I do call AfxInitRichEdit(). I even stuck in a AfxOleInit() to be
sure.

Any insight, I'm sure, would be handy.

Thanks,
no comments
  Is TreatAs a good solution for my situation?         


Author: Alberto Salvati
Date: Apr 14, 2008 02:06

Hi All.
I'm a delphi developer and I'm developing a com-based framework.
I've a base server, named "commonserver".
In this server I've 6 com interfaces used by a LOT of com servers in
my framework.
So, each time I change something in my commonserver, I MUST rebuild
all com servers..
Because this task is too long, I'm searching some solution or
workaround.
Searching in sdk, msdn, google and so on, I've found some info about
treatas.
But, I've few details about how treatas works to establish if it's a
solution for me.
My use case is explained below

I've an interface name "ibase" in CommonServer:
Show full article (1.68Kb)
no comments
  442 bloqueador veicular sem mensalidades - http://bloqueadorgsm.vilabol.uol.com.br 4421044816453447478442287         


Author: bloqueador sem mensalidade
Date: Apr 4, 2008 14:49

Bloqueador veícluar com tecnologia gsm - Sem mensalidades

Tenha toda segurança para seu carro com um preço justo.

Apenas R$ 299,00 ( sem mensalidades )

http://bloqueadorgsm.vila.bol.com.br/

Compare e Compre.
Rastreador de Veículo
Rastreadores de Veículos
Rastreador GPS
Rastreadores GPS
Rastreador Ituran
Rastreadores Ituran
Rastreador Portátil
Rastreadores Portáteis.
Assistência 24 Horas

Visite agora mesmo nosso site.

http://bloqueadorgsm.vila.bol.com.br/
Show full article (0.98Kb)
no comments
  my sister and a dog humping         


Author: yenc
Date: Mar 1, 2008 10:46

PORNOLATION RELEASE
no comments
  Telenet nieuwsgroepen mededeling: nieuwsserver adres aanpassen/Attention: modification de l'adresse du serveur de newsgroup         


Author: info
Date: Jan 29, 2008 18:00

Beste klant,

Telenet heeft een migratie gedaan van haar nieuwsservers.

Wat betekent dit concreet voor jou als gebruiker?

Er verandert niets aan de service, maar om verder gebruik te maken van de
Telenet nieuwsgroepen service moet je bij de instellingen van je nieuwslezer
het adres van de nieuwsserver veranderen van news.telenet.be of
newsbin.telenet.be in newsgroups.telenet.be. Verder dien je de authenticatie
op deze nieuwsserver uit te schakelen.

Met vriendelijke groeten,

Het Telenet team

----------------------------------------------------------------------------------------------------------

Cher client,

Telenet a effectue une migration de ses serveurs de newsgroup.

Pour continuer a utiliser les newsgroups de Telenet, modifiez dans la
configuration de lecteur de nouvelles l'adresse du serveur de newsgroup:
newsgroups.telenet.be a la place de news.telenet.be ou newsbin.telenet.be.
Ceci ne necessite pas que vous vous identifiez pour acceder a ce serveur de
newsgroup.

Cordialement,
Show full article (1.04Kb)
no comments
  Convert VT_BSTR to VT_DISPATCH using VARIANT APIs         


Author: gilad
Date: Jan 23, 2008 11:17

Hi,
How is it possible to convert variant that is VT_BSTR to VT_DISPATCH?

I tried VariantChangeTypeEx but no luck.

Please help.

Thanks,
Gilad.
no comments
Your Ad Here
  How to extract char from VT_BSTR?         


Author: Atiz
Date: Jan 22, 2008 02:47

Hi, I have an OPC client.
I used a server to send value to the OPC client whereby it detects the
value.

The OPC client is able to detect the value as a VT_BSTR.
The function which detects the value as a VT_BSTR has VARIANT* pValue
as a parameter.
When this pValue is a VT_BSTR type, I have trouble extracting the
correct value out.

Currently my method does this:

BSTR bstr = V_BSTR(pValue);
int a = SysStringLen(bstr)+1;
char *ansistr = new char[a];
result = ::WideCharToMultiBYte(CP_ACP, 0, bstr, -1, ansistr, a, NULL,
NULL);

I tried to print out

LOG4CPLUS_DEBUG(logPacket, *V_BSTR(pValue));
LOG4CPLUS_DEBUG(logPacket, bstr);
but the value is always different and is not the value that is sent
over to the OPC client.
Show full article (0.79Kb)
2 Comments
1 2 3 4