Answer Questions
Dens changing the name of a file
I had a file named Node.h in my project. I renamed it to List.h and built the project again but dont see the name of the file being changed in the dsp file and I guess because of this I also dont see the new name in the editor. Thanks, KarthikR Looks like it should work automatically. Could you please log a bug at http://lab.msdn.microsoft.com/productfeedback/default.aspx so that the owners could take a look. ...Show All
Adam Lonnberg stl queue - why don't you work
I'm wondering why I get this message when I try to use a stl queue in a managed class. I'm using .net 1.1, so i can't use the new 2.0 typed queue. error: error LNK4006: "class std::queue<short,class std::deque<short,class std::allocator<short> > > * (* ALDaps::que)[64]" ( que@ALDaps@@3PAY0EA@PAV $queue@FV $deque@FV $allocator@F@std@@@std@@@std@@A) already defined in main.obj; second definition ignored So, I added ...Show All
Mhorn821 msoftconf
Hi, I am a relatively new c++ user. I have created a project in Visual C++ Express Ed. and in one of my c++ files, I have #include "msoftcon.h" However, the compiler cannot find the file. I searched my computer for a file with that name but nothing there. Could anyone please tell me how I can get my app to work TIA I need to use some graphic functions, such as init_graphics(), set_color(), set_fill_style(), et ...Show All
Oleg Tkachenko Suggestion for the next standard...
<RITZ@discussions.microsoft.com> wrote in message news:0ab7fdae-8303-4a4e-95f9-5aee37fb96a6@discussions.microsoft.com > Hi, I have a small suggestion that I think is neccissary for the next > C++ standard release. The standard does not denote that structs need > to be contiguous, I think that it should for a few reasons. I.E. > Transfering whole structs accross a network and writting whole > ...Show All
Aynemail how to use graphics in a c++ compiler
how to use graphics in a c++ compiler for dev 4.9.2.2 and vc++2005 compiler you want display bitmap from resource or open external file Kuphryn BitBlt() Kuphryn i got my computer graphics exams n i wanna run progs wid circle n al ...Show All
helpdeskguy06 16 Bit app and only standard library during compile
I am running into a problem getting a console app I build with VS Studio 2005 to work in Windows 95. It works fine in all other version but when I run it on Windows 95 i receive the error: linked to missing export KERNEL32.DLL:IsDebuggerPresent Now when I compile this same program in VC 6.0 ...it works fine. So I am not sure what it could be Is it because .Net headers are being added Is there a way to make a project in Visual Studio 200 ...Show All
clay.routh Changed the COM signatures....using ildasm.....
Hi, I have a .exe COM which I used in .NET but some signatures got changed....so I opened it with ildasm and changed the signatures so that it should return something from the function....This is the error I'm getting now.... The runtime has encountered a fatal error. The address of the error was at 0x79e8aff6, on thread 0xb4. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of us ...Show All
Keros Problem compiling a program
How do I compile my code When I open a file, it won't let me debug or run the file. And if I manage to get that, as soon as it runs, it just says: Press any key to continue... then it quits. In order to compile/debug your code you need to create a project. Look under File.New.Project and pick a project appropriate to your needs. What is your program doing If it is not doing very much then thi ...Show All
txnet #pragma unmanaged and _MANAGED macro
We would like to use _MANAGED to determine if the code is compiled as native or managed code. Unfortunately, _MANAGED is always defined when /clr switch is used. #pragma unmanaged does not undef the macro. Is there any way to tell for sure that the code is being compiled as native or managed Thanks, Sean Well, I guess some sample code will help. Suppose you want to share an enum in native and manged code. ...Show All
Kmaure How to call a Dialog Box?
Hi! I'm new to VS and I need some help! I've made a main form and another (i'll use it as a dialog box). I have a Main Menu on the main form and I want to call dialog box (form 2) when I press menu item. I know where tu insert the call code but I dont know what code to use. Help!!! Another question: As for the cpp files included in the project....which one is the main one (is it the one with WinMain function ) Does this mean that I can't have ...Show All
savadi calling managed dll from native dll and keeping a static ref
What issues should I be aware of when doing the following: End scenario: Native dll needs to hold a static reference to a managed class (written in c#) throughout the lifetime of the native dll. I have written a slight wrapper in managed c++ (technically c++/cli) in whidbey. This all seems to work fine and dandy, but there always seems to be a "gotcha" in the managed c++ world. When I compile I get this warning: Warning 1 warning C42 ...Show All
jaswinder_rana STL for Managed C++
Is anyone interested in porting stl for Managed C++. I know that Dinkumware is coming up with STL.NET but its meant for specifically VS.NET2005. But my application is already written in VC++ 7.0 and I am not ready to port it "again" to VS.NET 2005. After lot of struggle I realized that a STL is easy to use with the managed c++. What is needed is an unmanaged wrapper for your managed class which will hold the ...Show All
00dave Can't figure out how to make a Win32 App. project in Visual C++ Express Eddition Beta
Hi. I just downloaded Visual C++ Express Eddition Beta last night and can't figure out how to make a Win32 Application Project (it doesn't appear to be in the Visual Studio Installed Templates). I have a few questions: 1. How do I make a Win32 Application Project 2. How do I add a File to a project 3. What folder should I save all my projects, files, etc. in 4. Are these questions in the right forum Thanks for the help. ...Show All
jasonva Newbie question about const
Hi, I am newbie in VC++ and come across something that I dont quite understand but it should be pretty simple. During function prototyping what difference does the keyword const make for example DWORD GetPlatformID() const; versus DWORD GetPlatformID(); Thanks a bunch See http://msdn.microsoft.com/library/default.asp url=/library/en-us/vccelng/htm/tions_25.asp It tells the compiler that the GetPlatformID() method won't chan ...Show All
JordanS gcroot usage.
Hi All, Being fairly new to developing with Windows VC++ this may be a silly question but... I want to build a linked list of structures containing a String so I define.. struct file_s { gcroot<System::String^> *fname; file_s() : fname( new gcroot<System::String ^>) {} ~file_s() { delete fname;} struct file_s *next; }; Then in a function to add another file to the list I have... struct file_s *hand ...Show All
