CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: tajepe

Search: Search took 0.08 seconds.

  1. Replies
    1
    Views
    3,496

    Problem of deploying ear package in jboss

    I put the ear package posteita.ear into the jboss deploy folder. Then when I restart the server the log looks like this:


    2009-06-20 22:36:23,642 INFO [org.jboss.deployment.EARDeployer] Init...
  2. Re: Passing a remote client interface to a remote server

    Problem solved.
    long to int casting problem...
    How stupid I am
    Please ignore this thread
  3. Passing a remote client interface to a remote server

    Here is the environment:

    I have a remote coordinator interface and a remote client interface which implement Remote interface:


    public interface CoordinatorInterface extends Remote {
    ...
  4. Replies
    6
    Views
    829

    Re: Problem of inheritance

    I think I want to treat them as a single type(polymorphically).
    Then should I store them all in a collection: ArrayList <GamePiece>cGamePiece;?

    But then in step(),how do I define the iterator?...
  5. Replies
    6
    Views
    829

    Re: Problem of inheritance

    Sorry I didn't make this clear. It is a simple game of balls collisions.
    The CollisionGroup lies at the heart of the framework. Every time the game animation advances from one frame to the next,...
  6. Replies
    6
    Views
    829

    Re: Problem of inheritance

    can a wildcard solve this?
    But I don't know the syntex, mightbe something like <? extends GamePiece>?
  7. Replies
    6
    Views
    829

    Problem of inheritance

    Hi, The problem is like this:

    In SimpleGame.java:



    /**Three balls bounce
    * around a frame, colliding off of each other. A mouse click causes a new black
    * ball to be added.
    */
  8. Re: How to determine whether a Edit Control field is empty

    Yeah, it is a TChar array. So IsEmpty() can't be used.

    Nice! Thanks all.
  9. How to determine whether a Edit Control field is empty

    In DoDateExchange I have:
    DDX_Control(pDX, IDC_TISSUENAME, m_tName1);

    IDC_TISSUENAME is a Edit Control resource
    m_tName1 is CEdit var

    How do I know if the field IDC_TISSUENAME is empty?
    I...
  10. Thread: Variable issues

    by tajepe
    Replies
    6
    Views
    760

    Re: Variable issues

    a piece of code that show us how your c++ program take your input would help
  11. Replies
    7
    Views
    1,600

    Re: CTabCtrl initiating Dialog problem

    Got ya. You hit the point.

    Thank you, both of you.
  12. Replies
    7
    Views
    1,600

    Re: CTabCtrl initiating Dialog problem

    Sorry, this is the declaration:



    public:
    int m_DialogID[3];
    CRect m_ClientRect;
    CDialog m_Dialog;
  13. Replies
    7
    Views
    1,600

    CTabCtrl initiating Dialog problem

    This is what I used to derive from the CTabCtrl class:


    IMPLEMENT_DYNCREATE(CDialogTabs, CDialog)

    CDialogTabs::CDialogTabs(CWnd* pParent /*=NULL*/)
    : CDialog(CDialogTabs::IDD)
    {...
  14. Replies
    8
    Views
    1,765

    Re: How to Reuse already Opened Recordset object

    set your m_strfilter first,
    then try use requry()
  15. Re: Why does my CView display CImage only in 8bit color?

    SetStretchBltMode(pDC->m_hDC,COLORONCOLOR);

    Solves the problem!
    Thanks. No wander your reputation is "glorious beacon of light".
    lol
  16. Re: Why does my CView display CImage only in 8bit color?

    You are right. IT is is due to the stretch. It seems the stretch make the displayed image lose colors. Maybe this is what you call pixelated effects? And if I do this:

    imgOriginal.StretchBlt(...
  17. Re: Why does my CView display CImage only in 8bit color?

    You mean my windows display setting? Yes, it is set to 32bit color.
  18. Why does my CView display CImage only in 8bit color?

    Hi All,

    This is my code in the CView class :


    void CImagePreview::OnDraw(CDC* pDC)
    {
    CimDBManagerDoc* pDoc = GetDocument();

    CRect dstRect;
Results 1 to 18 of 18





Click Here to Expand Forum to Full Width

Featured