msvc 6 link options highmem

  • Microsoft Layer for Unicode, Win98 and MSVC++6...?

    I am using MSVC++6 with Win98SE and I still can't get it working despite having followed all material I can get my hands on...If I give you all the information about my set-up that I have perhaps someone could spot the problem!I have my unicows.lib in VC98/Libunicows.dll in the project directory under \DebugIn the Project settings.Under the C/C++ tab the preprocessor defintions are:WIN32, _DEBUG, UNICODE, _UNICODE, _WINDOWS, _MBCS, DEBUGand the project options are:/nologo /MLd /W3 /GX /0d /D /"WIN32" /D"_DEBUG" /D /Fp"Debug\Animation Entity.pch" /YX /Fo"Debug

  • Oracle MSVC 6 Development Environment

    I started doing the occi examples provided in rdbms/demo directory.Although I have been able to compile my programs, with the help of the make file, I have not been able to get MSVC 6 environment going on.I could set it up to use oracle_home\oci\include as include directory, but I am new to C++ so that is about all I could figure out from the compiler flags provided from make file.Below is what the make file is:cl -GX -DWIN32COMMON -I. -I%ORACLE_HOME%\oci\include -I. -D_DLL -D_MT %1.cpp /link /LIBPATH:%ORACLE_HOME%\oci\lib\msvc oci.lib msvcrt.lib msvcprt.lib oraocci10.lib%ORACLE_HOME%\rdbms\xa

  • MSVC 6.0 bug ?

    When working with MSVC++6.0 I constantly use CTRL+SPACE to see the fields in a struct when coding. (eg : when I have typed 'blah->', and then push CTRL+SPACE they show me that the fields 'blah1' and 'blah2' can be chosen).The problem is that many of the fields that should be shown aren't shown. Is anyone familiar with this bug ? Does anyone know how it can be solved ?

  • Porting from MSVC++ 6 to .NET 2003

    I have a simple application that uses a CSV parser class from here (http://www.codeproject.com/Purgatory/Simple_CSV_Parser_class.asp). I know it's pretty dirty code, but it worked under MSVC++ 6. However, when I try to compile it with .NET 2003, I get a few compile errors with various assignments. Does anyone know how to fix this?

  • MSVC 6.0 Hangs on Workspace

    I just uninstalled MSVC 7.0 Beta on a workstation that has MSVC 6.0. Now MSVC 6.0 hangs when I try to open a workspace. I have reinstalled MSVC 6.0 and it still hangs. I then uninstalled MSVC 6.0 and reinstalled...same thing. Anybody had a similar experience?ahoodinThere are reputation points in it for you!

  • Show Image in Form background using MSVC 6.0 in MFC application.

    I am developing an application using MSVC 6.0 in that application I want to show image in form background. if anyone have idea about this then please tell me.

  • Problem opening msVC++ 6.0 workspace

    We have a MSVC++6.0 software shipped by our professional programmers and it works fine. Just double-clicking on the .exe file does the job fine. When we had to change a few lines of code, we had to do it ourself. So i opened vc++6.0, clicked on File -> Open Workspace and chose the .dsw file. BUT, the project doesnt open up at all. The same one works fine in another pc and so does the earlier version of the same software in this pc. Both the versions was created the same way, according to our programmers. Can someone help me in opening the workspace so that i can go ahead and edit the origin

  • Debugging program in MSVC++ 6.0 - need help with assembly output

    when I debug my program in MSVC++ 6.0 and my program freezes up (just error in program) and I click to break, call stack output has the only line, some anonymous address 7ffe0304(). If I double-click on it, some assembly output appears on the right. But it doesn't tell me anything useful at all. When I try to put breakpoint on that line, it can't. How can I see the whole call stack when I break the execution ??? I think that the address is constant, so how can I find out from which function in my program is it called ???Any suggestion helps much.

  • Trouble Threading in MSVC 6.0

    MSVC 6.0 MFC Dialog Box application:I have an edit box on the main app window that i need to have the current time displayed in. I've tried this.at top of AOTDlg.cpp UINT UpdateCurrentTime( LPVOID pParam );HANDLE hThread;DWORD dwThreadID;in OnInitDialog functionhThread = AfxBeginThread(UpdateCurrentTime, p_dlg);if (!hThread)MessageBox("Thread Failed");pasted at the end of AOTDlg.cppUINT UpdateCurrentTime( LPVOID pParam ){////// code to calculate the time and place it into char* currenttime////}compiles fine.. but crashes before it starts..anyone know how i can accomplish this task of

  • Oracle occi 10.1.0.4 instant client interface and MSVC ++ 6.0

    First of AllI am using XP windows and 10.1.0.4 instant client with MSVC 6.0.I success with connection only in Release version not Debug and only givinguser and password and not db data. In any case i am able after connect to select some from table , insert etc. butonly 2,3,4 times not more !!! After that it crashes.I have on the system installed also Oracle Form 10g . May it causes problems ?I have check paths etc. and it seems to catch the right include lib and dll evenif Oracle Form 10g has some dll with the same name.Thank You in advance for any help which will be very appreciate.Kind

  • Problem with MSVC 6.0 linker

    I have a problem with linker in MSVC 6.0 (service pack 3/4).I'm trying to create an ATL project, it uses some other classesdefined in different files. All classes include the same "stdafx.h".I created a project, it is linked OK first. But when I just addone another source file with a class that uses floating-point operations(sin, cos, sqrt etc), release version can't be linked, linker says:(LIBCMT.LIB) _fltused is already used in stdafx.objWhat causes that? As I said, all source files include *the same*'stdafx.h' that includes <math.h>. I even tried to include (copy/pas

  • MSVC++ 6.0 install problems

    I have tried to install/re-install MSVC++ 6.0 about 10 times and everytime I try it seems to install just fine.However when I try to load up a workspace it says "ERROR could not load EECXX.DLL, please re-install"What is the deal here?Can anyone help me?

  • MSVC++ 6.0 floating point problem

    I have two short programs that use floating point numbers. The first gives an incorrect result. By simply placing a "cout" (or any executable line) in the correct location of the program I get a correct result. The first program is:Code: ( cpp )/* floor example */#include <iostream>#include <math.h>int main (){float a=10.0f;float b=0.9f;float c=a*b;float d=floor(c);std::cout << "floor of " << c << " is " << d << std::endl;return 0;}which outputs:floor of 9 is 8The second program isCode: ( cpp )/* floor example */#include

  • Link options in VC++6

    I use a project that generate a .dll and when I compile it I receive these warnings LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REFLINK : warning LNK4089: all references to "comdlg32.dll" discarded by/OPT:REFIs there a way to eliminate its?

  • how to rename a project created with MSVC 6

    well today I found that the name of the project that I am working on is in use by another program, so I will have to change its name before I release it.I have another name in mind, however, when I tried to rename my project, it didn't work quite like I expected it to. first let me run you through what I did:1. created a .RAR archive of the originally named project (for a backup, good thing I did this). my originally named project compiles, builds, and runs flawlessly.2. renamed the (.c, .h, .rc) files in the originally named project's directory to the new name.3. created a new empty Win32 App

  • Setting link options in Visual Studio

    If I want to use the STL within my MFC project, how do I set the options within the Vis Studio Project settings? I have used the help in Studio and I read the stuff about ML, DL , etc (but didn't see where or how to set them), and I searched this site and read answers to similar questions, but I am still in the dark. In the past, all of the link and project settings were set before I even came on to the program. Oh yeah, I've always used either MFC or STL, but never both... I do know that I have to be careful *where* I place my STL includes :)Could someone lead me by the hand (talk to me like

  • ie 6 Link problems

    I just uninstalled some spyware (don't remember the names) and now when I click on some links, they won't work. For example: http://www.airliners.net/clicking on the "Top of Yesterday" picture won't do anything but clicking on the link just below that does work. I reinstalled VM 3810 (latest java update) on IE 6, believing that was the root of the problem...no change.Is there any way to repair explorer?

  • Automation in MSVC++ 6

    Is there an easy way to add automation to an already existing project in MSVC? I got a lot of code and I want to add a few automation interfaces to, but doing so manually will be sloppy at best as the project evolves...

  • Drop Down Menus with URL link options

    I want to create a drop down menu. The selections in the menu are links to other websites. When the visitor selects one of the options I want it to open a new window to that website.Here's what I've been practicing with:<html><head><title>Drop Down Menu with URL links</title></head><html><body><form name="form1"><select name="menu1"><option value="http://www.espn.com">ESPN</option><option value="http://www.cnn.com">CNN</option><option value="http://www.abcnews.com"

  • i did not get the custom tag wizard in msvc++6.0 after installing cold fusion MX 6.1

    I want to built a cfx tag in c++ using vc++.After installing cold fusion mx 6.1 on my system i didn't get the cold fusion custom tag wizard into my wizards list, when i open new projects.In the macromedia support, they wrote that the cold fusion wizard will be added to my vc++6.0 wizard list by default uponinstalling cold fusion mx 6.1.freinds, is there any problem with this wizard installation.What else should i do to properly install the cfxapi tag development kit.

  • Can't debug .dll with IIS 5.1 on XP in MSVC++ 6.0. Going mad.

    For a minute I thought this might be the wrong forum. But then I took comfort in the forum name being "Visual C++". This is definitely a Visual C++ question. (More about the product than the language, though.)Anyway...I have Visual C++ 6.0, on XP and IIS 5.1. I have a COM .dll. I am making calls to this .dll in a classic ASP page. I can hit break points in the ASP just fine. I need to hit breakpoints in the COM .dll.Here's what I'm doing:From Visual Studio (my COM project workspace) Build->Start Debug->Attach to process. I attach to inetinfo.exe. This lets me set breakpoints. W

  • Problem with unhandled exception in MsVC++ 6.0

    Does anybody know, why this code throws me an unhandled exception ??#define WIN32_LEAN_AND_MEAN#include <windows.h>#include <fstream>#include <sstream>using namespace std;class Log{public:Log();public:~Log();public:void output(string &msg);static const char *msc_szFileName;};const char *Log::msc_szFileName = "Log.dat";Log::Log(){}Log::~Log(){ofstream file(msc_szFileName); // a)}void Log::output(string &msg){ofstream file(msc_szFileName); // c)}int WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR, int){std::ostringstream os;os << "cos";static

  • Problem while Porting from MsVC++ 5.0 to MsVC++ 6.0

    Im trying to port my works done MS VC++ 5.0 to 6.0. Im gettin the folowing errors while compilation of my code, which gives me the following error codes/messages, error C2664: 'GetModuleFileNameA' : cannot convert parameter 1 from 'void *' to 'struct HINSTANCE__ *'Conversion from 'void*' to pointer to non-'void' requires an explicit casterror C2731: 'WinMain' : function cannot be overloadedsee declaration of 'WinMain'Strange that this works perfect with my VC5.0 environments. How to proceed with my porting?

  • Class Templates in MSVC++ 6.0

    I am trying to create a "SafeArray" class template so i can createarrays of ints, chars, floats, ( whatever ). I have followed theexample from a C++ book and MSVC tells me "LNK2001 unresolved external".my header ...template &lt;class Ttype&gt; class SafeArray2D{Ttype *ptr; // pointer to the arrayTtype error; // the error valueint cx, cy; // array sizesint array_size; // the 1D array sizepublic:SafeArray2D();~SafeArray2D();bool SetSize( int sx, int sy );bool FillArray( Ttype value );Ttype &operator[]( int i );};and the .cpp ...template &lt;class Ttype&gt;

  • msvc 6 problem

    After I installed VC 6, my system wants to connect to the internet upon boot. Does anyone know how to shut this off ?

  • MSVC 6.0 Service Pack

    How can I figure out which version of Service Pack has been installed with my MSVC v6.0 Enterprise edition.

  • Error using MSVC++ 6.0 dlls in C# code

    I'm using .Net 7.1 developing software in C#. I need to use dlls written by colleagues of mine in VC++ 6.0. Most of these dlls do nothing else than display a dialog box (through CDialog::DoModal). If I use the dlls compiled in VC++ 6.0, the dialog boxes are never displayed (although they are sometimes REALLY simple). I've added code to log the activities and it seems that something happens in the DoModal() of the dll, but can't really say what.If I take the C++ code and compile it with .NET 7.1 C++ compiler, and I call the code from the newly compiled dll in my C# code everything works OK.Ques

  • Oracle Improvement to link options

    when linker options are added to a folder under a project, they are appended to the list of options for main project. Unfortunately this causes problems when the folder is Test Files and the library path is to the location of libcppunit. -lcppuinit is automatically added by the IDE, but the -L and -R options appear after it in the command line, so the library cannot be found.If the project is a static (or shared, haven't checked) library, there isn't a linker option in the top level project, so the Additional Options field has to be used, which is a bit of a kludge.If possible, make sure -l ap

  • Problem with std::map find using MSVC 6.0

    My code looks like:class CClassExample {int id1, id2, id3;public:CClassExample(int i1, int i2, int i3) {id1 = i1;id2 = i2;id3 = i3;}friend bool operator < (const key& left, const key& right) {if (left.id1 > right.id1) {return false;}return true;}};typedef std::map<CClassExample, void*> TypeItems;static TypeItems Items;// Putting data into items using insert, it is finesize_t st = Items.size(); // It is correctCClassExample Exa(1, 2, 3); // There is an item having id1 == 1, id2 == 2, id3 ==3TypeItems::interator it = Items.find(Exa);if (it == Items.end()) {// This happens}Wou

  • Why an int can't have the (1<<31) value on MSVC 6?

    I need to have in an int variable a 32 bit number. And since int has 4 bytes, I could this. But if I assign the (1<<31) number (which is a 32 bit number) to an int variable, it doesn't store the number, the variable will have a value of "-2147483648". Why? I tried with 8 bit integers too (__int64), but the same thing happens.So, how can I store a 32 bit number in an int?The code:#include <stdio.h>void main(){unsigned int a;unsigned __int64 b;a=1<<31;printf("a:%d\n",a);b=1<<31;printf("b:%d\n",b);printf("sizeof int:%d\n",sizeof(int)

  • Errors: MSVC 6.0, SDI MFC APP

    I am creating SDI MFC sample App. I followed the steps given in "http://www.codeproject.com/dialog/mdisdiapps.asp". I have not yet added any of my code.I am getting these 2 errors while compiling:Test_SDI\MainFrm.cpp(55) :error C2065: 'CBRS_GRIPPER' : undeclared identifierTest_SDI\MainFrm.cpp(55) :error C2660: 'CreateEx' : function does not take 3 parametersAny suggestions?

  • MSVC++6.0 - Transparent color in Bitmap

    I've the following question. I have a dialog based applications where I would like to put some Bitmap all around. In my head, I would like to make the dialog appears as it's build of metal and iron.How can I set a transparent color to make a trash look to my application ?many

  • Create new subdirectory with C++ (MSVC 6.0)

    I need to create a subdirectory (on the local hard drive) from within a C++ class. I am looking for code examples or other information that will help me figure out how.Thanks in advance for any help you are able to provide.Dave

  • Subfolders in MSVC 6.0 class view

    In a large project, I am organizing the classes in the workspace's class view creating subfolders and dragging the classes into them.I have two problems regarding this:1. Where does the IDE store the information about the subfolder structure? I would like to make the structure available to other users via SourceSafe.2. Every once in a while, the structure gets inadvertently destroyed. Why does this happen? It is annoying to recreate all those subfolders and drag 500+ classes around.

  • Link Options

    Can anyone show me how to ask the compiler to include MFC code (dll stuff) into the final executable code?

  • Build/ Link Options

    If any one of u could tell me how can I know how many times I had compliled or build my workspace or exe, i would be greatful to u. And also how to put the build number into my application about box, as in the way we can give version infos for the project.Please this is urgent.

  • InstallShield for MSVC++6

    a] I have a set .rul files but not the project file.b] I created a new project in InstallShield and included all the .rul filesc] It asked me for a setup.h file, which I subsequently included.d] However, it gave me a message that the "prototyping was not supported inInstallsHield... " e] I need to re-create the instalation program.f] !!!! HELP !!!!g]

  • MSVC 6 / ClassView when I click a function I get error Cannot find (definition) implementation of th

    How do I overcome this error its very annoying I added the class in from a file.

  • 16 bit DLL with MSVC 6?

    Does anybody know if this is possible to make, and in that case how? I might need to make one for an old system.. :(

  • MSVC 6.0 preprocessor and include file

    We are currently looking at ways to speed up compilation time. We use precompiled headers already to good effect. My questions are:1) We seem to have noticed using pragmas that the preprocessor parses files even though they are protected by previously defined include guards. As far as we can see this means it is doing a lot of unnecessary work. Is this correct and can we stop it.?e.g. if we have a header file afile.h that is included by multiple cpp files in a library, when compiling the library the pragma message pops up for each file that include the header...#ifndef _AFILE_H#define _AFILE_H

  • MSVC 6 build on SMP NT machine

    Dammit. I just bought MSVC6 (have been using VC5 for along time) and was hoping 2 things would have be added:1. The build uses all processors on a SMP machine. I have a dual PII NT4 and one processor is unused during build. The NT DDK build utility will happily spread the make tree across multiple processors making a FAST make. **** all they had to do was create an additional thread for each processor.2. You can't create a workspace with lots of sub projects with each project having its own set of include paths.3. In a workspace with lots of sub projects each with several configurations, you c

  • Oracle8 Release 8.0.6 Doc link incorrect

    The link for this is incorrect, the link for :Database Release 8.0.6 Documentation Librarylinks to:Oracle8 and Oracle8 Enterprise Edition On-Line Generic Documentation Version 8.0.5.0.0i.e. 8.0.6 link points to 8.0.5I still have to manage these databases.

  • Oracle8 Release 8.0.6 Doc link incorrect

    The link for this is incorrect, the link for :Oracle8 Database Release 8.0.6 Documentation Librarylinks to:Oracle8 and Oracle8 Enterprise Edition On-Line Generic Documentation Version 8.0.5.0.0i.e. 8.0.6 link points 8.0.5I still have to manage these databases.

  • Oracle bad OTN link to 1.6 download for HP-UX

    I went to download HTMLDB 1.6 for HP-UX from the OTN site for HTMLDB. But seems to be pointing to the older companion CD 10.1.0.2.0, which is the one we installed 1.5 from. I see that the HTMLDB 1.6 link for Linux points to a companion CD 10.1.0.3. No doubt the current HP-UX realease is out there on OTN (somewhere), it just looks like a bad link from the HTMLDB site.

  • Statically link CRT

    MSDN notes "set the Minimize CRT Use in ATL option to No and link to the CRT either statically or dynamically". I have MSVC++6.0, SP5. Could they be referring to an interface in 7.0? Can someone tell me what to insert in project options to statically link the CRT? Background:I've got an ActiveX control (no MFC) in a DLL. Debug version runs fine in Test container and in IE. So...I went to build the release version and ... pass the aspirin! I got an "unresolved external symbol _main". I looked that up in MSDN which explained the error involving the use of the CRT. I built the

  • Have I hit a limitation of VC++6 ?

    I'm trying to build sigc++2 using MSVC 6. I'm using version 6 because sometime later, I'll need to link to gtk-win32 (which stipulates not to build using anything higher than VC++6). Just for testing, I've created a simple source file that does nothing, apart from #including sigc++\type_traits.htype_traits.h (like most of sigc++) is a header full of templates. The first few lines look like this:-#ifndef _SIGC_TYPE_TRAIT_H_#define _SIGC_TYPE_TRAIT_H_#include <sigc++config.h> //To get SIGC_SELF_REFERENCE_IN_MEMBER_INITIALIZATIONnamespace sigc {template <class T_type>struct type_trait

  • Setting Tools Options Directories

    I compile using MSVC++ 6.0 and would like to be able to change the library and header file directories quickly. I have an AddIn started, but I don't know how to access these settings through the IApplication object. I know this information is stored in the registry, and I can update that. The problem is the registry does not take affect until the studio is reopened.Is there a way to change directories from within studio without changing them manually in Tools-Options-Directories?

  • Ubuntu How to build 2.6.34 amd64 kernel with load balancing patches for Lucid

    This thread describes how to build a 2.6.34 kernel with load-balancing to cut down the number of load balancing wakeups. Running powertop on my amd64 PC shows that this kernel cuts down the number of wakeups by around 30%. See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524281/ for more details. 1. Open a gnome-terminal and get root privileges:sudo -s2. Install required packages for building the kernel:apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev3. Download the 2.6.34 kernel source file:cd /usr/srcwget http://www.ke

  • MSVC Project Settings

    I have a project in MSVC 6 SP4 with multiple build configurations (Win32 - Release, etc). I also have a large amount of resource files. It turns out that not all of these resource files are used in every configuration.What I want to do is set the build options so that MSVC will only include the resources which are needed for each different configuration. How is this done?I have tried:Selecting the particular files and choosing "Exclude from build" in the 'other' configurations.Selecting "Allow per configuration dependencies."#define'ing the resource files specific to a part

  • Why can't I statically link to the MFC DLL's???

    What tha heck??? Why can't I set my project to statically link to the MFC DLL's?I had the introductory version of MSVC++ 6.0 and you couldn't do it on that so I figured if I bought the standard edition then I would be able to do it but I can't!!!!!!! I bought the standard version mainly for that purpose and now that it's not enabled in this version either I'm a mite bit angry at myself!!Why can't I do it? Is it cuzza' the version or what???