I'm trying to make a form derive from a baseform.
When loading the Form into the Designer, it says Virtual Inheritance is disabled and i cannot have access to controls defined in the basedForm.
Does anyone knows how to enable the virtual inheritance?
Thank you,
...
I have a Windows batch file that processes all the files in a given directory. I have 206,783 files I need to process:
for %%f in (*.xml) do call :PROCESS %%f
goto :STOP
:PROCESS
:: do something with the file
program.exe %1 > %1.new
set /a COUNTER=%COUNTER%+1
goto :EOF
:STOP
@echo %COUNTER% files processed
When I run the batch file,...
interested in absolute time, rather than a way to measure the duration.
Win32 API
c++
...
Wav files support different encodings, including mp3. Is there a C/C++ library that would produce mp3-encoded wav files from uncompressed wav? If not, what would be the best place to start to implement one?
...
We are working on reducing compile times on Windows and are therefore considering all options. I've tried to look on Google for a comparison between compile time using GCC (MinGW or Cygwin) and MSVC compiler (CL) without any luck. Of course, making a comparison would not be to hard, but I'd rather avoid reinventing the wheel if I can.
D...
I'd like to use a windows powershell to run a batch file every x number of seconds. So it's the same batch file being run over and over again.
I've done some looking but can't find what i'm looking for. It's for something that i want to run on a windows xp machine. Windows Schedular i've used lot of times before for somethign similar...
Someone told me to use MFC,but it seems that MFC will be dead,although its not already...
so if i want to learn windows programming now, which one should i choose? thx.
...
I am trying to send a ctrl-x keystroke to COM2 and I ahve to code to open the port and read and write but when I tried to send Chr(Keys.ControlKey + Keys.X) it did not work. any ideas?
...
Anyone know a tool I can use to debug "cannot access the file because it is being used by another process" exceptions? I suspect a virus scanner but I can't be sure.
...
Before you tell me "google it" - hear me out. I come from C++ & Perl/Python (on Linux) background but I have a few projects coming up where I have to jump in to Windows development. Specifically creating some COM DLLs (not .Net). BTW, after reading some resources, I do have basic idea of what COM & what DLL is.
I tried to search on Goog...
Hello everyone :)
I'm very new to anything involving Component Object Model, and I'm wondering if this method of managing calls to CoInitalize/CoUninitalize makes sense:
COM.hpp:
#pragma once
namespace WindowsAPI { namespace ComponentObjectModel {
class COM
{
COM();
~COM();
public:
static void Setup();
};
}}
COM.cpp:
...
I want to make a little tk app that continuous ping an ip and only show the MS, like, "10ms"
how could I do?
...
I want to disable CTRL+ALT+DEL in Windows XP in my ANSI-C code. Is it possible to do it?
...
Hello,
How Do I deploy applications so that they require administrator rights without the end-user doing that by hand?
I use Delphi 2009 to build the application.
...
Hello,
I have a .net Windows Service developed in VB.net. I have a settings file in the root directory called Connections.XML and I am setting the basedirectory as below
System.IO.Directory.SetCurrentDirectory(System.AppDomain.CurrentDomain.BaseDirectory)
Dim _path As String = System.AppDomain.CurrentDomain.BaseDirectory()
...
Hi
I am not sure that I understand Isolated storage. I read the article http://msdn.microsoft.com/en-us/library/3ak841sy%28VS.80%29.aspx
1) Why I don't just use App data folder?
2) In the link above : "With isolated storage, data is always isolated by user and by assembly. Credentials such as the origin or the strong name of the ass...
In Windows -- and probably Unix for that matter -- using the chdir() function in a (32-bit) program doesn't change the directory when the program exits. (It does in a 16-bit Windows program.)
Does anybody know how to do that in a Windows 32-bit program?
...
Hi,
I'm using Eclipse and I would like to remove scrollbars from the editor.
(I usually partition my screen with multiple opened editors. I want to save space.).
Is there an easy way?
I'm using Windows 7.
...
Hi
I'm currently developing a cross-plataform virtual keyboard. In linux i was able to do whatever i want, but in Windows i'm having problems to prevent the widget to obtain the keyboard focus.
In linux, using the window flag
Qt::X11BypassWindowManagerHint
the widget never gets the keyboard input, but of course, that flag does not ...
I am trying to add drag-and-drop text to my Doc-View App. I added the COleDropTarget variable to the view class, registered it in OnCreate(). I added OnDragEnter(), OnDragOver(), OnDragLeave() and OnDrop() to that class as virtual overrides, but none of them are ever called. I previously had added m_pMainWnd->DragAcceptFiles(TRUE); to my...