CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (32 messages)

#67049- Win32/s Memory? Message #67364
John, > Yes, this is true on Windows NT, but not on Win32s. The memory is shared on Win32s. > Under Win32s, GlobalAlloc() thunks down to the Windows GlobalAlloc(), so all is as it was on Windows. Under Windows NT and Win32s, malloc() maps most closely to HeapAlloc().
#51367- Sharing Memory Message #51818
John, > I'm porting an application that relies on a large, in-memory data > structure. It shared this between several processes within the same > computer. Only one application touched it at a time. Each could allocate > or free memory, adding or subtracting from the data structure. > Is…
#51278 NMAKE problem Message #51343
Jim, > The strange thing is that this only happens with DLLs. I can get this to work with DLLs as well. > There's nothing special about .EXEs as far as NMAKE is concerned, is there? Nothing that I can think of. Can you show me your makefile? Julie
#51253 #Visual C++ Message #51275
Harvey, We are not up on Visual C++ for Windows NT issues. Please follow the directions that you received for obtaining support for the beta. Julie There is 1 Reply.
Garrett, The March SDK will not run on the final release of Windows NT. Only applications which were built with the March SDK (or later) will run on the final release. The March SDK was not built with itself, hence it references an old entry point which cannot be resolved.…
#51205 MFC 2.0 Message #51261
> Are the Final SDK & beta VC++ being mailed yet? Most definately. We are already seeing our first customer posts for both products. Julie
#51223 VC++, When? Message #51260
David, > Does anybody know when people in Australia can expect to receive their copies of the VC++ CD-ROM? I do not know. I will try to get someone to address international shipping issues in Section 1 of this forum. > Does anybody in the US have their copies of…
#51044 __export … How Message #51259
PMJI, > the _export was used to export functions from a DLL without having to put it in the .DEF file Yes, this is the way that our 16-bit compilers work. The 32-bit compilers replace this with _declspec( dllexport ). The Win32 SDK linker doesn't support this, so you must…
#50935 #NMAKE problem Message #50951
Jim, > Perhaps I didn't explain this properly. Yes, you did. The first target is file1.obj. That is all it builds. Try this instead (note use of pseudotarget "all"). # makefile !include all: target.exe .c.obj: $(cc) $(cflags) $(cdebug) $< file1.obj: file1.c file2.obj: file2.c file3.obj: file3.c target.exe: file1.obj file2.obj file3.obj link…
John, The final release of the Win32 SDK is shipping, so you should receive it soon. These executables are installed into the \mstools\bin directory by default. Sincerely, Julie Solon Microsoft Developer Support
Pao, The file that you are looking for is c:\mstools\setenv.bat. At least, this is where it is for me when I used the graphical install. If it is not there, then look on the CD, from under DOS if you cannot read the CD under Windows NT. Sincerely, Julie Solon…
Rajesh, We have not announced plans for template support in our C++ compilers. Please raise this issue again with the support engineers for VC++ for Windows NT once you receive the beta. This forum isn't the appropriate place for this feedback. Sincerely, Julie Solon Microsoft Developer Support
#50537 MFC 2.0 on WindowsNT Message #50823
JP, If you have the preliminary Win32 SDK, you will receive a beta copy of Visual C++ for Window NT a few days after you receive the final Win32 SDK. Otherwise, you will have to wait until MSVCNT is released. Sincerely, Julie Solon Microsoft Developer Support
#50587 Win32 SDk Message #50822
JP, You'll need to use Windows NT hosted tools to create the 32-bit application. Julie
#50613 #NMAKE problem Message #50772
Jim, > I'm having a problem getting object to build in my makefile. The first one in the list builds, but all other are not. This is the way NMAKE works, it only builds the first target. This is why we use pseudotargets in makefiles, to ensure that everything is…
#50403 linker question Message #50600
Reed, > My question should be obvious to any of your developers that work on either the linker or the compiler runtime library. I forwarded an exact copy of your original post to the manager in charge of the linker. Here is his response: "The '$' symbol is used internally…
#50452 #MFC 2.0 Message #50550
JP, It will be easier if you wait for a 32-bit version of MFC 2.0 than if you try to port it yourself. If you have the Win32 SDK, you will receive a beta copy of MSVCNT this month, after you receive the final Win32 SDK. Otherwise, it has been…
#50498 LINK32 problem Message #50549
Goran, > LINK32(): error 104: Can't open file TEMPFILE The linker creates temporary files in the directory pointed to by the TMP environment variable. Make sure that you have plenty of disk space there. It does look suspicious that the temporary names are LINK321 to LINK3299. I'll double-check that this…
#50237 Expression Order Message #50548
Rob, > A common piece of code looks like this: *WINDOW +OBJECT1 +OBJECT2 +OBJECT3; I'm not familiar with this syntax, therefore, I'm not sure why the failure. In a multi-threaded situation, you would not be guaranteed a particular order for functions to execute. If the code is not multi-threaded, stepping…
#50295 #Array dim bugs Message #50547
Mark, > This is clearly a bug, but neither the compiler nor the linker catch it This is actually not a bug. The compiler is going to check that you reference each variable in a way that is consistent with the its declaration in that file. When you put "extern"…
Mark, > I will upload the C file and the COD file that demonstrate the problem to library section 1 as CLBUG.ZIP. I have been checking for this file, but I have not seen it as of yet. Was it successfully sent? If so, I'll bug the sysop about this.…
Theo, All that the "failed to initialize" tells us is that one of the components needed for initialization causes a problem. Since the compiler normally does run successfully, I suspect that one of the .exe or .dll files is corrupt. Julie
#50401 MFC 2.0 for NT?? Message #50443
Ronald, > Do you mean by this that even the non-GUI code in MFC won't be multi-thread safe? Things like the collection classes? I mean that we have taken no extra steps to ensure that certain areas are safe. Someone has probably sat down and figured it out, but I…
Compiler blow up Message #50386
Jim, The compiler included in the final release (which you will receive shortly) does not have this problem. The ccommon macro is used in the cflags macro. This leads me to believe that this macro was not intended to be used in your makefiles, but I could be wrong :-)…
#50211 BETA2FIX.EXE Message #50385
Francis, I'm not aware that this was an SDK fix. Try the libraries in the WINNT forum. For directions on accessing the libraries, please see the Release Notes. Sincerely, Julie Solon Microsoft Developer Support
#50238 Complex numbers Message #50376
Rob, > The compiler does not have a complex class! Isn't that part of the C++ standard now? I know that the C++ standard defines the language and the C Run-Time, but I am not aware that it defines the contents of an individual compiler vendor's class libraries. At least,…
#50332 linker question Message #50375
Reed, I have not heard of this switch. Can you tell me what it is so that I can ask about it? Thanks, Julie Solon Microsoft Developer Support
Rex, > Is the final SDK going to come with the startup source for CL386? No > And/or is the VC++/NT going to come with startup source. The C Run-Time startup source is usually either included with the retail compiler or available as an add-on. Please ask this question of…
C++ under NT Message #50191
Gerry, > I am very leery of exported member functions which don't reference their class at all!!!? > What if two classes have the same function names? Good eye. Since there is no way to specify the class in the DEF file, this technique only works if no other class…
#MFC 2.0 for NT?? Message #50190
Joe, > Will the 32-bit version of MFC 2.0 be multi-thread capable? You will have to make it multi-thread safe yourself. Julie There is 1 Reply.
#50178 Visual C++ CD ROM Message #50189
Eric, > Does VC++/NT do C++ Templates? If not, will the release version? I checked the docs and it does not appear so. The only mention that I see is the MFC template class example. Please take up this and any other MSVCNT feature issue with the contacts that you…