Click here to Skip to main content
12,947,539 members (55,322 online)

Lim Bio Liong - Professional Profile





Summary

    Blog RSS
56,621
Author
1,663
Authority
588
Debator
80
Organiser
966
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.
  • 18 Aug 2006: MFC/C++ Jul 2006
  • 30 Jan 2005: MFC/C++ Dec 2004

Reputation

For more 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, and the given member types also gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilverAdmin
Bypass spam checks when posting contentsilversilversilversilversilversilversilverSitebuilder, Subeditor, Mentor, Protector, Editor, Staff, Admin
Store personal files in your account areaplatinumplatinumSitebuilder, Subeditor, Supporter, Editor, Staff
Have live hyperlinks in your biographybronzebronzebronzebronzebronzebronzesilverSubeditor, Protector, Editor, Staff, Admin
Edit a Question in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Edit an Answer in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Delete a Question in Q&AYesSubeditor, Protector, Editor, Admin
Delete an Answer in Q&AYesSubeditor, Protector, Editor, Admin
Report an ArticlesilversilversilversilverSubeditor, Mentor, Protector, Editor, Staff, Admin
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubeditor, Mentor, Protector, Editor, Staff, Admin
Edit other members' articlesSubeditor, Protector, Editor, Admin
Create an article without requiring moderationplatinumSubeditor, Mentor, Protector, Editor, Staff, Admin
Approve/Disapprove a pending QuestionProtector, Admin
Approve/Disapprove a pending AnswerProtector, Admin
Report a forum messagesilversilverbronzeProtector, Editor, Admin
Approve/Disapprove a pending Forum MessageProtector, Admin
Create a new tagsilversilversilversilverAdmin
Modify a tagsilversilversilversilverAdmin

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


 
GeneralDeclaring an Interop Struct that contains a character array. Pin
Lim Bio Liong8-Jan-11 4:04
memberLim Bio Liong8-Jan-11 4:04 
GeneralCOM SAFEARRAYs - How to use it in C# Pin
Lim Bio Liong25-Sep-10 13:25
memberLim Bio Liong25-Sep-10 13:25 
GeneralTroubleshooting Exceptions: System.BadImageFormatException Pin
Lim Bio Liong17-Sep-10 20:53
memberLim Bio Liong17-Sep-10 20:53 
GeneralCreating ActiveX Controls in an MFC Application Pin
Lim Bio Liong10-Jan-10 19:26
memberLim Bio Liong10-Jan-10 19:26 
GeneralCareful to allocate BSTRs using ::SysAllocString(). Pin
Lim Bio Liong31-Dec-09 19:08
memberLim Bio Liong31-Dec-09 19:08 
GeneralAbout X.509 Certificates Pin
Lim Bio Liong31-Dec-09 18:25
memberLim Bio Liong31-Dec-09 18:25 
GeneralSome General Points on Array Initialization Part 1 Pin
Lim Bio Liong22-Dec-09 20:25
memberLim Bio Liong22-Dec-09 20:25 
Observe the following code :

class CMyClass
{
public :
// Default constructor.
CMyClass()
{
m_int = 0;
}

// Customized constructor.
CMyClass(int i)
{
m_int = i;
}

// Copy constructor.
CMyClass(const CMyClass& rhs)
{
operator=(rhs);
}

// Destructor.
~CMyClass()
{
long l = 0;
l++;
}

// Assignment operator.
CMyClass& operator = (const CMyClass& rhs)
{
m_int = rhs.m_int;
return *this;
}

// Property accessor.
int get_Int()
{
return m_int;
}

protected :
int m_int;
};

void DemonstrateArrayConstructorIterator()
{
CMyClass myclass_array[5];

return;
}

The following are pertinent points :

1. The declaration for "myclass_array" requires the presence of the default constructor for CMyClass. Without the default constructor for CMyClass, the above array declaration will not compile.

2. Declaration code like that would cause the VC++ compiler to generate internal functions known as the "vector constructor iterator" and the "vector destructor iterator" :

Via debugging and viewing assembly code, we will see the following code emited for the DemonstrateArrayConstructorIterator() function :

52: CMyClass myclass_array[5];
0040101A push offset CMyClass::~CMyClass (004012a0)
0040101F push offset CMyClass::CMyClass (00401280)
00401024 push 5
00401026 push 4
00401028 lea eax,[myclass_array]
0040102B push eax
0040102C call `eh vector constructor iterator' (00401d20)
53:
54: return;
00401031 push offset CMyClass::~CMyClass (004012a0)
00401036 push 5
00401038 push 4
0040103A lea ecx,[myclass_array]
0040103D push ecx
0040103E call `eh vector destructor iterator' (00401bc0)
55: }

The "vector constructor iterator" function will perform a loop to call the default constructor of CMyClass according to the number of elements declared for the "myclass_array" array.

The "vector destructor iterator" function will perform a loop to call the destructor of CMyClass according to the number of elements declared for the "myclass_array" array.

- Bio.
GeneralSome Comments on Copy Constructors Pin
Lim Bio Liong20-Dec-09 23:19
memberLim Bio Liong20-Dec-09 23:19 
GeneralDefault and Customized Constructors Pin
Lim Bio Liong20-Dec-09 22:54
memberLim Bio Liong20-Dec-09 22:54 
GeneralDefault and Customized Constructors (Part 2) Pin
Lim Bio Liong20-Dec-09 23:16
memberLim Bio Liong20-Dec-09 23:16 
GeneralGeneric Test HTML Code For Testing ActiveX Objects Pin
Lim Bio Liong19-Dec-09 14:05
memberLim Bio Liong19-Dec-09 14:05 
GeneralEnsuring a Safe ActiveX Object to be used inside a Web Page Pin
Lim Bio Liong19-Dec-09 14:02
memberLim Bio Liong19-Dec-09 14:02 
GeneralCOM Objects that are created via <object> tags</object> Pin
Lim Bio Liong19-Dec-09 13:59
memberLim Bio Liong19-Dec-09 13:59 
GeneralInternet Explorer with Tabs : Debugging a COM Object or an ActiveX inside a Web Page [modified] Pin
Lim Bio Liong19-Dec-09 13:23
memberLim Bio Liong19-Dec-09 13:23 
GeneralThe Significance of the "CLSID:" Symbol for the OBJECT Tag's CLASSID Attribute Pin
Lim Bio Liong8-Dec-09 23:24
memberLim Bio Liong8-Dec-09 23:24 
GeneralCool use of the #import inject_statement() attribute Pin
Lim Bio Liong4-Dec-09 0:29
memberLim Bio Liong4-Dec-09 0:29 
GeneralFailure of javascript usage of MFC ActiveX Control - Part 1 Pin
Lim Bio Liong3-Dec-09 16:31
memberLim Bio Liong3-Dec-09 16:31 
GeneralFailure of javascript usage of MFC ActiveX Control - Part 2 Pin
Lim Bio Liong3-Dec-09 16:33
memberLim Bio Liong3-Dec-09 16:33 
GeneralFailure of javascript usage of MFC ActiveX Control - Part 3 Pin
Lim Bio Liong3-Dec-09 16:35
memberLim Bio Liong3-Dec-09 16:35 
GeneralFailure of javascript usage of MFC ActiveX Control - Part 4 Pin
Lim Bio Liong3-Dec-09 16:36
memberLim Bio Liong3-Dec-09 16:36 
GeneralInteresting Info On delete and delete [] Pin
Lim Bio Liong25-Nov-09 17:27
memberLim Bio Liong25-Nov-09 17:27 
GeneralInteresting Problem Related to a Temporary VARIANT - Personal Findings - Part 1 Pin
Lim Bio Liong12-Aug-09 22:41
memberLim Bio Liong12-Aug-09 22:41 
GeneralTwo Ways To Reference External Types Into An IDL. Pin
Lim Bio Liong16-Jun-09 1:11
memberLim Bio Liong16-Jun-09 1:11 
GeneralThe Interface Map of CCmdTarget. Pin
Lim Bio Liong6-May-09 20:52
memberLim Bio Liong6-May-09 20:52 
GeneralHandling COM Events in an MFC Client. [modified] Pin
Lim Bio Liong6-May-09 20:28
memberLim Bio Liong6-May-09 20:28 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170518.1 | Last Updated 24 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid