Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
Z

ZBUILDER

@ZBUILDER
About
Posts
9
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • "using " confuse me
    Z ZBUILDER

    I am developing an assambly .It is not a user control,but i want use System.Drawing.Color class. How should i do ?

    waiting for answer.
    thanks

    SIMPLE IS BEAUTY

    C# graphics question

  • CSimpleArray ?
    Z ZBUILDER

    Then What about Wapper(t)? And How does it modify the Adderss of &m_aT[nIndex]? SIMPLE IS BEAUTY

    C / C++ / MFC c++ question

  • CSimpleArray ?
    Z ZBUILDER

    Excuse me. Today,I study the WTL Library's CSimpleArray class source code,I find the following code:

    template<class T>
    class CSimpleArray
    {
          T* m_aT;
          ...
    
    	class Wrapper
    	{
    	public:
    		Wrapper(T& _t) : t(_t)
    		{
    		}
    		template 
    		void *operator new(size_t, _Ty* p)
    		{
    			return p;
    		}
    		T t;
    	};
    	void SetAtIndex(int nIndex, T& t)
    	{
    
    		new(&m_aT[nIndex]) Wrapper(t);
    	}
       ...
    }
    

    I can not understand the syntax about "new(&m_aT[nIndex]) Wrapper(t)":confused:,anyone can explain it? thanks first. SIMPLE IS BEAUTY

    C / C++ / MFC c++ question

  • COM design question
    Z ZBUILDER

    Hi,I donot think it is a question. First ,you should know some concepts. Interface means the assembly of a bunch of functions.It is not an object.One Interface has one UUID called as IID_XXX. CoClass stands for object which implements some interfaces.One CoClass has one UUID called as CLSID_XXX Library looks like a DLL or EXE file.One library can contains and exporses one or more CoClass. So the solutions of your question can be like the followings: No.1 You create a library "La",which contains two coclasss coA and coB,which both implements the interface Interace0.In your application you can create object coA or coB then query their's interface0 to execute some method. No.2 You can create two library "La" and "Lb",which contains coA and accordingly.the following steps is same to No1 SORRY My poor words.:-D SIMPLE IS BEAUTY

    COM question c++ com design help

  • BIG OR LITTLE QUESTION?
    Z ZBUILDER

    Thank you very much.See you later? SIMPLE IS BEAUTY

    C / C++ / MFC question c++ debugging

  • BIG OR LITTLE QUESTION?
    Z ZBUILDER

    Here is the message from VC Debug tool ,Can somebody tell me What does it mean?:eek::eek: First-chance exception in DMSClient.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. SIMPLE IS BEAUTY

    C / C++ / MFC question c++ debugging

  • Intelligent tip does not work ?
    Z ZBUILDER

    THANK YOU Mr. Roger Wright. SIMPLE IS BEAUTY

    The Lounge tutorial question

  • Intelligent tip does not work ?
    Z ZBUILDER

    I use VC to develope some application. The intelligent tip is very useful when I type a object name and then type a dot or ->,it lists the member functions and member variable. But sometime it does not work,the reason may be my code is wrong or others.However sometimes my code is right , it also does not work .For an example LISTVIEW Control ,When I insert a item , I defined a lvItem which type is LV_ITEM ,the intelligent tip does not work at this variable.Why??:eek::eek: SIMPLE IS BEAUTY

    The Lounge tutorial question

  • I want to catch Net Event?How to...
    Z ZBUILDER

    Hi,Good morning, I have a small question .Now I want to catch the net event when the netlink breaks down,how to do...... thanks Zbuilder jianshez@bjxj-xjgc.com;) DREAM FOR BRIGHT FUTURE

    C / C++ / MFC question com tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups