| Porting Code from VC++ 6.0 to VC++.NET (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc.libraries |
| I took a code that was written in VC 6.0 using MFC and compiled in VC .NET. It compiled fine but when I execute the application I get an Debug Assertion Failed Message. The Code works fine in VC 6.0 Can someone please tell me what is wrong? Debug Assertion Failed! File: afxwin1.inl Line: 22 Shreyash |
|
| Same code build twice => diff binary (16 replies, VIP) |
| microsoft.public.dotnet.languages.vc.libraries |
| Hi all, I am using Win2k, VS. NET 7.1 (MS development Environment 2003 7.1.3088) and I noticed that by building the exact same code twice the generated binaries are different (not much, but they are). To be sure I tried a simple application like void main(){} and 2 times rebuilding the project gets 2 different binaries. Has anybody any clue why this happens? Could I somehow change a setting or som... |
|
| Visual C++ runtime error - when printing (2 replies) |
| microsoft.public.dotnet.languages.vc.libraries |
| Hi Am not really that up on computers so not sure if I have posted this to the right newsgroup! I am running Windows XP and find that, sometimes, when I go to print (whether in word, excel, the internet) a box comes up saying "Microsoft Visual C Runtime Library. Runtime Error! Program: C:\Program Files\Microsoft Office\Office10\WINWORD [or whatever application].EXE. Abnormal Program termination" C... |
|
| Problem with resources of Dll (9 replies) |
| microsoft.public.dotnet.languages.vc.libraries |
| I have a SDI program which contain one dll. There are some resources in my program like string table, toolbar,icon etc. I insert one extra resource DialogBox(IDD DIALOG1) and one menubar(IDR MENU1). I load and set IDR MENU1 in CMainFrame::OnCreate() and display IDD DIALOG1 in any event in my program. I add a dll to project.I copy all these resources in my dll. Then i load this dll and set resource... |
|
| VS 2005 May Preview: MSVCRT.lib(cpu_disp.obj) : error LNK2005: __set_SSE2_enable already defined in MSVCRT.lib(MSVCR80.dll) (4 replies, VIP) |
| microsoft.public.dotnet.languages.vc.libraries |
| I'm trying to get stuff to compile with the May VS 2005 Tech Preview and I get the following error when trying to link a .DLL: MSVCRT.lib(cpu disp.obj) : error LNK2005: set SSE2 enable already defined in MSVCRT.lib(MSVCR80.dll) c:\out\MozartVC80Native\Bentley\Program\MicroStation\toolsubs.dll : fatal error LNK1169: one or more multiply defined symbols found I don't understand this error. The alleg... |
|
| bug? namespace not needed (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc.libraries |
| Hi, encountered a bug (?) using *template* and *namespace* in MS VC .Net 2003 (7.1.3088). After long searches, I could reduce it to the following code: namespace MyNS { struct A { int m; }; template typename T T plus (const T& lhs, const T& rhs) { T ret(lhs); ret.m rhs.m; return ret; } /// rhs } // // M A I N // void main() { MyNS::A a, b; plus(a, b); //why not 'MyNS::' needed ??? } Manne Posted b... |
|
| saving a webpage in vc++ (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc.libraries |
| Hi everybody, The following snippet is part of a software. This software runs on a webpage and the following snippet saves that webpage. The problem is that untill i close down the website on which the software is working the process of saving file is not getting completed. I want the software to be running on that website so the website to be open while the page is saved. Please help. CComQIPtr I... |
|