Answer Questions
Ifgash HOW TO: Jump to GNU GCC generated warnings and errors using 'F4'?
Hi, I'm using visual studio 2005 express, just as an IDE for the development of Gameboy Advance game projects. I'm compiling c code, using the GNU toolchain and getting output such as: source/map.c:50: error: conflicting types for 'MAP_put_tile' source/map.c:35: error: previous implicit declaration of 'MAP_put_tile' was here source/map.c: In function `MAP_ingame_scroll': source/map.c:87: warning: assignment makes pointer from i ...Show All
BizTalk User C++ DLL compile but wont register. Wrong MFC-version?
I'm migrating a VS6.0 solution to VS2005. The solition contains a project that is a C++ dll using MFC. When i compile it I get error PRJ0050: Failed to register output. (from the custom build step - performing registration) I tried to register the dll from a command prompt using regsvr32, but it fails with no error message at all (no dialog box). Other DLLs within the solution works fine so whats the difference Oh, the problem child uses MFC.... ...Show All
Naseem Problem with decimal representation on German OS !!
Hi, I am facing a problem which I think is very generic and I can find a prompt answer from my fellow programmers around. I am doing some calculation like: int original_scale_factor = 1; float temp = original_scale_factor / 1000.0; which if I output in a file using: fprintf(out_file, "Matrix Value [%9.7f] ", temp); dumps string like : Matrix Value [0.001] The problem arises in German OS where the same value is dumped like: Matrix ...Show All
Avi G. char array
I am trying to create a 3-dimensional array that stores records in 38 rows, with 3 columns. This array has a mixture of letters and numbers, so I declared a char array, the problem is, the rows with more then one character get truncated (00, 10, 11 become 0, 0, 1). Is there a way I can declare this array properly in order for it to allow me to have 2 characters in certain sections Below is a sample of the array. char array[38][3] = {{'0', 'G', ...Show All
Tony Robyn show a txt file from ftp in a textbox(edit)
I have this code in c# . but I want it in c++ . what is the codes codes in c#: public static string ReadHttpText( String mURL) { WebClient oWeb = new WebClient (); string s = "" ; s = oWeb.DownloadString(mURL); return (s); } Application .DoEvents(); try { textBox1.Text = ReadHttpText( "ftp://username:psword@www.domain.com/filename.txt" ); } catch ( Exception ...Show All
hriverag93 Linking Errors
I know I have posted a couple of messages on here about debugging and errors, but I really am struggling at the moment with the compiling of my console application. Each of the individual subroutines compile with no errors but now when I try to compile the entire application I have the following errors: Linking... LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs; use /NODEFAULTLIB:library display.obj : e ...Show All
walt Failed to Create WebBrowser Control Using CAxWindow
I want to make a wrapper for WebBrowser Control in a .lib, but I failed to Create it. I saw examples like CAxWindow WinContainer; WinContainer.Create(m_hParentWnd, &rc, TEXT ("Microsoft.IExplorer.4"), WS_CHILD | WS_VISIBLE); However, it does not work. The Create method returns NULL, indicating a failure. I checked the error code, it is 0! I guess Microsoft.IExplorer.4 is not the ProgID of the WebBrowser Cont ...Show All
MikeDelaney error LNK2001: unresolved external symbol ___CxxFrameHandler3
Hi, I am working on a project to migrate a program from 32-bit to 64-bit. The program works fine on 32-bit machine under VC 7, but when I tried to compile it in VC 8 on a 64-bit machine, I received the following linking error: error LNK2001: unresolved external symbol __CxxFrameHandler3 What is the possible cause for this error and how to fix it (i have already tried the suggestions posted  ...Show All
DineshSharma link library compiled with Watcom
Hello everybody. Does anybody know if i can link library (or *.obj) compiled in Watcom or another compiler to Visual C++ project. Regards i_van AFAIK this is not possible. The way of the name mangeling (how function signatures are interpreted) is different from compiler to compiler. Also the way exception handling is done is different. The CRT usage is different. No there is no way to do that. Recompi ...Show All
Marmot74 VC++ 2005: Release Version crashes
Hello together, i migrated a bigger project (400000 lines) to VC8. The debug version works fine the release version crashes. I switched all available project settings for the release version to the settings of the debug version. Still the program crashes before it enters InitInstance. Debugger says it crashes in WinMain calling OpenDocumentFile with FileName pointer NULL. I use the static library. Any ideas Christoph ...Show All
Deltoid Class designer
Hey, Do you know of the class designer for c++ is included in the final version of Visual C++ 2005 Or will it come with an update, or with a next version of VS AFAIK the class designer ist not and will not be part of 2005! I am not sure but we can expect it in Orcas. Martin Richter wrote: AFAIK the class designer ist not and will not be part of 2005! I am not sure but we can expect it in O ...Show All
KeithL [MSFT] Bufferoverflowu.lib for amd64 is missing in whidbey beta 2
Lets say you compile some code with the latest PSDK for AMD64 cpu. Then you compile your files into a library and expect users to use that library. However because of the security code there is a dependency for using bufferoverflowu.lib on the PSDK since it uses old CRT code. If you use #pragma comment(lib, "bufferoverflowu.lib") then the file must exist to be able to succesfully link. This is a problem if you compile your code with the PSDK an ...Show All
FS2 Displaying float in a dialog box
It's my first question on this forum. I am curently programming a Win API program. You enter decimal values and it gives mathematical values (quadratic and trigonometric programs). So because of that, I need to be able to get the "float value" the user entered, process it, and then, redisplay the answer (which is normally not an integrer). I tried to use different methods like SendDlgItemInt or SendDlgItemText, but all of them wi ...Show All
Phalanx Converting Project to Use msvcprt.lib instead of msvcirt.lib
I am attempting to convert a project to use msvcprt.lib rather than msvcirt.lib. When I run nmake on the .mak file I am getting an error 'unable to open msvcirt.lib'. I have removed all references to msvcirt.lib in the .mak file. The error is actually occuring at the linking stage, so it looks like the reference is inside an embedded library. As far as I know I have successfully rebuilt all libraries used by the ap ...Show All
MgManoj aboute <iostream>, VC 2005 doesn't see thet header file
I have Installed VC 2005, and when I write some little Programm, the compilator doesn's see the header file (iostream), It have just one header file "stdafx.h" in the project's folder, whot can I do, Pleas explane me... ( maxo72@mail.ru ) Standard projects in VC++ use precompiled headers. This allows a speedup in compilation for large projects. The trick is that everything up to specific header file (usualy std ...Show All
