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,...
Type: Posts; User: Danne
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,...
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...
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.
...
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....
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;
...
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...
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...
Alright, I used UpdateWindow. Works great. thanks
@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...
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...
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,...
I used #include <vfw.h>.
Should I #include <vfw32.dll> instead?
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,
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...
Oh, It was ending in .c , my bad. trying it as cpp now
I am compiling in c++ yes, Visual c++ 2010 express edition .
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):...
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?...
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...
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...
That works, thank you. :)
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,...
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"
So I read the tutorials you linked to and I think I got it now.
Thanks.
I am using winAPI, but I still need help with this.