Search:

Type: Posts; User: keeper

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    874

    sizeof struct not what I expected

    Hi,

    I have a question to that struct:



    typedef struct b
    {
    double amount;
    char date[11];
  2. Replies
    4
    Views
    1,651

    Thanks, but where get this file time.txt saved...

    Thanks, but where get this file time.txt saved and how does I change the date and time of an existing file. And can you tell me how to call this function int WINAPI WinMain(HINSTANCE hThisInstance,...
  3. Replies
    4
    Views
    1,651

    changing file date

    Hello,

    I want to change the creation, last modified and last viewed date of a file. Can somebody help me with that? I think it can be done with the windows api, but I have no idea how.

    MFG,...
  4. Replies
    19
    Views
    14,365

    OK get it working :) #include ...

    OK get it working :)



    #include <windows.h>
    #include <tlhelp32.h>
    #include <iostream>
    #include <string>
    #include "psapi.h"
  5. Replies
    19
    Views
    14,365

    Thanks now there are less errors: ...

    Thanks now there are less errors:

    process.cpp(12): error C3861: 'EnumProcesses': identifier not found, even with argument-dependent lookup

    process.cpp(16): error C3861: 'GetModuleBaseName':...
  6. Replies
    9
    Views
    5,914

    get it working :) It was just a little ...

    get it working :)

    It was just a little


    extern "C"
    {
    #include "x.h"
    }
  7. Replies
    9
    Views
    5,914

    If somebody can please download the programm one...

    If somebody can please download the programm one could better see were my problems are. I don't know what I can describe more about the errors that appear because everything I try to solve the...
  8. Replies
    19
    Views
    14,365

    Making a complete new project insert the code...

    Making a complete new project insert the code from above (06-22-2007 03:58 AM) nothing more I get these errors:

    process.cpp error C2146: syntax error : missing ';' before identifier...
  9. Replies
    19
    Views
    14,365

    Yes I read the replies. And I think I get this...

    Yes I read the replies. And I think I get this working, if I get solve this problem:
    http://cboard.cprogramming.com/showthread.php?t=91082 first. The problem is the same here mixing c and c++ files....
  10. Replies
    9
    Views
    5,914

    I have test all the different versions available,...

    I have test all the different versions available, but I get always the error LNK2005 and error LNK2019 I write in my post above.

    And I dont know what type of lib ntdll.lib is.
  11. Replies
    9
    Views
    5,914

    Making a complete new project without the...

    Making a complete new project without the stdafx.cpp and stdafx.h file and with Not Using Precompiled Headers on, I get these errors:

    test error LNK2005: _strcat already defined in...
  12. Replies
    9
    Views
    5,914

    I have under the option Additional Dependencies...

    I have under the option Additional Dependencies these two psapi.lib ntdll.lib libaries.

    The only header I include before the system headers is #include "stdafx.h"

    I delete the Debug directory...
  13. Replies
    9
    Views
    5,914

    Hmm now I get these errors after I mark the...

    Hmm now I get these errors after I mark the option Not Using Precompiled Headers:

    cerrno(18): error C2143: syntax error : missing '{' before ':'

    and

    cerrno(18): error C2059: syntax error :...
  14. Replies
    9
    Views
    5,914

    mixing c file with c++ file

    Hi,

    I have two projects and want them to get together. But I have a problem with mixing c and c++ files.

    I get this error while compiling:

    process.c fatal error C1853: 'Debug/service.pch'...
  15. Replies
    19
    Views
    14,365

    I use the english version of Visual Studio C++...

    I use the english version of Visual Studio C++ 2003 with the standard settings.



    DWORD GetProcessByFileName(char* name){
    DWORD process_id_array[1024];
    DWORD bytes_returned;
    DWORD...
  16. Replies
    19
    Views
    14,365

    Yes I realize that, it was only an example. I...

    Yes I realize that, it was only an example.

    I try the code in the topics you post, but I have some problems with that. I get the error: main.c(13): error C2143: syntax error : missing ';' before...
  17. Replies
    19
    Views
    14,365

    process id from exe

    Hello,

    Ok my problem is that I need a function to find out the process id from a given process name.

    e.g.: I want to get the pid for explorer.exe, then the function should give me the pid 1156....
  18. Thread: standart dlls

    by keeper
    Replies
    3
    Views
    2,116

    Yes with disabling the WFP and some rename tricks...

    Yes with disabling the WFP and some rename tricks of the dlls it worked so I had a system crash ;)

    Anyone an idea how to find out what functions or whatever I have in my new programm which makes...
  19. Thread: standart dlls

    by keeper
    Replies
    3
    Views
    2,116

    standart dlls

    Ok in a previous thread I had an question about dlls on which my programm based.
    With DEPENDS.EXE from the Visual Studio I worked out that my programm (a dll) need some system dlls. I have two...
  20. Replies
    11
    Views
    2,208

    The programm for what my dll is written is an nt...

    The programm for what my dll is written is an nt service, so no when it does not run I see nothing.
  21. Replies
    11
    Views
    2,208

    OK thank you.

    OK thank you.
  22. Replies
    11
    Views
    2,208

    Hmm how to post error messages when there are no....

    Hmm how to post error messages when there are no. And what of the code to you want to see. The programm has 10 .cpp files and 8 .h files the total code is more than 60 Din A 4 printed pages.

    P.S....
  23. Replies
    11
    Views
    2,208

    I have this #pragma comment (lib,"ws2_32")...

    I have this



    #pragma comment (lib,"ws2_32")

    #pragma comment (lib,"cryptlib")
    #pragma comment (lib,"libeay32")
    #pragma comment (lib,"ssleay32")
  24. Replies
    11
    Views
    2,208

    programm will not start

    Hi

    I have a problem, my programm does not run on any windows pc (I mean win 2000 and up). Sometimes it does and sometimes nothing happens. I think it must be something with dlls. But I don't know...
  25. Replies
    2
    Views
    906

    token text problem

    I have a file in the following format:

    ID;Data;Tag;Date
    234;15681;345919;91234;...
    156;1924;;134;...
    ...
    ...
    ...

    You see in the first line it define what kind of data the following is.
Results 1 to 25 of 71
Page 1 of 3 1 2 3