hello,
when i statically add ATL to my visual studio 2008 project - the project is running fine on my station where i develop the project.
when i run the executable for ex. on windows xp the ATL-transformations are not working...
i made a ATL-project in visual studio and added gtkmm-code.
any suggestions?
thanks
...
I have created a simple application to test out migrating some C++ code to .Net.
Part of that test was to include all the libraries that were present in the old app.
When I tried to create an object from .Net it fell over with a missing .dll error.
Looking at the manifest for the dll I have created it is referencing MSVCRT80D.dll and...
Hello,
I'm working on playing audio from an audio stream using VC++ with the QtMultimedia library. Since I'm not too experienced with Qt's libraries I started by reading in a .wav file and writing it to a buffer:
ifstream wavFile;
char* file = "error_ex.wav";
wavFile.open( file, ios::binary );
After that, I used ifstream's .read() fu...
i am using microsoft visual c++ 2010 can i use boost library or does it requires different compiler?
...
Here is my situation and it's a bit complicated, but it has to be this way. I'm implementing a program from Java that open an application by using JNative. The application is written in C++. But when the application is finished I want it to callback to Java to let Java knows that the run is finished. Can I do that and how? I know I shoul...
Hi! I had compiled zlib on my comp to compile libxml (for collada dom).
But I don't know which directories are supposed to be /lib and /include at compiling libxml.
Sorry for my English and my noobinity :) Thx for the answers and the worthy time You have spent on answering me.
...
Hey everybody,
I'm building a program in C++ (target is windows XP) using Visual Studio 2008 and I'm trying to add application icons, the ones that show up in the taskbar, explorer, desktop, etc. My .ico file has the sizes 48x48, 32x32, 24x24, and 16x16 pix in color depths 32-bit, 24-bit, 256 colors, and 16 colors. For what it's worth, ...
This is Line 519 of WinNT.h (BUILD Version: 0091)
#define DECLARE_HANDLE(name) struct name##__{int unused;}; typedef struct name##__ *name
Why do we need a pointer to an struct with a single int member with a weird name called unused?
And will we ever need to use a line of code like this one?
HINSTANCE hInstance = new HINSTANCE__;
...
Why can't I compile/run this non-CLR program in VC++ 2008?
How to do it?
MyProgram.cpp
#include <iostream>
namespace System
{
public class Console
{
public:
static void WriteLine(char str[])
{
std::cout<<str;
}
};
}
int main()
{
System::Console::WriteLine("This a non-CLR p...
I come from a .NET background and will be going into the field of rendering / graphics using OpenGL/DirectX. For this purpose C++ will be my language of choice to interact with these rendering frameworks.
As I understand it Visual C++ allows native support for CLI which is an extension to C++ that allows the application to benefit from ...
I have hot this error at the linker:
LINK : fatal error LNK1104: cannot
open file 'libcollada14dom21.lib'
I dunno why, libcollada14dom21.lib is in VSDIR/VC/lib.
...
This is a rather a problem from a convoluted situation. I have a static pointer sitting in one of my header files. Which is being included everywhere, this is why I put it as a static pointer. So that I can quickly initilize it in my main function so that other files can use it.
The problem is this, even after I initialize it and put st...
im using vc++ forms. i created a textbox, im trying to get the value in it i used textBox1->Text. all im trying to do is this create a file name text.txt than write in side the file what is inside the textBox1. here the code
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
Help::ShowPopu...
Hello ,
I defined two dimensional dynamic array and allocate memory for arrays.Dimensions of arrays are same as each other(256*256):
double **I1,**I2;
int M=256;
int N=256;
int i,j;
I1= new double *[M+1];
for(i=1;i<=M;i++)
{I1[i]=new double [N+1];}
I2= new double *[M+1];
for(i=1;i<=M;i++)
{I2...
I'm starting a new project that'd involve using several SDK's including:
Intel Atom Developer SDK
text to speech SDK (Suggestions?)
webcam and augmented reality support of some sort (Suggestions?)
I currently have 2008, but I can also install 2010. Is there any reason to use 2010 for this project?
...
Are there SDK's for voice-form matching / comparison for Visual C++? Or, possibly converting sounds to phonetics.
Usage: Program will do different things from input from certain command words given in a made-up foreign language. (Klingon)
Analysis - comparison of user's voice with existing pre-recorded voice segment
Rather than using...
i have created a form using visual c++. all im trying to do is this when a button is clicked the form is gone and new window will be showen. i don't know if i should repaint the window or there is another solution? please help
Rami
...
I'm using process::start(PATH); to open up the process. The problem is, sometimes it finds the file and sometimes it doesn't.
For example, this works:
process::start("C:\text.exe");
But this doesn't work:
process::start("C:\New Folder\text.exe");
Any idea what the difference is?
...
i have created a win32 window it work fine but im tryin to get command argument using lpcmdline. it works fine but when i try to compare it to string it to does work here is the comparing code
TCHAR checking[]=_T("hello");
if(args==checking) // args equals lpcmdline like this LPTSTR args=lpcmdline
{
TCHAR greeting[]=_T("heys");
}
e...
A MDIParent Wnd has many MDIchild Wnds, and also few child dialogs.
Dialogs are created this way ---
CAutoDlg *pDlg = new CAutoDlg;
pDlg->Create(IDD_AUTOCARD,this);
I want to cascade only a specific type of dialogs, say dialogs of CAutoDlg type only.
If i give MDICascade() it cascades all the child windows and dialogs under the MD...