CoRegisterClassObject() in an NT service
Fri, 17 Aug 2007 20:00:08 -0400
The platform is 32bit XP PRO SP2. I wrote a simple NT
service that uses CoRegisterClassObject() in its main
thread. More or less the pseudo-code is the following:
main_thread()
{
CoInitialize();
CoRegisterClassObject(CLSCTX_INPROC_SERVER,REGCLS_MULTIPLEUSE);
CoCreateInstance(CLSCTX_INPROC_SERVER ...
|
CL cannot compile MIDL generated dlldata.c
Mon, 13 Aug 2007 19:21:40 +0200
Hello Platform SDK Community!
I cannot compile MIDL generated source, and don't know why.
I have set up a new, clean development machine (Windows XP Pro SP2,
Platform SDK with the included midl and cl compiler, no additional
VisualStudio or something -- "bare iron").
First I open a SDK CLI using Start > ...
|
IPersistStream::Load implementation in MMC Snap-In
Tue, 13 Mar 2007 12:25:56 +0200
I need to implement IPersistStream in my MMC snap-in because I want to
implement IsDirty and Save methods.
I do not save my data in the provided stream. I have other actions to
perform on save.
I do not have anything to Load.
What is the correct implementation of Load in this case?
I have tried thr ...
|
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting
Thu, 08 Mar 2007 04:10:19 GMT
Search Engine Optimization http://www.yourseoconsulting.com/ Seo Optimization , Semantic Results, Artificial intelligence in Search, Auto Content Generators, Search Engine Results. SEO optimizer. SEO consulting
...
|
dadvise fails when client and server on different network
6 Mar 2007 02:45:58 -0800
Hi all,
I have tried running my client and server (on separate pcs) on the
same network, no domain without any problems. But when I place my
client(same pc) on a different network, trying to DAdvise (method
shown below), I get an error message stating that RPC Server is
unavailable.
Result = PIDataObject ...
|
Shop DaNinety
Tue, 06 Mar 2007 03:04:40 GMT
1.01 million is perfect I need the land , I will bleed purple in july and christ help me you hang me out on this one I will do myself.
http://scotiabanksealsthedeal.blogspot.com/
...
|
Not getting "some" keyboard events in embedded browser control
3 Mar 2007 02:28:18 -0800
Hi, I'm having trouble getting the WM_KEYUP event in my embedded
browser control web page javascript.
I have the following:
class ATL_NO_VTABLE CBrowserObj :
public CComObjectRootEx<CComSingleThreadModel>,
public IDispatchImpl<IBrowserObj, &IID_IBrowserObj,
&LIBID_BROWSERLib>,
public CComCon ...
|
|
|
Cover up attempt
Wed, 28 Feb 2007 09:29:46 GMT
http://toiletseatcoverup.blogspot.com/ - Yahoo ads not performing well? Publisher profits in the toilet? Join the best affiliate program known to man.
Operation Release the hounds aka puppies.
Snooogy bear is no name for a pet cat.
...
|
ole32!StgCreateDocfile hangs on Win XP SP2
21 Feb 2007 07:47:09 -0800
I always see on one specific Win XP machine (SP2 + latest hotfixes)
that a call to ole32!StgCreateDocfile hangs infinite. On other test
machines it's fine. I gathered a user full dump of the process in the
hang scenario. The blocking thread looks like this:
Calling code:
TEST_HR_THROW(StgCreateDocfile(NULL, ...
|
DCOM client authentication
Sat, 17 Feb 2007 23:04:58 +0100
Hi,
I have a DCOM client/server pair I developed using
a toolkit that does not itself seem to care about security.
So I tried to configure everything myself using dcomcnfg on
client and server computers and add necessary access control
code in the server program.
There are identical user accounts on clie ...
|