visual-c++-6 Questions

2

i have successfully compile and build c/c++ project on visual c++ 6.0 to dll .But when i convert to visual c++ 2010 on windwos 7 64bit os it appear many error .source code is typedef struct { in...
Sandell asked 9/5, 2012 at 6:49

4

I am new to win32 programming and also to driver programming. I have installed Windows DDK on my system and have got some examples with the DDK but those examples don't have dsw file. I wanted to ...
Sthenic asked 16/6, 2009 at 4:2

5

Solved

IFSUPCUTILSize* size = NULL; CoCreateInstance(CLSID_UTILSize, NULL, CLSCTX_INPROC_SERVER, IID_IFSUPCUTILSize, reinterpret_cast<void**>(&size)); if (size != NULL){ size->Release(); si...
Quintile asked 25/8, 2011 at 19:56

3

Solved

This program is written in VC++ 6.0 on a WindowsXP machine. If I try to set an __int64 variable to -2500000000 directly, it is truncated to a 32bit value and the two's complement is taken. __int...
Urbanism asked 18/2, 2011 at 20:53

2

I looked and searched the web but could not found one book dedicated to Testing in C++. They are all more or less Java related with p.s. like examples should be easy converted to C++... I wou...
Subsumption asked 25/12, 2010 at 13:9

5

Solved

If I had the following code: for(int myvar = 0; myvar < 10; myvar++); if(1) { int var2 = 16; } Then, afterwards I wrote the following: myvar = 0; var2 = 0; Would that be legal? My VC++6 c...
Bendix asked 2/11, 2010 at 6:5

14

Solved

I have a client who is still using Visual Studio 6 for building production systems. They write multi-threaded systems that use STL and run on mutli-processor machines. Occasionally when they chan...
Clouet asked 10/10, 2008 at 13:23

6

Solved

I'm wanting to get the full value of a char[] variable in the VC6 watch window, but it only shows a truncated version. I can copy the value from a debug memory window, but that contains mixed lines...
Okeefe asked 19/9, 2008 at 17:44

2

Solved

I want to convert CString to string. (Yup. I know what am I doing. I know the returned string will be incorrect, if CString value range is outside ANSI, but That's Is OK!) The following code will ...
Haith asked 2/6, 2010 at 1:13

3

I have one strange problem. I have following piece of code: template<clss index, class policy> inline int CBase<index,policy>::func(const A& test_in, int* srcPtr ,int* dstPtr) { i...
Disaccord asked 29/4, 2010 at 6:41

8

Solved

I'm just getting started with c++ development and I would like to use emacs to write the code and then compile and run it from within emacs using the visual studio 6 compiler. I have already google...
Seeto asked 4/6, 2009 at 20:3

1

Solved

I am trying to add a VC6 COM DLL to our VS2010RC C# solution. The DLL was compiled with the VC6 tools to create an x86 version and was compiled with the VC7 Cross-platform tools to generate a VC7 D...
Diastole asked 15/3, 2010 at 21:9

5

I have a simple function with an inner loop - it scales the input value, looks up an output value in a lookup table, and copies it to the destination. (ftol_ambient is a trick I copied from the web...
Delwin asked 27/3, 2009 at 2:38

4

Solved

HI , Can some one help me in understanding why the value of SQUARE(x) is 49 ? I am using Visual C++ 6.0 . #define SQUARE(X) X * X int main(int argc, char* argv[]) { int y = 5; printf("%d\n",...
Caracole asked 29/8, 2009 at 10:15

3

Solved

I have a sample project (not mine) which is in Visual C++ 6. I'm trying to convert it to Visual Studio 2008. The older project is using precompiled headers. Now the questions are: What are precomp...

5

Solved

Can anyone explain how compilation works? I can't seem to figure out how compilation works.. To be more specific, here's an example.. I'm trying to write some code in MSVC++ 6 to load a Lua state.....
Twenty asked 4/2, 2009 at 6:43

12

Of late I'm facing the issues that points finger to VC6 compiler. Few of them are: A function-try-block doesn't work. Related Q in-class constant doesn't work. __FUNCTION_ (Macro to get function...
Herra asked 9/4, 2009 at 9:30

7

Solved

I'm writing a program under MS Visual C++ 6.0 (yes, I know it's ancient, no there's nothing I can do to upgrade). I'm seeing some behavior that I think is really weird. I have a class with two cons...
Aeromechanic asked 19/3, 2009 at 19:39

4

Solved

I ported one of my old projects to VS2005 and am having linker warnings such as xxxxx.lib(xxxxxxxx.obj) : warning LNK4099: PDB 'vc60.pdb' was not found with ...; linking object as if no debug inf...

3

Solved

I know that according to C++ standard in case the new fails to allocate memory it is supposed to throw std::bad_alloc exception. But I have heard that some compilers such as VC6 (or CRT implementat...
Gossipry asked 15/2, 2009 at 7:10

2

Solved

I have some code in MS VC++ 6.0 that I am debugging. For some reason, at this certain point where I am trying to delete some dynamically allocated memory, it breaks and I get a pop up message box s...
Polarity asked 22/12, 2008 at 2:1

5

Solved

This question is related to "How to make consistent dll binaries across VS versions ?" We have applications and DLLs built with VC6 and a new application built with VC9. The VC9-app has to use DL...
Marcellemarcellina asked 1/12, 2008 at 14:38

2

Solved

What are all the problem that you foresee in doing that.

3

Solved

What is the latest version of the Boost library that is compatible with Microsoft Visual C++ 6? And can you provide a link to download it directly? The Downloads link at http://www.boost.org only ...
Pompano asked 31/10, 2008 at 2:57

3

Due to the legacy nature of some of our code, we're still using Microsoft Visual 6.0 (SP6). When I attach to a running process to debug it for the first time, it has no knowledge of where the sourc...
Hospers asked 30/9, 2008 at 19:48

© 2022 - 2024 — McMap. All rights reserved.