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…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 9, 1993 6:11 PM
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
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.
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 9, 1993 12:22 PM
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.…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 9, 1993 11:44 AM
> Are the Final SDK & beta VC++ being mailed yet? Most definately. We are already seeing our first customer posts for both products. Julie
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 9, 1993 11:44 AM
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…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 9, 1993 11:44 AM
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…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 5, 1993 2:50 PM
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…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 5, 1993 11:44 AM
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
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
JP, You'll need to use Windows NT hosted tools to create the 32-bit application. Julie
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 4, 1993 1:59 PM
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…
Yep.
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 3, 1993 4:15 PM
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…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 3, 1993 1:29 PM
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…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 3, 1993 1:29 PM
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…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 3, 1993 1:29 PM
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…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 3, 1993 1:28 PM
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"…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 3, 1993 1:28 PM
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.…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 2, 1993 8:08 PM
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
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 2, 1993 8:08 PM
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
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 2, 1993 12:21 PM
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 :-)…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 2, 1993 12:21 PM
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
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 2, 1993 11:25 AM
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,…
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 2, 1993 11:25 AM
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
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
August 2, 1993 11:25 AM
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
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
July 30, 1993 11:35 AM
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
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
July 30, 1993 11:35 AM
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.
From:
Julie Solon [Microsoft]
Microsoft Win32 SDK Forum
· Tools-Compiler/Link
July 30, 1993 11:35 AM
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…