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

Search:

Type: Posts; User: lakis

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    737

    Re: Double Buffering tricky problem

    Hmm,i've found the solution using SelectClipRegion and combine the rgn with the xor result of the chessrgn,which is the windowrgn-chessrgn and it seems to work ok.However,i'd surely be willing to...
  2. Replies
    3
    Views
    737

    Double Buffering tricky problem

    Hello ppl,
    i'm writing a program in mfc and i have a tricky problem concerning double buffering.There's a rectangle inside my window that needs to be updated continuously and therefore double...
  3. Replies
    4
    Views
    958

    Re: Sockets...Again :p

    Hi MikeAThon,
    many thanx for the reply ;) Let me clarify some things on my code.CMySocket is a class that wraps the functionality of a socket either being a server or a client,since i need to do...
  4. Replies
    4
    Views
    958

    Re: Sockets...Again :p

    Hmm,i probably haven't made myself clear and thus i'm not receiving any answers.I've managed to send data from the server to the client but i can't do the opposite.
    To clarify,i'd have to say that...
  5. Replies
    4
    Views
    958

    Re: Sockets...Again :p

    Hmm,i think i understood something better but i'd need some clarification on this.I changed the dialog code from:




    CString buf="Welcome To Host !!!";...
  6. Replies
    4
    Views
    958

    Sockets...Again :p

    Hello ppl and thanx for reading that,
    I'm in the process of coding a simple multiplayer chess game(no AI) and so i find myself in the middle of winsock programming through mfc and CAsyncSocket in...
  7. Thread: C++ game

    by lakis
    Replies
    3
    Views
    1,153

    Re: C++ game

    Don't really know if this will help,but i've created a tictactoe game in the past to check the minimax algorithm for artificial intelligence.This is my code that shows how i made this check(inside a...
  8. Thread: Proxies tool

    by lakis
    Replies
    3
    Views
    743

    Re: Proxies tool

    No,in fact i'm asking how to determine that bandwidth.
  9. Replies
    5,488
    Views
    951,633

    Re: The "last one to post on this thread wins" Thread

    Please lock this thread :p
  10. Thread: Proxies tool

    by lakis
    Replies
    3
    Views
    743

    Proxies tool

    Hello again ppl,
    I'm in the process of creating a tool that will enumerate a number of proxies for various reasons(anonymity,net access etc).As you can understand determining the speed of the...
  11. Replies
    3
    Views
    691

    Re: GameEngine problem

    Very nice idea Marc ;) I'll implement it for sure.Thanx a lot for the helpful answer ;)
  12. Replies
    3
    Views
    691

    GameEngine problem

    Hello ppl,
    i'd like to ask something about code management in a game engine.Since i'm building one with simple gdi calls,i want to ask you sth about it.
    The problem is how to organise a set of...
  13. Replies
    8
    Views
    4,776

    Re: Double Buffering question..

    I'm not coding in MFC,though i must say that i'm a fan of it :p.It's probably the naming conventions i used in my examples that gave you that feeling philkr.I have done some coding in directx and...
  14. Replies
    8
    Views
    4,776

    Re: Double Buffering question..

    hmm,pretty interesting suggestion PadexArt.I'm currently implementing it like :

    There's a handle event function..




    LRESULT CGameEngine::HandleEvent(HWND hWindow, UINT msg, WPARAM wParam,...
  15. Replies
    8
    Views
    4,776

    Double Buffering question..

    Hello dear fellows,
    I'm coding a simple game engine and i'm having some trouble in the way i'll implement double buffering.Think that there's a class(CGameEngine) that contains the window handling...
  16. Replies
    10
    Views
    9,196

    Re: TransparentBlt problem..

    It seems that TransparentBlt is a simulation of StretchBlt where an alpha value can be given.So,these values are left to the programmer in case he would want to stretch the bitmap i think.Of...
  17. Replies
    10
    Views
    9,196

    Re: TransparentBlt problem..

    Yes,you're definately right about that,instincts alone are not enough against the microsoft API :) I should have been aware of that,but the mind plays weird games sometimes ;)



    Yes,i'm aware...
  18. Replies
    10
    Views
    9,196

    Re: TransparentBlt problem..

    Hmm,it seems that i didn't really pay attention at how the parameters in xSource and ySource work in TransparentBlt now that i read your second post.You're right.In fact,my wrong assumption is that...
  19. Replies
    10
    Views
    9,196

    Re: TransparentBlt problem..

    Thanx for the quick answers Smasher and Miteshpandey,

    @Smasher:

    Oops,i have used the wrong tag in closing the code tag before :) To be sincere i haven't thought of that Smasher.I thought that...
  20. Replies
    10
    Views
    9,196

    TransparentBlt problem..

    Hello ppl,
    here's one more weird problem for me :) I'm creating a CSprite class and have included a Draw function like :

    [code]
    void DrawBitmap(int xDest,int yDest,bool IsTransparent,COLORREF...
  21. Replies
    16
    Views
    6,084

    Re: big numbers division

    Btw,Kalama,have you trying using the miracl bignumbers library ? It'll simplify everything you need to do with bignumbers..
  22. Replies
    6
    Views
    5,435

    Re: Threads in Visual C++

    Hello compatriot ;),
    you can create a new thread using the function CreateThread in native api.The function allows you to assign a function that will in fact be the entry point to the thread so...
  23. Replies
    12
    Views
    1,023

    Re: Piracy protection

    Sure there are some generic ways of getting the OEP but new versions come out soon and more intuitive tricks are found (like stolen bytes in asprotect).Apart from that,packers like armadillo do in...
  24. Replies
    12
    Views
    1,023

    Re: Piracy protection

    It in fact extracts a key from the error parts into the cd rom and decrypts sections of the executable using the TEA algorithm.Sure it can work with minor changes.How about storing a key based on...
  25. Replies
    12
    Views
    1,023

    Re: Piracy protection

    In fact,it's one of the best there is :) I think that the best one is armadillo or SVKP at the time though.ASprotector is probably the third in the hierarchy :)
    The question is not what the best...
Results 1 to 25 of 44
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured