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
2
votes
0 answers

Win32 Rebar : Issue with myRebar.cbSize occurred after migrating from visual studio 6 to visual studio 2010

I'm trying to migrate fully working win32 code on visual studio 6 to visual studio 2010. It seems there is some problem with Rebar. Below are my code that working fine on visual studio 6. HWND hwndRebar = NULL; REBARINFO …
someone_ smiley
  • 1,006
  • 3
  • 23
  • 42
2
votes
1 answer

VB6 Connecting to a Database

Alright, what i want to do sounds simple. I would like to load a form and on form load call a sql statement that returns 1 item and places it in TextBox1. Here is what i have so far. Private Sub Form_Load() Call openTheDatabase End Sub Public…
Zingo
  • 281
  • 3
  • 8
  • 25
2
votes
1 answer

Define a struct in a midl generated header file

I am in the process of automating the build of a legacy product and have hit a wall... I have a .idl file that is compiled in VC++ 6.0 using midl to generate a .tlb, .h and .c file that has a manual build step to add: struct StructDef; Just ahead…
Rob Hunter
  • 2,787
  • 4
  • 35
  • 52
2
votes
1 answer

Aligning VS2010 and VS6 compiler and linker switches for a legacy build

For a legacy project, I have a solution in Visual Studio 2010 that compiles using the Visual Studio 6 compiler using the Daffodil extension for Visual Studio 2010. I am trying to get the compiler (and linker) input equal (as much as possible) to…
2
votes
3 answers

std::auto_ptr Compile Issue in Visual Studio 6.0

Update: Edited code example to use AutoA for the workaround (which was the original intention). Realized this after seeing rlbond's answer. I am trying to incorporate the usage of auto_ptr in my code based on recommendations from this…
FP.
  • 366
  • 2
  • 12
1
vote
1 answer

Can't open dsw file in Visual Studio C++ 6.0

When I try to "Open Workplace" of my project, visual studio does nothing, solution explorer is empty. Also when I try to open my project, I occasionally see this error:
1
vote
1 answer

Using /Zm with CL In Visual Studio 6.0

I am using a software called Symbols for engineering modelling. It produces a .cpp file for the model, along with a .bat file for command line compiling. It uses a compiler to produce a .dll file which it then calls back to complete the…
1
vote
1 answer

Debugging old VC6 DLL

I am trying to debug old DLLs (for which I have the project and source code) used by an APP (which I cannot build anymore). The project was developed using Visual Studio 6, so this is what I am using as well. What I tried without success: Added…
1
vote
0 answers

is there any C++98 compiler which works for Windows NT?

I am working in a project which needs to run in a Windows NT, the application must be implemented in C++98. Currently we only have Visual Studio 6 but we are having many problems with basic syntax statements. Do you known any alternative compiler…
1
vote
1 answer

Visual studio unicode issue when using nmake command

I use Visual studio 6 to build dll from .rc file using nmake command and it works fine with English, Arabic and French but when trying to generate dll for Russian language it generated with a garbage data not Russian I think this problem is due to…
Ahmed
  • 11
  • 2
1
vote
2 answers

How to concat char array into a string

Below I have two variable store in a char array char one[7] = "130319"; char two[7] = "05A501"; I try to concat them with stringstream std::ostringstream sz; sz << one<< two; After that I convert it to string std::string stringh =…
epiphany
  • 756
  • 1
  • 11
  • 29
1
vote
1 answer

cannot convert from 'unsigned short [9]' to 'char []'

I am working on very old C++ project. When building my C++ code in Visual Studio 6 I am getting error "cannot convert from 'unsigned short [9]' to 'char []'". for code below: char variable[] = _T("something"); I googled and tried to understand…
1
vote
1 answer

Visual Studio 6 VC++ Project version - how do I increment it?

I am making changes to an old program written in VC++6. the project resources include a 'version' set which include the following: Block Header Comments Company Name File Version Product Version Both FileVersion and ProductVersion are at 1.0.0.97…
user41013
  • 1,251
  • 2
  • 16
  • 25
1
vote
1 answer

embed all required DLLs in one dll

I am creating ActiveX control with visual c++ 6. my control uses some DLLs, and I want to embed all those DLLs in the output DLL how can I do That?
Mohammad Shaban
  • 176
  • 1
  • 16
1
vote
2 answers

in VC++ VS6 a simple printf gives fatal error C1001: INTERNAL COMPILER ERROR

I am using visual studio 6 , vc++ on windows 7 and written a simple helloworld program which is by default created by VS6. but due to printf it is giving following error: // testapp.cpp : Defines the entry point for the console…
Rajesh
  • 15
  • 4