Search:

Type: Posts; User: fiff

Search: Search took 0.01 seconds.

  1. Thread: Link .lib

    by fiff
    Replies
    8
    Views
    1,441

    I'm using anyway MFC, so the portability... "is...

    I'm using anyway MFC, so the portability... "is not a problem" :)

    I tried to change the link settings, but I'm doing something wrong, because it wont work, linker gives errors (LNK2001 -...
  2. Thread: Link .lib

    by fiff
    Replies
    8
    Views
    1,441

    Now I'm confused... It works with Win XP, 2K,...

    Now I'm confused...
    It works with Win XP, 2K, 98.
    Did you mean non-windows platforms?
  3. Replies
    17
    Views
    2,225

    Yes, my mistake, I did'nt read the first post...

    Yes, my mistake, I did'nt read the first post thoroughly :)
  4. Thread: Link .lib

    by fiff
    Replies
    8
    Views
    1,441

    Portability? Between different VC versions?

    Portability? Between different VC versions?
  5. Thread: Link .lib

    by fiff
    Replies
    8
    Views
    1,441

    Tnx, but can I also do this without changing...

    Tnx,
    but can I also do this without changing project settings - in code?


    #pragma comment(lib, "./API/mylib.lib") ???
  6. Thread: Link .lib

    by fiff
    Replies
    8
    Views
    1,441

    Link .lib

    How can I link .lib (static not dll) with my project? (VC 6.0)
    I don't want to insert another project into workspace.
  7. Replies
    17
    Views
    2,225

    CMyEdit : public CEdit { public:...

    CMyEdit : public CEdit
    {
    public:
    CString GetText()
    {
    CString text;
    this->GetWindowText(text);
    return text;
    }
    };
  8. Thread: installer

    by fiff
    Replies
    3
    Views
    1,152

    Finally ... I found ZipArchive from...

    Finally ...
    I found ZipArchive from http://www.codeproject.com/cpp/zip.asp
    and this works



    /// szDest is CString with dest. folder from "Folder Browse Dialog"

    CString ZipTempFileName =...
  9. Thread: installer

    by fiff
    Replies
    3
    Views
    1,152

    Yes I tried this lib... but unfortunately this is...

    Yes I tried this lib... but unfortunately this is too much for me.
    Can someone show me how to use zlib in MFC.

    For example I have :


    class AppX : public CWinApp
    {
    public:
  10. Thread: installer

    by fiff
    Replies
    3
    Views
    1,152

    installer

    I'm making installer (VC++ 6.0),

    I use LoadResource() to get files from install.exe, something like this



    HINSTANCE hInst = AfxGetInstanceHandle();

    HRSRC hmdbFile =...
  11. Replies
    1
    Views
    2,547

    I looked in winmdi.cpp and now I know why this...

    I looked in winmdi.cpp and now I know why this "Assertion Failed" appears.
    CMDIFrameWnd must have menu with submenu and at least with two items.

    I made menu (resource) and called LoadFrame()...
  12. Replies
    1
    Views
    2,547

    CMDIFrameWnd and Create

    Hi,

    this code is not working,
    why?


    #include <afxwin.h>
    #include <afxtempl.h>

    #include "resource.h"
  13. Thread: Ws_tabstop, Mfc

    by fiff
    Replies
    4
    Views
    3,781

    I have'nt found any simple solution and any way I...

    I have'nt found any simple solution and any way I dont like this tab movement, so I made this (moving and selecting with arrows):


    class MyEdit : public CEdit
    {
    protected:

    void...
  14. Thread: Ws_tabstop, Mfc

    by fiff
    Replies
    4
    Views
    3,781

    Yes, application class -> class MyApp :...

    Yes, application class ->



    class MyApp : public CWinApp
    {
    public:

    BOOL InitInstance()
    {
  15. Thread: Ws_tabstop, Mfc

    by fiff
    Replies
    4
    Views
    3,781

    Ws_tabstop, Mfc

    Hi,

    I have two CEdit's with WS_TABSTOP property, but tabing (moving between editboxes with TAB / SHIFT+TAB) is not working. As I understood I have to put IsDialogMessage(); function in message...
  16. Replies
    3
    Views
    21,310

    okidoki

    okidoki
  17. Replies
    3
    Views
    21,310

    Visual C++ round / rint ????

    Hi,

    how can I round double in Visual C++ ?

    In Dev-Cpp works:

    #include <math.h>
    int myInt;
    myInt = int (round(45.65445));
  18. Replies
    11
    Views
    2,129

    :) damn to long scripting PHP Thanks, your...

    :) damn
    to long scripting PHP

    Thanks, your code works.
    I did'nt call the method ActivateFrame() correctly, missing ()
  19. Replies
    11
    Views
    2,129

    In C++ class decl. doesnt end with semicolon ;...

    In C++ class decl. doesnt end with semicolon ;
    It gives 102 errors :)
  20. Replies
    11
    Views
    2,129

    simple app with MFC

    I'm using Visual C++ 6.0 ...
    I create empty project (Win32 App) and new .cpp file:


    #include <afxwin.h>

    class AppX : public CWinApp
    {
    public:
    BOOL InitInstance()
  21. Replies
    3
    Views
    6,885

    thank you for a reply... I fix those things. ...

    thank you for a reply... I fix those things.

    I am very grateful, if someone can give me a working code (or link) for something similary... I have searched so many days from Google and MSDN. Best...
  22. Replies
    4
    Views
    4,188

    thank you for a reply. :) that's it... but...

    thank you for a reply.



    :) that's it... but if there is another moving picture then redrawing the background will delete it (I guess, I just have to redraw another picture also)
    Is this a...
  23. Replies
    4
    Views
    4,188

    GDI sprite (Win32 API)

    Please help... how can I make sprite (simple picture moving when pressed arrows)

    I thought something like this:
    when arrow pressed, then
    1) delete previous picture from screen
    2) calculate new...
  24. Replies
    3
    Views
    6,885

    GDI sprite (Win32 API)

    Please help... how can I make sprite (simple picture moving when pressed arrows)

    I thought something like this:
    when arrow pressed, then
    1) delete previous picture from screen
    2) calculate new...
Results 1 to 24 of 24