Questions tagged [visual-studio-6]

Visual Studio 6.0 is a Microsoft IDE released in 1998

A Microsoft IDE released in 1998 for Visual Basic and C++ development predating .NET. There have been numerous successors to this family of products.

102 questions
4
votes
1 answer

Compare double value in C

Why is that even if enter value 999999, it will always go to else statement? Can someone explain why and what is the correct way to do this? #include int main(int argc, char **args) { double dValue = 0; scanf("%d",&dValue); …
Azuan
  • 878
  • 2
  • 13
  • 33
3
votes
2 answers

Find text in VB6 IDE at the beginning of a line

I am trying to search a large VB6 project for where a variable gets assigned. If I just use the Find dialog and enter the variable name in the “Find What” textbox, it opens many windows where the variable is used, but I would like to just get the…
MikeC
  • 208
  • 3
  • 12
3
votes
1 answer

Is it possible to resize fixed dialog boxes that are part of Visual Studio?

In Visual Studio 6 the project settings dialog box is not resizable. Is there a reason for it to be so? I know this is a long shot, but any trick to "fix" this problem?
user193272
  • 984
  • 1
  • 12
  • 18
3
votes
0 answers

VB6 Force application to load local dll over registered one

my team needs to have the same application deployed in two different folders on the same server but with slightly different code. We'd like to have a base code on the folder A, and a version with a few changes on the folder B. I'm trying to…
trick
  • 78
  • 1
  • 9
3
votes
2 answers

Was it possible to get a pointer to member from an instance of an object?

I was porting some legacy code to VS 2015 when this compiler error halted the build: error C3867: 'OptDlg::GetFullModel': non-standard syntax; use '&' to create a pointer to member Going to the corresponding file and line, I saw this: Manager mgr =…
awksp
  • 11,764
  • 4
  • 37
  • 44
3
votes
2 answers

Build Visual Studio 6 project with Visual Studio 2010

I am trying to build a project created in VS 6 with VS 2010. When I open .dsw file, VS converts the project asking me this message: "... ProjectName.dsp must be converted to the current Visual C++ project format. After it has been converted, you…
kliketa
  • 1,276
  • 3
  • 17
  • 23
3
votes
1 answer

How to embed Python 2.4 in C++ application using VS C++ 6.0?

I get this linking error, using Python 2.4 and MS VC++ 6: Linking... testPyEmb.obj : error LNK2001: unresolved external symbol __imp__Py_Finalize testPyEmb.obj : error LNK2001: unresolved external symbol __imp__PyErr_Occurred testPyEmb.obj : error…
A.R.
  • 1,888
  • 2
  • 14
  • 22
2
votes
0 answers

Microsoft visual basic 6 warning in relation to a newer version of tlb

I am working with a very large code base composed of several groups of projects in vb6. Every time I open the group project I'm prompted with several of these pop-up messages asking me if I want to upgrade to the new version of the .tlb I know…
Jean Camargo
  • 340
  • 3
  • 17
2
votes
2 answers

How do I compile a C project in Visual Studio 6 without it needing LIBCD.lib?

I've compiled VolPack (https://graphics.stanford.edu/software/volpack/) as a static library in Visual Studio 6 (under Windows XP) because I think that's what it was made for and it wouldn't compile under Visual Studio 2019. But trying to write a C++…
inhahe
  • 331
  • 1
  • 7
2
votes
3 answers

Is it safe to typecast unsigned short to wchar_t and vise versa?

Hello I am migrating project from Visual studio 6.0 to Visual Studio 2005. The problem i am facing is ths ... in VS 6.0 wchar_t was simply typecast of unsigned short but in VS2005 wchar_t is built in data type. In project previous programmers have…
Sachin Doiphode
  • 431
  • 2
  • 10
  • 24
2
votes
2 answers

Visual Studio 6 debugger returns Exception Code:c0000005, after office 365 installation

After the installation of Office 365 on a Windows 7 PC, the Visual Studio 6 (VB6) debugger returns an error. + When you add a breakpoint and try to start debugging (F5) your code, the error pops right away. + Without breakpoint the error comes…
ywwy
  • 124
  • 1
  • 2
  • 18
2
votes
1 answer

Visual Studio 6 C ++ error C2011 with msxml

I have inherited an old Visual Studio 6 C++ program. I have a Windows 7 computer. I have installed an XP virtual machine on my computer. Visual Studio 6 and service pack 6 has been installed. I am trying to build the .exe file in debug mode. I…
Edward
  • 105
  • 1
  • 8
2
votes
1 answer

Visual Studio 6.0 C++ GlobalMemoryStatusEx (Old SDK Needed)

I've inherited a C++ project whose code lives on an XP SP3 virtual machine (yay). For some reason, even though afxwin.h is included (and I included winbase.h for good measure), when I compile the application, I get a bunch of errors, the root ones…
Dan Champagne
  • 890
  • 2
  • 17
  • 37
2
votes
2 answers

Using "this->" to differentiate variable names inside constructors

I recall I used to be able to do this and have it work as intended: class foobar { public: foobar(int x, int y) { x = x; //the variables x, y belonging to the class got correctly initialized y = y; } private: int x,…
2
votes
0 answers

OpenSSL - rsa.h error C2143: syntax error : missing ')' before 'constant'

I need to add SSL capability to an existing C++ socket client application. I've downloaded and installed OpenSSL, and the appropriate libs and includes are in my Visual Studio folder. Forgive the age of the dev environment (VC++ 6.0) but it's a…
Jon
  • 3,230
  • 1
  • 16
  • 28