Monday, May 7, 2012

Installing and Registering COM Servers and Type Libraries

Installing and Registering COM Servers and Type Libraries

Windows uses various kinds of COM servers and type libraries. InstallMate has built-in support for all of them as far as installation and registration is concerned (this includes unregistration and safe removal). In particular, it knows about:
  • In-process COM servers, essentially dynamic link libraries (DLLs) with .dll or .ocx file name extensions and special COM-defined entry points. (The actual file name extension is immaterial; InstallMate analyzes each installation file to determine its type and further characteristics.)
  • Out-of-process COM servers, which are stand-alone executable programs that adhere to certain COM conventions.
  • Type libraries, whether embedded in DLL or EXE files, or as stand-alone TLB files. (Again, InstallMate does not rely upon the file name extension, but inspects each installation file to see if it contains a type library.)
There are two ways of dealing with these types of files:
  • Use the file's built-in self-registration, or
  • Add explicit registration options for each file.
Using the built-in self-registration is the easiest from a development and maintenance point of view; it allows the file to control its own registration entries in the Windows registry. However, it does not allow the same amount of rollback protection as the explicit registration method.
Explicit registration requires you to specify, for each COM server or type library, exactly what needs to be registered for the file. This is more error prone, but it allows a degree of flexibility and control that is not available with self-registration.
Unless there is a good reason otherwise, we recommend that you use self-registration for the files.

Using the file's built-in self-registration

Here is how InstallMate deals with files that have built-in self-registration.
In-process COM servers
In-process COM servers have DllRegisterServer and DllUnregisterServer entry points that perform registration and unregistration upon request. InstallMate's Setup program calls these entry points as appropriate during installation and uninstallation of the server.
Out-of-process COM servers
Out-of-process COM servers adhere to the COM convention of using /RegServer and /UnregServer command line options to perform their registration and unregistration actions. When started with one of these options, the server is supposed to run invisibly and to terminate immediately after completing the (un-)registration. InstallMate's Setup program uses these command line options as appropriate during installation and uninstallation of the server. However, there are no hard and fast rules to recognize an out-of-process COM server, so you must judge for yourself whether or not registration is required.
Type libraries
Type libraries are sometimes contained in DLL files (often as part of an in-process COM server), sometimes in EXE files (presumably as part of an out-of-process COM server), and sometimes in a special type library file, usually with a .tlb file name extension. InstallMate's treatment of a type library depends on the situation, as follows:
  • If the type library is contained in a DLL file and that DLL file is an in-process COM server (i.e., has a DllRegisterServer entry point), InstallMate assumes that the server will register the type library as part of its overall registration process (as it should).
  • If the type library is contained in a DLL file and that DLL file is not an in-process COM server, InstallMate will register it with the Windows function RegisterTypeLib.
  • If the type library is contained in an EXE file, InstallMate assumes that the file is an out-of-process COM server and will suggest that it be registered as such. However, there are no hard and fast rules to recognize an out-of-process COM server, so you must judge for yourself whether or not registration is required.
  • If the type library is contained in a stand-alone TLB file, InstallMate will register it with the Windows function RegisterTypeLib.
Once again, the actual file name extensions are immaterial; InstallMate analyzes each installation file to determine its type and other characteristics.
COM servers and type libraries are typically installed as shared files in the Windows System folder. Within InstallMate, this folder is represented by the Windows\System (32-bit) folder. Unless you know what you are doing and have a very good reason to do otherwise, we recommend that you follow this convention.




Register/Unregister out-of-process COM server
CreatedApr 08, 2002
Last updateApr 08, 2002
Method #1Using command line parameters.
Register ' /regserver'
Unregister ' /unregserver'
Method #2Using Borland tregsvr.exe utility.
Registertregsvr.exe
Unregistertregsvr.exe -u
Note If you own Borland Delphi you can find source at: \Demos\ActiveX\TRegSvr\
Method #3Using Win32 API
RegisterLaunch exe COM server using CreateProcess API call with ' /regserver' parameter
UnregisterLaunch exe COM server using CreateProcess API call with ' /unregserver' parameter
 

Thursday, December 29, 2011

Search engines.. including Google screwed.....

Example search for

Results get...



Another result..... with different link....



Another result:


Isn't it a serious problem?
Can google answer this?

Something wrong with Google....

Google suppose to be very reliable resource for all the information.
Google has given a lot of confidence to users. If you need something it;s been very famous saying.. "Let's google it... "
"I googled it"

For last couple of days, I'm facing a strange behaviour of this greatest ever search engine. I've a lot of examples. But here I would like to portarit one.

Today morning, I just wanted to search something , I put a text like "US State website International Map"
I know there's a US gov website, which provides detail about all the countries  of the world with map.

Here's I put my text to google (to search)..



Can you believe .. what I got...
The link redirected to.....


And another search.. it was redirect to...

Another search result, (this is common,  your search could redirected to this IP in any search.... randomly. Isn't it wierd)

Is this some adversitment strategy.

This is one example I'm showing. I came across manys like this as I'm avid google surfer.
But this time, it happened while trying to access the Government website.

Isn't it frustrating for a user? Google need to address if they are unaware of this.
If they are doing it knowingly, then I'm sure user will not keep on relying it on. And will try to find some alternatives. It take uncountable years to achive the brand name,  but it take just couple of years to spoil it.

Is some advertising programs hacking and targeting google or they themselves doing it, intensionaly.
To be very honest, I frustrated by this.
Any one having same experience please share...

Google, you  can't take it granted and use the user as tester.
What is this http://63.209.69.107/search/web/ <>  ?
in every say 10th search ( just hypothetical...)

God Bless you Google....


Saturday, December 17, 2011

Worst ICICI... NRI Customer Services.....

I must say , I'm very loyal ICICI customer.
I've been with ICICI for more than 9 years, I can proudly say I hold almost all the accounts (in my knowledge) with ICICI for more than 9 yrs.
I was having direct deposit account, I was having savings account. Currently I'm holding NRI, NRO , NRI Home loan and ICICI prudential account.

But some how I'm having feeling ICICI is having worst customer service. In my experience, whenever I talk to ICICI customer services, just after my call, I continously feel that this is a wrong choice I've had made, by choosing ICICI bank as my primary bank.

I remember just 2 days earlier I did have the same experience with State Bank of India ( some Uttrakhand Branch) where I was holding my saving  and PPF account and I closed the accounts, due to very rude behaviour of on counter services.

Today just now I finished my call with ICICI customer care services, regarding my home loan.
Can you believe it , what response I got, the representative told me that please call after 15 mins as home department is not available.
When I asked it should be 24X7 services , representative told me that no all of them are busy.

This very same incident happened to me 3rd time . This is what NRI services handling it's customer. Even though I'm having NRI, NRO, Insurance, FD and home loan accounts with ICICI.
Seriouly thinking to remove all the accounts, from this great bank.

Please share if you guys having the similar experince with ICICI bank or any othe bank.




Friday, December 16, 2011

रणबीच चौकड़ी भर-भर कर: Maharana Pratap's ... CHETAK..




रणबीच चौकड़ी भर-भर कर
चेतक बन गया निराला था
राणाप्रताप के घोड़े से
पड़ गया हवा का पाला था

जो तनिक हवा से बाग हिली
लेकर सवार उड जाता था
राणा की पुतली फिरी नहीं
तब तक चेतक मुड जाता था

गिरता न कभी चेतक तन पर
राणाप्रताप का कोड़ा था
वह दौड़ रहा अरिमस्तक पर
वह आसमान का घोड़ा था

था यहीं रहा अब यहाँ नहीं
वह वहीं रहा था यहाँ नहीं
थी जगह न कोई जहाँ नहीं
किस अरि मस्तक पर कहाँ नहीं

निर्भीक गया वह ढालों में
सरपट दौडा करबालों में
फँस गया शत्रु की चालों में

बढते नद सा वह लहर गया
फिर गया गया फिर ठहर गया
बिकराल बज्रमय बादल सा
अरि की सेना पर घहर गया।
 
 
भाला गिर गया गिरा निशंग
हय टापों से खन गया अंग
बैरी समाज रह गया दंग
घोड़े का ऐसा देख रंग

What Yahoo caters....

I dont know, if I'm working a QA analyst for yahoo, free of cost. But It's too much from the company like Yahoo.
As I wrote earlier too if these big companies think there regular visits a fool or it's just ignorance and confidence of Yahoo that what ever they are going to cater will be accepted by their regular traffic.
See this mistake.


Lol.. what is this any answer from Yahoo.

Saturday, December 3, 2011

Veena Malik did it again...

Veena Malik......
Sensentional... Bold...... Brave...
Her any thing "Can Do" sort attitude bring her a lot of fame,  money and of course her admirers seem to have multiplied over the year.

She is a lady who can do the things boldly and talk shamelessly with media.
As per Veena, she has achive so much success in her carrer and earn good money in pakistani television. She has a very successful carrer as Television Presenter.

Queen of controversies Veena Malik, has earned massive name and money within last  4-5 years.
And that is also true when one earn something other thing will get lost ....
So in this series Molarity lost..

Here controversal life started with Barbic affar, Asif controversy, BIG BOSS participation (reality TV show , India) {where she tried to draw public's attention by her cheap and desperate sexual gestures with flow and one film actor Patel}
Big Boss gave her good recognization in India's media industry. She hosted a TV program in India TV during world cup.
Now, she is shooting for her very big assignment of life  a reality show "Swayamver" where she will choose her groom in front of TV.

Now FHM magazine nude photoshoot in the front page of the magazine.
With this photoshoot Veena become first ever pakistani actress, who did nude photo shoot.
Even though she is not having so great and hot body, she seems to be  quite successful in bring the media public attention.

As a matter of fact it's very common and ok for so many wanna be actresses to go for bold hot shoots. Though, going for nude is little mile extra. Especially when you belongs to so conservative roots.
But only Veena could do it.  And she has done it. Not only do something unique but also face the media so boldly.

Unlike others, I didn't get surprise when the FHM magazine nude shoot come up. I knew Veena can do it any day.
But But But...... ISI tattoo is some what beyond my understanding. What does it mean or signify. What is the sense of displaying ISI.
Is this she's trying to say, she is an agent? or she hates the agency? or she is anti-agency?
Isn't it a non sense deal?
Nude is ok . But why politically Nude.?
Veena explain this something like, It was photographer idea to get Nude and put the tatto.
Is she dumb or what.
Some months back we saw her publically smoking and drinking?
Where's Veena going? Is she completely out of Pakistani, now? She is doing Swayamber meaning may be she will be marrying someone outside pakistan.
If she is having this in her mind. Does she can talk or act against her roots, country or intelligency agency.
Must say this is a bold move and after that she is facing media and denying all that.
Veena's interview to geo, no one has any idea what she's trying to say.
http://www.youtube.com/watch?v=xIwYTOG9Wgs

Watch Veena's full interview regarding photo shoot and FHM magazine's clarification
http://www.youtube.com/watch?v=ti0JJpSO-F0

Health Benefits of Cashews

  Benefits of Cashews. Healthy food is an integral part of healthy body. Regular exercises such as Yoga and healthy diet is important to...