Contents

Posts in microsoft.public.dotnet.languages.vc

 

Memory Leak Detection in Visual C++ 2005/2008 CLR ...  Replies (1) 8 January 2008
Is there a way to detect memory leaks in Visual C++ 2005/2008 CLR applications? Using #define _CRTDBG_MAP_ALLOC #include #include etc. as recommended in http://msdn2.micr...

 

Mixing C++/CLI and managed extensions for C++  Replies (2) 8 January 2008
Our company has a mix of users with VS2003 & VS2005. I'm am having difficulty working out how components written with these 2 tools can be written together. I want to be able to a) incorporate a C++...

 

dumpbin and pdb file  Replies (1) 8 January 2008
I am getting the following messages while using dumpbin: Dump of file kernel32.dll File Type: DLL PDB file 'D:\8j7\sym\kernel32.pdb' checked. (23) PDB file 'D:\8j7\sym\kernel32.pdb' check...

 

open .vcproj project with free IDE  Replies (1) 8 January 2008
Hello, is it possible to open a .vcproj project file with a free edition like the Express product family? If yes, which version should I use? My need is to modify some .rc files and recompile the...

 

Modeless dialog box  Replies (1) 8 January 2008
Hi I am creating a modeless dialogbox. The problem is in keeping track of it. How can I keep track of it in CDocument class (CBioSpecDoc) so that I don't create multiple instance of it when it ...

 

how to search tfs by name of file or contents in f ...  Replies (1) 8 January 2008
how to search tfs by name of file or contents in file?...

 

absolute address  Replies (1) 7 January 2008
David Lowndes wrote: > *>How do you print a document using win32 api? > > What sort of document? > > The general solution is to use the ShellExecute(Ex) API with the > "print" verb to invoke t...

 

VC++ in windows2000 platform  Replies (1) 7 January 2008
I am using VC++ 2005 professional edition to develop the program to access the usb port. I have downloaded the WDK 6001, but it can't be installed in the windows2000 platform. I have try to use li...

 

Macro to compile a file set (cpp/h)  Replies (1) 7 January 2008
Hi Is it possible to write a macro that compiles a file set (cpp/h). I can find it on the menu if I right click on a cpp file but it would be nice to just have a macro that I could call using a...

 

Tab Controls  Replies (1) 6 January 2008
I want a number of components to provide their own property pages. I am doing this by creating a form with a tabbed control in each and then copying the tabs into a single form, e.g. by DialogB ...

 

2nd request for assistance - Windows ME - No Contr ...  Replies (1) 6 January 2008
Anymore suggestions on finding my Control Panel? Also, Outlook Express isn't working. (Please refer to my e-mails dated 1-2, 1-3, 1-4, and today.). Thanks. -- GardenGranny...

 

What is the difference between WM_ACTIVATEAPP and ...  Replies (1) 6 January 2008
Want to be sure I understand the difference between WM_ACTIVATEAPP and WM_ACTIVATE. Is it true that: WM_ACTIVATEAPP is sent/received only if the other window is in a different app? a...

 

Seens there are "standard Microsoft Windows contro ...  Replies (1) 6 January 2008
Reading about WM_NOTIFY Message : The standard Microsoft Windows controls (edit controls, combo boxes, list boxes, buttons, scroll bars, and static controls) do not send WM_NOTIFY messages. To de...

 

absolute address  Replies (1) 6 January 2008
Never Mind; How do you print a document using win32 api? cuz i was using 10 dos compilers I had to open a file for writing, do some writing to the file, close it, and then use system("print file"...

 

Show the printers control panel applet  Replies (1) 5 January 2008
How can I show the printers control panel applet from code in dotnet? At present I am just using a System::Diagnostics::Process::Start call to launch control.exe with the parameter printers. It...

 

Filter Driver  Replies (2) 5 January 2008
Hi, I've downloaded den Microsoft DDK 3790.1830 and there is an example under 3790.1830\src\storage\filters\diskperf I've compiled this one and would like to know where I could find the informat...

 

absolute address  Replies (1) 5 January 2008
Steve in Albury wrote: > *Are you trying to access memory in bios to get the font, or are you > trying > to store variable at a particular memory location? > > Steve * const BiosDate = $F...

 

accept() always returns 204.204.204.204  Replies (2) 4 January 2008
Hi, I wrote an app that accepts a client connection. [snip] SOCKADDR_IN sockAddrIn; unsigned int clientLen = sizeof( sockAddrIn ); SOCKET conn = accept( m_Socket, (struct sockaddr *)&sockA...

 

(.NET) MD5CryptoServiceProvider and (Win32 CSP) Cr ...  Replies (1) 4 January 2008
Hi, this is not a pure MFC/VC++ question but my apologizes at first. Well, i have a application that calculates the hash for a file. You can request a CALG_SHA1 or a CALG_MD5 for the File. The P...

 

Console::Writeline()  Replies (2) 4 January 2008
Hi I've got an MFC application in VS2005(VC++). It's a mixed-mode application. Whenever I use Console::Writeline() It never displays any thing (I don't get any output). Here is some code ex...

 

MSDN Examples  Replies (1) 3 January 2008
Hi Whenever I download MSDN examples and then try to build them It says 'Build skipped' and never builds them. Hence I can not run them. What am I doing wrong??? Cheers. Manj....

 

How can I find a DataRow in a DataSet by it's Prim ...  Replies (1) 3 January 2008
How can I find a DataRow in a DataSet by it's PrimaryKey value? This would be similar to an SQL statement such as "SELECT * FROM MyTable WHERE MyIndex = 2"... In the following code I've tried to ...

 

absolute address  Replies (3) 3 January 2008
in delphi you can use Ptr to an absolute address, can i do this in vc++. in dos, i can use a dos font. i assume that if i save the dos font to disk, then edit it, i have a new font. any copyright is...

 

ListView with groups - problems selecting multiple ...  Replies (1) 2 January 2008
I have a ListView within a dialog. In code the groups are created and items added. Display is 100% correct. The problem is with using Shift to select multiple items in the list. - If you selec...

 

CDialog as a mamber of managed class  Replies (1) 2 January 2008
Hi How can I declare a CDialog object as a member of a managed class? As the following is not working: RbfPropDlg* rbfDlg; Where RbfPropDlg is the CDialog class. Cheers. Manj....

 

GetProcaddress returns null but GetLastError indic ...  Replies (1) 2 January 2008
Hi all, I have this classic code : load a dll, and get a pointer on a specific function in that DLL. The GetProcAddress() returns NULL, but the GetLastWin32Error() function says : operation su...

 

M,I-5,Persecu tion t he BBC, televisio n and r ...  Replies (1) 1 January 2008
-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-= -= the BBC, television and radio. -= -=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-= The first. incident in June 1990 was when a BBC newsreader made what seemed to be a r...

 

M'I-5,Pe rsecution b ugging and counter-surveil ...  Replies (1) 1 January 2008
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -= MI5: bugging. and counter-surveillance -= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- PO: >Did you. ever look for the bugs in your house ? If not, w...

 

M'I.5,Pers ecution , Cap ital Radio - Ch ris T ar ...  Replies (1) 1 January 2008
-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-= -= Capital Radio - Chris. Tarrant -= -=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-= Capital Radio. DJs have been "in on it" from the start. One of the first things I hea...

 

M,I`5'Persecut ion , ho w an d w hy d id it s tart ...  Replies (1) 1 January 2008
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -= how and why did. it start? -= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The harassment didn't start by itself, so someone must. have been there at the. outset to give it...

 

M`I,5-Pers ecution . wh o kno ws about it?  Replies (1) 1 January 2008
-=-=-=-=-=-=-=-=-=-=-=-=- -=. who knows about it? =- -=-=-=-=-=-=-=-=-=-=-=-=- Many people know, both in the establishment and media, and among. the general public. Despite an absence of its tar...

 

M`I'5.Per secution ` purpose in p ublicizing it ; ...  Replies (1) 1 January 2008
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -= purpose in publicizing it; censorship in uk.* newsgroups. -= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= The p...

 

M-I'5`Persecu tion . my response to t he harassme ...  Replies (1) 1 January 2008
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -= my response to the. harassment -= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- My first reaction in 1990/91 was. to assume that if I broke contact then they would n...

 

M,I-5,P ersecution ' M I5 are Afr aid to Admi t T ...  Replies (1) 31 December 2007
MI5 are Afraid to Admit They're Behind. the Persecution MI5 have issued a formal denial of any involvement in. my life to the Security. Service Tribunal, as you might expect them to; but, more im...

 

windows XP Home cd boot????  Replies (2) 29 December 2007
tried to turn on my laptop, haven't used in awhile and I now have a blank screen...It's like my windows XP Home is gone...can get into BIOS and set to boot from cd rom...but it says boot from CD p...

 

Using static link library in managed C# code  Replies (1) 27 December 2007
Hi, I have to use a statically linked library .lib(unmanaged) in managed C# code. I have googled and mostly got how to use dll in C# code; but I don't have a dll. So, can I do it? If yes, wha...

 

application failed to initialize properly (0xc0000 ...  Replies (1) 26 December 2007
When I try to start programs like win media player Error pops up and says the application failed to initialize properly (0xc0000034). Click on OK to terminate the application. The same thing hap...

 

Documentation comments  Replies (1) 23 December 2007
Are there any good style sheets for xml docs created from C++/CLI documentation comments? I found one at http://dotnet.jku.at/DocView/ from Anders Hejlsberg. However, this one is not perfec...

 

Disappointment in VC++ .Net in VS2008  Replies (22) 22 December 2007
Why bother having Stan Lippman and Herb Sutter created a C++/CLI language for .Net development when Microsoft, and the VC++ development team, are so clearly intent on limiting .Net development wit...

 

Visual Studio 2005 - external build, error parsing  Replies (2) 21 December 2007
I use Visual Studio 2005 for a C-project using an external compiler, and came up with the idea that error parsing would be neat, i.e. enabling the functionality available for a "normal" build whe...

 

Where does the name "StdAfx" come from?  Replies (2) 21 December 2007
Ok, I've wondered about this for a long time: Where does the name "StdAfx" come from? TIA - Bob...

 

calll one winform from another c++/CLR  Replies (2) 21 December 2007
hi all, i have made winform applicaion in vs 2005 c++/CLR, i have added another form into it, new win form.both forms have same project and namespace. i want to call second form from first first ...

 

custom Matrix class to VC++ standard doubles Matri ...  Replies (5) 20 December 2007
Hi, I developed a custom Matrix class derived from custom VC++ doubles Array class derived from a RealArray which is defined as: typedef CArray RealArray; Now I need to convert this custom ...

 

Error when connecting outlook express  Replies (1) 20 December 2007
An unknown error has occurred. Account: 'Hotmail', Server: 'http://services.msn.com/svcs/hotmail/httpmail.asp', Protocol: HTTPMail, Port: 0, Secure(SSL): No, Socket Error: 12019, Error Number: 0x8...

 

public interface class causes error  Replies (10) 20 December 2007
I'm trying to put together the plugin framework example from MSDN. I made a new class library in VS 2003, and created this header file: #pragma once #include #using using namespace Syst...

 

String conversion  Replies (3) 20 December 2007
Hi I'm maintaining a VisualC++ project to increase its security regarding stored passwords. I thought about using SHA256Managed to create a hash for the password when creating a user and when ...

 

Problem with double matrix in vc++ Express edition  Replies (3) 20 December 2007
Hi, I've got a problem with this code. I've got a double Matrix A and a vector b, initialized with DoubleMatr A = new double*[3]; DoubleVect b = new double[3]; where DoubleMatr and DoubleV...

 

problem in debugging with Microsoft VC++ .net Ver ...  Replies (5) 19 December 2007
Hi, I am struggling with an issue related to debugging code in VC++ .net Ver 7.0, for last 2-3 days without any notion for what is happening. Actually I have made some changes to my source code a...

 

Rich Edit problems  Replies (1) 19 December 2007
Hi everyone, I am writing a spell-checker. I have now been able to make inaccurate words, underlined and colored using the EN_SETCHARFORMAT message. What I have to do is to be able to roll this a...

 

Why no 'Visual Assembler"?  Replies (11) 19 December 2007
There are times it would be good to be able to write assembly code to integrate with other VS languages, such as VS C++ .NET. For example, I might want to write a REALLY fast algorithm that does C...