Hello,
I tried to compile a MFC program and get the following errors:
c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\../src/mfc/AfxImpl.h(625) : error C2059: syntax error...
Hello,
i need some help with handling wstrings correctly.
--- PART 1 ---
How could i convert things to wstring ?
int a = 10;
wstring mystr = (L"foo");
mystr.append(ITOW(a));
Does som...
I have recently started messing with C++ DLLs in C# but it seems that I am restricted to the kind of usage I have. I am able to export functions in a DLL that have C++ linkage but C# cannot fi...
There should be no need to compile or test anything. Someone familiar with C++ arrays can nail this one down with a suggested code change. Thank you.
The following C++ wrapper code correctl...
hi
i built an application in visual c++2005 pro for communicating with many serial ports
whe i start my application , windows vista go for a shutdown saying crash dump ...
sometimes, it wor...
I am writing a project in VC++ 9 (VC++ 2008) and want to connect to Oracle Database(10g). I tried several methods but it is not working. Please give me a sample code for database connectivity ...
I wish to create a simple dialog-based application (using MFC) with a tooltip that can display different text according to where the mouse pointer is located, and also switch off this tooltip ...
Hi,
I'm trying to list all sub-folders and file names in a directory and I thought it was working till it was tested in Vista. I found out that in Vista if the folder name had a space in it...
I am currently outputting integer data to a file using FileWriter. I need to have the data be in hexadecimal format. The problem is I do not know how to do this with the FileWriter::WriteLin...
I have a VC 6 app, and I want to be able to parse an excel spreadsheet from my app. The data in the spreadsheet will always have the same format. The format is as follows: a double precision...
I have recently started using MS Visual C++ .NET for development.
My source files are contained in a complex folder structure with multiple level subfolders.
I have been looking for som...
I am programming a game on a SDI. The display consists of three rectangles, a small rectangle in a larger rectangle within a larger rectangle. These rectangles are connected by 4 lines, 2 vert...
I have an VC 6.0 app. In design time, I created a menu on the main dialog. The resource ID is IDR_MAINFRAME. Like many windows programs, this menu has three menus. From left to right, the ...
Who can explain me the following issue:
I have two DLLs. For the first (product) DLL I created a template ref class Foo (see code below). Foo has a member of ref class Bar which is located ...
I've created a header file which contains lines like this :
Value = 1*pow(10,13) + 3 * pow(10.0,4) , where Value is an unsigned long long.
The header file was working perfectly on Borlan...
I have been given the task of writing an interface to interop with 3 specific photo printers. They are having trouble getting information from them when print jobs fail for various reasons. Un...
Hi,
I have this .dll I've coded and added as a reference.
It appears in the "Object Browser", but not in the "Property Pages".
One thing is for sure, it's not working.
What am I mi...
I have a fairly large VS 2003 C++ project. I want to move it to VS 2008.
I eventually would like it to be complete ported to C#, but I am interested in suggestions on an incremental approac...
Hi,
My Requirement:
I'm developing Intranet Application for company internal use. in this one the module (ActiveX) says read and write files from all the terminals in the company.
Devel...
Hi,
Can anybody show me some code or point me to a code resource that shows how to load an html file on my local machine into firefox (and how to switch tabs in firefox if need be)?
Tha...
I've created a library in c++ 2008, which uses SetWindowsHookEx and CallWndProc.
I'm attempting to stop some messages from being processed, and can't seem to get it right.
I've trimmed t...
can I access the pixels of a frame grabbed via capGrabFrame() _without_ saving it as a bitmap to the hardrive? The reason for this is that I'm trying to make a color tracking program. I want t...
I'm working on a non-MFC VC++ project and this is the problem.
I have 2 screens, a menu screen and an options screen, both are pointers. They use a lot of bitmaps and a lot of memory and it's...
outlook express won't open just get a error window "run time error" c++ microsoft visual library
references msimn.exe
xp pro sp 3
hi
my application is written in visual c++ 2005 pro using mysql as a database ( and odbc driver) ..
does anyone have a link how to a crystal report for this application??
thanks
regard
...