Search:

Type: Posts; User: Danne

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    4,902

    I understand that its becouse the cmd cant find...

    I understand that its becouse the cmd cant find the bat. But why doesnt that happend if I just click on a bat that would delete itself??

    And yes, the program.exe is the same that produces the bat,...
  2. Replies
    8
    Views
    4,902

    Would you mind explaining what that does? If it...

    Would you mind explaining what that does?
    If it launches the bat from within a CMD window then it wont work without the error.

    And I dont need a entire program for the deletion. The problem is...
  3. Replies
    8
    Views
    4,902

    If I make a bat that deletes itself and click it,...

    If I make a bat that deletes itself and click it, it will do that without any errors.
    If I launch the bat with System() the error shows up.
    If I launch the bat from the CMD the error shows up.
    ...
  4. Replies
    8
    Views
    4,902

    Sorry if I didnt explain it properly, The files...

    Sorry if I didnt explain it properly, The files are deleted without any problem, but the window will not shut down like it does if I would launch the bat manually. Instead it will show the message....
  5. Replies
    8
    Views
    4,902

    Making a program delete itself using bat files

    Hello, Im making a function that will cause my program to create a temporary bat file that will terminate and delete the main program and then delete itself:



    ofstream myfiledel;
    ...
  6. Replies
    3
    Views
    4,139

    Thank you for that link. I folowed the tutorial...

    Thank you for that link.
    I folowed the tutorial (with a few changes as I had the websites in different lines)
    and it would list:


    @echo off
    start www.example.com


    So I needed a way to get...
  7. Replies
    3
    Views
    4,139

    c++ Read *.bat file as *.txt

    Hello. I have made a simple c++ program that can save websites into a bat file as strings. and another function with launches the bat file to open the websites.
    (the code do alot more, but thats not...
  8. Replies
    5
    Views
    973

    Alright, I used UpdateWindow. Works great. thanks

    Alright, I used UpdateWindow. Works great. thanks
  9. Replies
    5
    Views
    973

    @tabstop:So the reason for the text not showing...

    @tabstop:So the reason for the text not showing up is that the program pauses when the messages are being processed? Is there anything I can replace Sleep() with so that I can just delay the second...
  10. Replies
    5
    Views
    973

    Dealy a function.

    EDIT: I just saw I wrote Dealy instead of Delay in the thread name. :(

    Hello everyone.
    I know that I have been posting alot of questions here lately but for this question I cant find any other...
  11. Thread: AviCap tutorial?

    by Danne
    Replies
    17
    Views
    6,194

    I am really confused now. Msdn says that...

    I am really confused now.
    Msdn says that capcreatecapturewindow needs the vfw library,
    but it is under the avicap how to create a window tutorial and I dont have the vfw dll on my computer I think,...
  12. Thread: AviCap tutorial?

    by Danne
    Replies
    17
    Views
    6,194

    I used #include . Should I #include...

    I used #include <vfw.h>.
    Should I #include <vfw32.dll> instead?
  13. Thread: AviCap tutorial?

    by Danne
    Replies
    17
    Views
    6,194

    vfw.h. already linked in the code Edit: Found...

    vfw.h.
    already linked in the code

    Edit: Found this in msdn.microsoft:
    HWND VFWAPI capCreateCaptureWindow(
    LPCTSTR lpszWindowName,
    DWORD dwStyle,
    int x,
    int y,
    int nWidth,
  14. Thread: AviCap tutorial?

    by Danne
    Replies
    17
    Views
    6,194

    Got some less strange errors this time: ...

    Got some less strange errors this time:

    program.exe not found or not built by the last incremental link; performing full link
    1>ctl_one.obj : error LNK2019: unresolved external symbol...
  15. Thread: AviCap tutorial?

    by Danne
    Replies
    17
    Views
    6,194

    Oh, It was ending in .c , my bad. trying it as...

    Oh, It was ending in .c , my bad. trying it as cpp now
  16. Thread: AviCap tutorial?

    by Danne
    Replies
    17
    Views
    6,194

    I am compiling in c++ yes, Visual c++ 2010...

    I am compiling in c++ yes, Visual c++ 2010 express edition .
  17. Thread: AviCap tutorial?

    by Danne
    Replies
    17
    Views
    6,194

    So I found this piece of code that I actually...

    So I found this piece of code that I actually understand (the most of it anyway) so I will be able to learn something from it.
    The problem is just 2 errors that I think are very strange.

    (158):...
  18. Thread: AviCap tutorial?

    by Danne
    Replies
    17
    Views
    6,194

    So let's say there ain't any tutorial on this,...

    So let's say there ain't any tutorial on this, how would I learn the very basics of usig avicap? Should I read the VB tutorials? Or maybe someone of you here maybe could explain some of the basics?...
  19. Thread: AviCap tutorial?

    by Danne
    Replies
    17
    Views
    6,194

    Did you find any tutorials that explain the...

    Did you find any tutorials that explain the basics of avicap from that search? I only got some tutorial in creating a wrapper for avicap live stream or a tutorial in vb...
  20. Thread: AviCap tutorial?

    by Danne
    Replies
    17
    Views
    6,194

    AviCap tutorial?

    Hello, I am going to make a application that can show live preview from a webcam, and after reading alot on the internet I think that Avicap is easier to learn than directshow.
    After googling on...
  21. Replies
    13
    Views
    4,717

    That works, thank you. :)

    That works, thank you. :)
  22. Replies
    13
    Views
    4,717

    I placed the semicolon in the right place but i...

    I placed the semicolon in the right place but i still got like 5 "missing ; before type" error by some reason.

    If I use a function how would I include the
    "SendDlgItemMessage(hwnd, IDC_LIST,...
  23. Replies
    13
    Views
    4,717

    Hi again. I finished the turorials but I have...

    Hi again.
    I finished the turorials but I have one problem.
    I have this code: (with resource file that im not including now)


    #include <windows.h>
    #include "resource.h"
  24. Replies
    13
    Views
    4,717

    So I read the tutorials you linked to and I think...

    So I read the tutorials you linked to and I think I got it now.
    Thanks.
  25. Replies
    13
    Views
    4,717

    I am using winAPI, but I still need help with...

    I am using winAPI, but I still need help with this.
Results 1 to 25 of 33
Page 1 of 2 1 2