Hi,
My app is very slow and I am trying to make it more efficient but can't seem to work out which method to override.
I have a lot of buttons (100 - 200) added to a panel and wish to resize the panel so that the buttons resize themselves in the window. The buttons are quite long (200 pixels...
Hi,
I have written a program that works perfectly under Windows XP and Office 2003, however I have discovered that it does not work with earlier versions of Windows or Office.
The problem is I have not got a copy of Windows 2000 to test this with to get it to work. I require the user to get...
Hi,
I am trying to write a simple operating system in java with terminal polling, microkernel, etc. Would anyone be able to point me in the right direction, either an existing simple os I could look at, or merely some assistance in how to go about it, I don't really know where to start?
Thanks
Hi,
I am trying to create a simple C# application that I can run from my home computer that will upload a file to some web space I have.
I have managed to create an ASP.NET file that I have uploaded and when I browse for a file and upload it, it works fine.
My question is how to do this from...
Hi,
I am having a problem overriding the new and delete operators. I have overwritten the new operator with the following:
void * operator new(size_t size, char const* file, int line)
{
void* v = malloc(size + sizeof(size_t));
return v;
}
and the delete with the following:
void operator...
Hi,
How do I display Excel's print dialog box from c#? I understand that to do it in VBA I use the code:
excel.Dialogs(xlDialogPrint).Show();
But I cannot do the same thing in c# it seems. Have I maybe got the syntax wrong, or do I need to include a directive. The error message is that...
Hi,
I am trying to change the properties of each item in a listbox so that I can have items of different colours.
I cannot seem to find a way of doing this, however I did find the following code, which suggests that I am looking for the attributes object, but it does not exist in my listbox...
Hi,
I have a problem with CheckedListBoxes that is confusing me.
This is the code I have in the constructor, where the designer code just adds the checkedlistbox:
InitializeComponent();
array2 = (ArrayList) array.Clone();
this.checkedListBox1.DataSource = array2...
I have a problem using managed code, I don't know a lot about it and any tutorials I have found just confuse me more.
Here is some code with the errors its producing:
//main.cpp
Manage* manage;
int WINAPI WinMain(..,..,..,..)
{
manage = new Manage();
manage->Method();
return 0;
}...
I have a rather difficult problem I have been struggling with for a while now.
I have two programs which need to run at the same time, but each program needs each other's objects from time to time.
So why not combine them into one big program with a launcher. Firstly I need to send a request...
I'm using Visual Studio .Net and I have run the memory leak test on my program. It is failing to release a few structures I have created in my program and I'm not sure how I'm supposed to do it.
Here is a simple version of the program I am using:
struct s
{
bool a;
char* b;
int c...
I have a problem with a program I'm writing.
I'm doing it in Microsoft Visual Studio .NET with c++ and using mysql to access a database.
The problem is the steadily increasing memory usage, which over time just keeps on going up.
I assume the problem is because I'm not freeing up memory...
Hi,
I am having a problem getting a project file to compile in debug mode. It works fine in release mode, however when I come to compile in debug it gives a whole ream of errors, all LNK2001 and LNK2019, involving unresolved external symbols.
Just to give you an idea of which ones are failing...
I am getting an inconsistent dll linkage error. I have defined the code as follows:
query.cpp file:
#define INTERNAL 1
...functions...
query.h file:
#ifdef INTERNAL
#define EXPORTS __declspec(dllexport)
#else
#define EXPORTS __declspec(dllimport)
#endif
class EXPORTS CLS
{
...functions...
I cannot multiplex an MPEG2 file. I have tried every possible combination. There is no multiplexer in directshow so I have to use a third party one.
The only problem is:
1. Moonlight M71 Muxer works, but there is no way I can adjust preferences automatically in c++.
2. Cyberlink MPEG Muxer...
I am having a lot of problems getting Directshow to work with video capture. All I can get is a blank screen. I think the problem lies with the tune request, but I'm a little unsure how to debug this.
If anyone would like to help me out, or maybe can suggest a possible solution either to this...
Hi,
I have a problem with DirectShow, in running through Microsoft's basic Video Control tutorials.
These are my global declerations, which I have checked, and are sure they are right:
static const UUID CLSID_MSVIDCTL = {0xB0EDF162, 0x910A, 0x11D2, {0xB6, 0x32, 0x00, 0xC0, 0x4F, 0x79, 0x49...
Hi,
I have a problem with DirectShow, in running through Microsoft's basic Video Control tutorials.
I have had it working in Graphedit I will point out, and VBScript, just not c++.
These are my global declerations, which I have checked, and are sure they are right:
static const UUID...
Hi,
I have a problem with DirectShow, in running through Microsoft's basic Video Control tutorials.
These are my global declerations, which I have checked, and are sure they are right:
static const UUID CLSID_MSVIDCTL = {0xB0EDF162, 0x910A, 0x11D2, {0xB6, 0x32, 0x00, 0xC0, 0x4F, 0x79, 0x49...
Hi,
I have a problem with DirectShow, in running through Microsoft's basic Video Control tutorials.
These are my global declerations, which I have checked, and are sure they are right:
static const UUID CLSID_MSVIDCTL = {0xB0EDF162, 0x910A, 0x11D2, {0xB6, 0x32, 0x00, 0xC0, 0x4F, 0x79, 0x49...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.