I have a fully trusted browser-based InfoPath 2007 form with C# code on the loading event to pull user information from Active Directory which I then populates some form fields. If I preview ...
In C++ code, I need to load a GDI::Bitmap (bmp frame) to byte*.
For this reason, i have checked through web but to no avail. The more clear to me way of doing so, is the code above. What I do...
Hi Experts,
I'm trying to find an example of an n-ary tree for void data types. I understand the basics but I am struggling with implementation, so an example of a simple n-ary tree would ...
How to build openCV face detection code without cv.lib, cxcore.lib and highgui.lib, but use those lib's source code? I need to compile the facedetection source in VS2005 then convert the C cod...
I have a C++ dll which via IPC is sending messages to a C# application. I'm sending a pointer to a data struct, but when I receive it on the C# application and cast it as the struct I'm not g...
I'm use Visual Studio 2oo5. I'm use "mfc Visual C++" . How can I convert data type "CString" to datatype "string" ?
OK, probably an easy question. I've got Visual Studio 6.0 installed, and some sample code provided to me, which SHOULD compile, since I haven't made any changes as yet. The code given to me ...
hi,
i want to select image file from file dialog and want to display it , how to do it
I am trying to build a static lib and getting the following warning :
__NULL_IMPORT_DESCRIPTOR already defined.
This is because I need to use the other dependency libs while building this st...
Hi,
How can I change the Pixel color of our window DC with out using the function SetPixel() function
in Vc++, I am searching for a method for getting the direct pointer address of o...
I'm working on a single document based application using VC++ 2008 / Windows XP. I have created a simple CDialog-derived class "CMyDialog" and overridden its OnInitDialog to initialize the co...
Hello experts.
I have a program, written in Managed C++, no MFC which gives this error message when I try to open it on target PC (no Visual Studio):
"This application has failed to start ...
I have several WinXP workstations running as clients to a QuickBooks Enterprise V8 Server also running WinXP. At random times and network loads, users attempting to log onto QuickBooks will r...
Good Evening,
Here is my problem:
Write a program that allows the user to enter the last names of five candidates in a local election and the number of votes received by each candidate. Th...
I am trying to install the Microsoft C++ Redistributable but I keep getting this error. Any reason why it is trying to read from this folder.
Thanks,
I need to compare 2 strings of different lengths. So I made use of strstr function in which I see whether the string I need is present or not. But using strstr doesnt help because it supports ...
Hi
I have a 2 dimensional array like
int type [20][4];
I want to initialize it as :
type[0][]={1,4,67,4};
typep[1][]={5,23,6,2};
type[2][]={3,7,3,2};
Is there a way to do it?
I don'...
Hi,
so here's my problem in short:
i use AfxGetMainWnd->EnableWindow(FALSE) from within a modeless dialog, which makes it actually look modal (and that is really appreciated and good working...
Hi,
I am new to C/C++ and not familiar with most of the complex coding. I am trying to create a dialog with tab controls in win32 (without MFC). I am able to create tabs inside the window bu...
I need to read a 50 byte binary string from a file.
A function is invoked which is only returning a maximum 42 bytes:
method () {
CString GetString(const CString &src = "");
.... }
What...
I have an application that has both c and c++ files. I have written some functions that I want to over ride some windows functions, namely Registry calls. For example i have a function called ...
Hi
I have a char* variable
char* test = "test1";
Now I want to use it in switch case but I am getting errors
switch(test)
{
case "test2":
.....
break;...
Hi,
I need to call EXE from MV C++ for example, Notepad.exe. C++ Program will be waiting for Notepad.exe finished (close) then continue. I am using:
ShellExecute(0,"OPEN","Notepad.exe",s...
I have a unmanaged C++ application that builds just fine in Visual Studio 2003. I migrated this application to VS 2008 and have set the /clr option to enable mixed mode (managed and unmanaged...
Hello,
I'm trying to get a project to work under VC++ that works fine under GCC on Linux. The project now compiles & links okay, but produces an application error "The application failed t...