Click here to Skip to main content
15,888,005 members

Lim Bio Liong - Professional Profile



Summary

    Blog RSS
64,903
Author
1,663
Authority
588
Debator
112
Organiser
1,019
Participant
0
Editor
0
Enquirer
Lim Bio Liong is a Specialist at a leading Software House in Singapore.

Bio has been in software development for over 10 years. He specialises in C/C++ programming and Windows software development.

Bio has also done device-driver development and enjoys low-level programming. Bio has recently picked up C# programming and has been researching in this area.

Reputation

Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.


 
GeneralRe: InlineIsEqualGUID() Problem & How to Resolve. Pin
Lim Bio Liong25-Apr-05 7:44
Lim Bio Liong25-Apr-05 7:44 
GeneralRe: InlineIsEqualGUID() Problem & How to Resolve. Pin
Lim Bio Liong16-Feb-06 19:23
Lim Bio Liong16-Feb-06 19:23 
GeneralRe: InlineIsEqualGUID() Problem & How to Resolve. Pin
ThatsAlok16-Feb-06 19:45
ThatsAlok16-Feb-06 19:45 
GeneralArticle on Debugging Release Mode Programs. Pin
Lim Bio Liong8-Dec-04 16:40
Lim Bio Liong8-Dec-04 16:40 
GeneralStatelessness of MSSOAP Web Services. Pin
Lim Bio Liong8-Dec-04 16:39
Lim Bio Liong8-Dec-04 16:39 
GeneralCOM Spying Software. Looks Cool ! Pin
Lim Bio Liong8-Dec-04 16:37
Lim Bio Liong8-Dec-04 16:37 
GeneralSome Tips on COM Interface Marshalling (Part 1) Pin
Lim Bio Liong8-Dec-04 16:35
Lim Bio Liong8-Dec-04 16:35 
GeneralSome Tips on COM Interface Marshalling (Part 2) Pin
Lim Bio Liong8-Dec-04 16:36
Lim Bio Liong8-Dec-04 16:36 
8. To marshall an interface pointer from the owning thread to a another thread, use the CoMarshalInterThreadInterfaceInStream() and the CoGetInterfaceAndReleaseStream() APIs.

9. Note that marshalling an interface pointer is just one-half of the game. The other half, which in many ways is more challenging and interesting, involves the marshalling of the PARAMETERS of the interface methods.

10. If you make your interface dual or IDispatch-based, the marshalling of the methods' parameters is performed completely automatically for you curtesy of COM.

11. This is logical because dual and IDispatch interfaces can use only OLE Automation-Compatible Types for parameters (e.g. VARIANTs, BSTRs, etc). COM has already prepared itself to marshall these types of parameters.

12. Non-dual and non-IDispatch based interfaces (aka Custom Interfaces) must provide their own custom marshalling. Proxy and stub DLLs must be created for this purpose.

13. Note also that dual and IDispatch based interfaces also use a proxy/stub DLL to perform parameter marshalling. This proxy/stub DLL is the famous oleaut32.dll (read it as OLE AUTomation 32 DLL).

14. To determine or confirm if your interface uses oleaut32.dll to marshall parameters, look up the registry entry of your Interface, e.g. :

HKEY_CLASSES_ROOT\Interface\{66AD7066-C70F-4136-A108-71DC34F3305C}

Here you will find a "ProxyStubClsid32" subkey. It should have a "Default" string value. The value is the CLSID of the object that implements the marshalling functionality of your interface.

15. Look up the registry entry for this CLSID and you will see the in-proc server DLL of the marshalling object. If your interface is dual or IDispatch based, the CLSID should be :

{00020424-0000-0000-C000-000000000046}

If you look up this CLSID entry in the registry, i.e. :

HKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046}

you will find the following information :

15.1 The default string value for this CLSID is "PSOAInterface" (read this as Proxy Stub OLE Automation Interface). PSOAInterface is the "universal marshaler" that creates in-memory COM stub/proxy pairs based on type library information. PSOAInterface is oleaut32's tool that enables VB to do "somewhat native" COM marshaling by mimicking the functionality of "midl /Oicf" on-the-fly. PSOAInterface builds and caches native COM proxies based on type libraries. The downside of PSOAInterface is that it requires interfaces that use it to be OLE-Automation compatible, that is, it must return HRESULTs and its parameters must be OLE-Automation types, since that is what it was built for and that's the set of types that COM type libraries can express.

15.2 There is an "InprocServer32" subkey. In this subkey, you will find that the default string value is "oleaut32.dll".


We hope the above information will be useful to all. There's still quite alot of information to share with all on this same topic. We'll be updating this Knowledge Sharing Article with a Part 2 soon.


GeneralArticle on Some Ways Viruses Attack our PCs Pin
Lim Bio Liong8-Dec-04 16:33
Lim Bio Liong8-Dec-04 16:33 
GeneralASP.NET Application and Session Behaviour Pin
Lim Bio Liong7-Dec-04 19:50
Lim Bio Liong7-Dec-04 19:50 
GeneralRe: ASP.NET Application and Session Behaviour Pin
Lim Bio Liong7-Dec-04 20:20
Lim Bio Liong7-Dec-04 20:20 
GeneralHow Microsoft ASP.NET Solves The HTTP Stateless and CGI Performance Problems. Pin
Lim Bio Liong7-Dec-04 19:33
Lim Bio Liong7-Dec-04 19:33 
GeneralHow Microsoft Classic ASP Solves the HTTP Statelessness Problem. Pin
Lim Bio Liong7-Dec-04 19:31
Lim Bio Liong7-Dec-04 19:31 
GeneralProblems with Traditional HTTP/CGI Web Applications. Pin
Lim Bio Liong7-Dec-04 19:28
Lim Bio Liong7-Dec-04 19:28 
GeneralASP.NET Method of Posting Form To Server Pin
Lim Bio Liong7-Dec-04 19:16
Lim Bio Liong7-Dec-04 19:16 
GeneralTraditional Methods to Post Form to Server. Pin
Lim Bio Liong7-Dec-04 19:10
Lim Bio Liong7-Dec-04 19:10 
GeneralRe: Traditional Methods to Post Form to Server. Pin
Lim Bio Liong7-Dec-04 19:12
Lim Bio Liong7-Dec-04 19:12 
GeneralTypical Asynchronous Web Service Method Call. Pin
Lim Bio Liong6-Dec-04 22:05
Lim Bio Liong6-Dec-04 22:05 
GeneralInformation on XP Startup Applications Pin
Lim Bio Liong6-Dec-04 12:42
Lim Bio Liong6-Dec-04 12:42 
GeneralDisplaying An Image In A Picture Box From A Stream. Pin
Lim Bio Liong6-Dec-04 0:16
Lim Bio Liong6-Dec-04 0:16 
GeneralConsuming A Web Service Method inside a HTML Page Pin
Lim Bio Liong5-Dec-04 20:26
Lim Bio Liong5-Dec-04 20:26 
GeneralThe Actual Goals of SOAP. Pin
Lim Bio Liong5-Dec-04 18:58
Lim Bio Liong5-Dec-04 18:58 
GeneralSOAP Misconceptions Pin
Lim Bio Liong5-Dec-04 18:53
Lim Bio Liong5-Dec-04 18:53 
GeneralWays to Remember Remoting Object Instantiation Pin
Lim Bio Liong5-Dec-04 2:34
Lim Bio Liong5-Dec-04 2:34 
GeneralAutomatically Generate The Application.Config File. Pin
Lim Bio Liong4-Dec-04 23:39
Lim Bio Liong4-Dec-04 23:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.