Click here to Skip to main content
15,887,683 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
ThatsAlok22-Apr-05 23:08
ThatsAlok22-Apr-05 23:08 
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 
Recently, Wee Fong and I had the pleasure of working with C# and lots of COM Interopt stuff. We also had the chance to delve quite deeply into the area of COM Interface Marshalling. The following are some useful pointers that we learnt from our forays into the internal guts of COM Marshalling :

1. COM objects that are Apartment-Threaded-Model based can only have its interface methods invoked directly from the same thread that created the COM Object. The thread that created the COM Object is known as the owning thread.

2. To use the interface methods of an ATM COM Object in a thread different from the owning thread, i.e. the one in which the object was created, the interface pointer of the object must be marshalled to the target thread.

3. The owning thread that created the COM Object must be also be a User-Interface thread. That is, it must contain a message loop like the following :

MSG msg;

// Dispatch all windows messages in queue.
while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
{
TranslateMessage (&msg);
DispatchMessage(&msg);
}

4. This is because when an ATM COM Interface method is invoked from a non-owning thread, COM serializes the method call by inserting a Windows Message into the owning thread. This is the simple way in which interface method calls are serialized.

5. Serialization is COM's way of ensuring that the internal state (properties and other internal data) of a COM Object is not corrupted by multiple threads.

6. Please note that -it is- possible to create and use COM Objects (even ATM based) in a thread that does not have any message loop (case in point : console apps). However, in this case, you will not be able to share COM Interfaces across multiple threads.

7. How do we determine the Thread Model of a COM Object ?

Look up the registry entry of the CLSID of the COM Object, e.g. :

HKEY_CLASSES_ROOT\CLSID\{82124FF1-0610-4607-ACFE-8C16E30AF280}

Here, there will be a "InprocServer32" subkey and here you will find a string value named "ThreadingModel". If the string value is : "Apartment", the COM Object is an Apartment-Threaded Model COM Object. But of course, if you had written the COM Object yourself, you will know what Threading Model you had used.

(continued in part 2)
GeneralSome Tips on COM Interface Marshalling (Part 2) Pin
Lim Bio Liong8-Dec-04 16:36
Lim Bio Liong8-Dec-04 16:36 
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 

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.