|
|
What does it mean when the value for the InprocServer32 key is garbled gibberish, as though it's been encrypted?
How does the system find the right component to launch when the value is scrambled like that?
I found this key in my registry:
HKEY_CLASSES_ROOT\CLSID\{0000002F-0000-0000-C000-000000000046}
Default - oleaut32.dll
InprocServer32 -
,(GnBmGFa=nZ7]6MJA+rGIANT_AntiSpyware_Files>M5KDYSUnf(HA*L[xeX)y<br />
GfXmE~Yz*@5HHM+Pw4D]AlwaysInstall>M5KDYSUnf(HA*L[xeX)y<br />
a7I{dV5R1@_YU_&e(5qUPSDK>M5KDYSUnf(HA*L[xeX)y<br />
*c4w146BQ9+]'zoDRy(dAlwaysInstall>M5KDYSUnf(HA*L[xeX)y<br />
ThreadingModel - Both
How does that work?
ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸
|
|
|
|
|
My guesses:
1. It's not really COM data, but some other kind of data being hidden in a very simple fashion.
2. MSAS made that change at install time as part of its protection, and it has a hook that watches for DLLs being loaded by COM, and undoes the obfuscation on the fly.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
hi,
how can we export data from Excel to Informix Database
|
|
|
|
|
Hi,
I have a Visual C++ application that controls the digital USB camera.
Currently this is done using camera's SDK.
I am looking for vendor-independent ways to communicate with digital cameras.
1. Does WIA API support viewfinder mode, i.e. can I have "live preview" from the camera in my application?
2. Can I communicate with digital camera directly through PTP (Picture Transfer Protocol) from my application, thus avoiding WIA?
Is there some kind of API available for PTP?
Thanks a lot.
|
|
|
|
|
yes this is the same thing which i am also looking for....
Loka Samastha Sukhino Bhavanthu..!!!
( May all beings be happy and free )
|
|
|
|
|
I just finished another Security update and now this code throws an exception.
CString myStr(L"test");
_bstr_t t = _bstr_t(myStr);
This worked until the sercurity update. I've tried to AllocateSysString to get a BSTR as well as CComBSTR instead of CString and nothing seems to work.
Does anyone know what happened to the wrapper class and how to successfully create a _bstr_t object?
Thanks
Chris
|
|
|
|
|
|
Mike,
Thanks for the response but no that doesn't work either.
All will work in MFC but in my ATL DLL everything that worked yesterday now won't!
I've tried createding a BSTR and then using that to create the _bstr_t, using a variant (_variant_t) even creating a BSTR and then using the attach method on the _bstr_t and everything throws and exception!!!!!!
It is I can't find any information in MSDN about why it isn't working either.
Chris
|
|
|
|
|
Sometime I can be so stupid!!
There was no problem with _bstr_t
There was a problem were I changed the length of an integer array from 500 to 200 and FORGOT to change the init loop. The overwriting of memeory just happend to show up in the _bstr_t object.
Sorry for all the wasted time.
Chris
|
|
|
|
|
Whenever I hit something that looks like a system issue, I use the following rules;
#1: Suspect my code
#2: See rule #1
It's stood me in good stead for over 20 years now, and only once has it failed, when I discovered a locking bug in C-ISAM for DOS. That was real fun to find.
Steve S
Developer for hire
|
|
|
|
|
i have craeted two reports named 'main' and 'subreport'. main report contains subreport. after setting code when i run that application. only content of main report is displayed and content of subreport is not displayed
Regards
manoj
|
|
|
|
|
HiAll,
Can anyone tell me how to remove the "Create Shortcut" context menu from a particular Desktop icon?
Thanks and Regards,
Anil
|
|
|
|
|
How do i pass a structure as a parameter from a function in assembly(vb.net) to a function in vb6.0 dll?
Thanks
Mahesh
|
|
|
|
|
Hi,
In an ATL COM+ application how do I instantiate a well-behaved COM+ object marked as noncreatable?
I read that when instantiating COM+ applications the right way to do it is using the IObjectContext::CreateInstance rather than using CoCreateInstance. However neither is available when using noncreatalbe objects.
If I do it using CComPtr will the object be created in the current context and therefore be well behaved?
Thanks.
-- modified at 0:03 Monday 22nd May, 2006
|
|
|
|
|
AFAIK objects marked non-creatable cannot be instantiated using COxxx APIs. The component will provide a special method to get those object if at all those objects need to be accessible outside.
S o h a i l K a d i w a l a
modified 21-Apr-21 21:01pm.
|
|
|
|
|
Yes, that is so when instantiating outside the COM+ project. What I'm talking about is when instantiating within COM+. Basically, I have a coclass 'A' and a non-creatable 'B'. I want to know the best way to instantiate B from A. If I was instantiating 'A' from another coclass 'C', the right way to do it is using the IObjectContext::CreateObject method. However, that cannot be used to instantiate non-creatable classes, i believe.
|
|
|
|
|
I'm trying to modify a simple ActiveX control, to add some interaction.
When IOleObject::DoVerb is called with OLEIVERB_INPLACEACTIVATE, the control's window is created, and its window procedure gets WM_PAINT and paints the window.
But the control's window procedure still doesn't get mouse messages. Instead, the IUnknown::QueryInterface gets a request for IProxyManager (00000008-0000-0000-c000-000000000046) each time I move or click the mouse. IProxyManager isn't even documented in MSDN.
So, what can I do to get IE to send mouse messages to the window procedure instead of to IProxyManager?
The ActiveX control is being displayed in IE6 from an OBJECT tag. The DLL has been developed using the MS Platform SDK (without MFC or ATL).
Thanks,
Allie
|
|
|
|
|
Hi,
I'm using IE WebBrowser embeded object in my client application.
Is there any way to be informed that server is sending some cookie to my custom browser (without IE cookie "prompt" dialog) before accepting it ?
My client property is set to always allow 1st party cookies and I need to block one specific 1st party cookie from specific domain (guess by cookie name) and accept all other cookies from the same domain.
I've tried to use OnNavigateComplete2 event, but it looks it's too late to block cookie there, I also guess to block cookie it should be enaugh to set
WebBrowser.Document.Cookie to empty string).
Thanks in advance for help!
|
|
|
|
|
Hi
I'm very new to the Windows/COM development environment (coming from embedded/Unix).
I'd like to create a COM/DLL (using C++) that contains and exports an enum type.
I want the enum type to show up in the Visual Studio Object browser after I add the DLL to the "References" folder in the client application. I've used "[export]" before the enum in the header file.
I've also tried including the header file in the serverdll.idl file.
So far the enum hasn't showed up in the Object Browser.
Any help or suggestions would be appriciated.
Thanks
Robert Ernst
codeproject@theernsts.org
|
|
|
|
|
open the .idl file of the interface
put the definition of the enum inside the Library after the definition of the coclass
as follows
typedef enum tagEchoType
{
EchoTypeHelloWorld = 0,
EchoTypeGoodbyeWorld = 1
} EchoType;
thats enough
Knock out 't' from can't,
You can if you think you can
-- modified at 1:54 Friday 19th May, 2006
|
|
|
|
|
I've tried placing the enum in the .idl file, but the type still doesn't show up in the DLL, based on browsing with the Object Viewer
I've inserted the enum in the .idl file both manually, and using attributes: So I have:
File: employee.cpp
#include <oaidl.h>
[ module(dll, name = "TestEmployee", helpstring = "TestEmployee 1.0 Type Library") ];
[ emitidl ];
[dual]
__interface IEmployee : IDispatch
{
[id(1)] HRESULT DoWork(BSTR bstrTask);
};
[export]
enum Status {EMPLOYEED, UNEMPLOYEED} Status_t;
File:employee.idl
...
[
uuid(38884C05-8FF2-3A53-83D3-837E34D61785),
dual
]
#line 27 "c:\\samples\\com\\employee.cpp"
interface IEmployee : IDispatch {
#line 29 "c:\\samples\\com\\employee.cpp"
[id(1)] HRESULT DoWork([in]BSTR bstrTask);
};
#line 33 "c:\\samples\\com\\employee.cpp"
enum Status {
EMPLOYEED = 0,
UNEMPLOYEED = 1,
};
The linker command is:
cl employee.cpp /LD /link /IDLOUT:employee.idl
Am I missing something in the Linker command?
Thanks
Robert Ernst
|
|
|
|
|
Robert Ernst wrote: I've tried placing the enum in the .idl file, but the type still doesn't show up in the DLL, based on browsing with the Object Viewer
The following code is generated by the Application wizard of the ATL COM Componenet.
I am simply added the enum inside the code is works fine.
I have tested under VB6.0 and VC++6.0 Object Browser
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(7CB363A8-69EB-48BE-9E20-BD1B5CC87F76),
dual,
helpstring("Itest Interface"),
pointer_default(unique)
]
interface Itest : IDispatch
{
};
[
uuid(8D40959D-E348-4220-971A-61CA27F53C45),
version(1.0),
helpstring("test11 1.0 Type Library")
]
library TEST11Lib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(8F71F9BF-8982-4804-A22C-FA3A7E7C225C),
helpstring("test Class")
]
coclass test
{
[default] interface Itest;
};
typedef enum tagTestEnum
{
Bad=0,
Good=1
}TestEnum;
};
Hope this code helps you
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
BINGO!! That was it.
My enum definition wasn't inside the library TEST11Lib {} declaration.
Once I placed it inside the library <libname> {} block it worked.
Thanks so much for your help!
Robert Ernst
codeproject@theernsts.org
|
|
|
|
|
I suppose that an EXCEPINFO structure filled by IDispatch::Invoke should be cleared after use. Do I have to do this manually, or is there an API function for this?
"God doesn't play dice" - Albert Einstein
"God not only plays dice, He sometimes throws the dices where they cannot be seen" - Niels Bohr
|
|
|
|