Answer Questions
tgif_sf Application configuration is incorrect?
I have a very, very simple program that uses the Microsoft Platform SDK and SDL, basically just native executable (not .NET). It compiles and runs fine on my Windows XP Home Edition system that I'm using it develop it on. It also ran fine when I moved it over to a Windows 2000 Pro system that had no development tools of any kind installed. However, while it runs fine on every random Windows 2000 Pro system I've tried it on, it fails on the Windo ...Show All
Laurius Console Applications only work on computer with the IDE
I'm using a text book to learn C++ and am writing my first programs. They compile fine and work the way I want them to, from Visual Studio or Windows Explorer. However, if I move them to another computer (with a disk), they don't work. Something about the configuration of the application. I've tried CLR console apps and Win 32 console apps (with header). I move the entire project, not just the .exe I would really ...Show All
Raj Nair Redistribution of C runtime libraries without MSI installation
Hi guys, I'm trying to get an installer of our product working. I've finally gotten it compiling and running under VS2005. For various technical and political reasons, I have to use NSIS as our installation technique. This is where the problem begins. I can't quite see how to redistribute the relevant CRT libraries. I've been round and round in circles following the MSDN information, and various blog postings (e.g. http:/ ...Show All
zoe305 Infinately long compiling/linking/building.
I just started using C++ 6.0 a couple of days ago, I had the hang of it in the computer lab at school, but when I was working on my program back home I encountered some trouble. I know for a fact that my program works (as it was an example in our book, and I've done it before). When I click "compile" my output window either says "Linking...", "Building..." or "Compiling..." for hours and never actually goes through so I can run the program. ...Show All
SirPoonga 'DWORD_PTR' : undeclared identifier
Ok, I have seen several others here post questions concerning the problem of getting: error C2065: 'DWORD_PTR' : undeclared identifier ; however, I have not seen any solutions I can use. Has anyone figured out what is going on I have tried the same suggestions that others have made to no avail, including adding <windows.h>, etc. I just installed VStudio 2005 Standard on a machine that I just did a new install of W2K w/SP4, so the ...Show All
Priyaranjan Converting existing VCL-based code to VS C++
Has anyone ever converted a Borland C++ project that includes any use of the Borland Visual Component Library (Delphi components written in either Pascal or C++) into a new Visual Studio project I would be interested if there are any tools around for this because I have a long-standing code base written using Borland C++ Builder (versions 1 - 6) and am interested in seeing if it would be possible to leverage this code, some of which is quite so ...Show All
Timothy Chan How to handle CString in COM Interop
Hi, I have a C# dll which has functions: public string a() { string aa; . . return aa; } public void b() { } and a wrapper header created by system when I added MFC type library of C# dll into unmanaged c++ has: CString a() { CString result; InvokeHelper(0x60020005, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL); return result; } Now I am trying to get return value of a() and convert to char *, but follo ...Show All
RicherTextBox How to decide the errors
hoh to decide the error C2039 I'm sorry but you're still not very clear: what exactly are you attempting to do What exactly is your input Note: Double::Parse cannot handle a string of the form "1 + 1.1" it can only handle valid floating-point constants. ... Sorry but i have dificult to pass the exemple to a project type CLR Windows Form. Do you mean how to open a new instance of an existing form or how to create a new form ...Show All
Kinetic Media Fatal error c1083: cannont open included file 'eikenv.h'
Hello, I develope a symbian c++ program for a nokia 9300. I use VS .NET 2003 and when I compile my project i get: Fatal error c1083: Cannot open included file 'eikenv.h': No such file or directory Fatal error C1083: Cannot open include file: 'txtrich.h': No such file or directory Fatal error C1083: Cannot open include file: 'NokiaApplication.h': No such file or directory All this error comes from the first code line of each file. I have inc ...Show All
GC reading binary data using fseek and fread
I'm trying to get computer model in C originally written for Unix to run under VC++. It to reads a binary input file with climate data (precipitation) for every time step (year). For every year 12 items are read (1 for each month). The first two years are read correctly, but for the third year only 7 items are read. After that, for some years the data is read correctly, for others not. When read with MatLab for example all years are read correct ...Show All
bodyman COM problem
in my application (using Visual C++)i have multiple instance of Microsoft Word document and i need to close one perticular instance of Word which has no characters in it(i.e. close empty word document out of many instances). it should be a function and return value should be 1 if there is such document of Word which is empty and 0 if there is no such document on can any one help me out with this problem -anku This is a ...Show All
gimmick Cannot add class
I just downloaded the new Visual C++ Express Edition Beta 2 and created a new project, but I can't add any classes. It just says "Code model not available, cannot add class." Any one know what's going on and how to fix it When can we expect to see the final release This is a bug with VC++ Express Beta2. We fixed it in our current bits and you should see the bug fixed in the final release. Thanks, Tarek ...Show All
Pramey Active X not working from webpage without Studio installed
Hi all, This is my first Active X component, so I may have made some basic mistakes. But here is what I have done so far... 0. I am using Studio 2005. 1. Created a real basic (AboutBox) MFC Active X Contron using VC++. 2. Created a CAB file project. a. Included the OCX and and INF file to the cab. 3. Created a license file using LPK_tool.exe. 3. Created an HTML page that will access the Active X. And display the AboutBox when the button is pre ...Show All
Jonty303 Encryption question
I found the code below for a simple encryption algorithem. I understand most of it but there are a few spots that I dont understand. I went ahead and highlighted them in bold. Im new to programming so its still a little hard to follow what they are trying to do here on those bold lines. I understand the main point of the program is to take the sentence that the user enters and take each character forward a set number of spaces, I just dont unde ...Show All
aburri Trouble making simple program.
Hi I am trying to create a simple hello world program and its not working. here is what i do i create a empty project and name it "hello" then I right click on the progect icon and go to ADD > Class > C++ > C++ Class the window pops up and I enter the class name "HelloWorld" while I am doing this the ".h file:" and ".cpp file:" auto file with the same name and their own extentions. Thats all i do and then I click "Finish" I right click ...Show All
