CompuServe Archive

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

Search Results (81 messages)

#51365- Metaware C? Message #51405
John, I don't know of any details about the Metaware /Pharlap tools that you purchased. I would ask the companies directly. There are several different approaches to getting started with the Win32 API's. The first is to purchase the Win32 SDK and VC++/NT (When it becomes available). The second 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
#51192 NT MFC & UNICODE? Message #51282
Hi Tim. Unicode is not supported under MFC. Nancy Cluts Microsoft Developer Support
Hi Andreas. You can create a console window and send the information from OutputDebugString() there. Take a look at the DEB sample in the \MSTOOLS\SAMPLES\DEB directory. This sample uses OutputDebugString() quite a bit – you should be able to take that code and use it in your program. Nancy Cluts…
#50951 #NMAKE problem Message #51278
I've been using the pseudotarget all from the beginning. The strange thing is that this only happens with DLLs. There's nothing special about .EXEs are far as NMAKE is concerned, is there? 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…
#VC++, When? Message #51223
Hi there, Does anybody know when people in Australia can expect to receive their copies of the VC++ CD-ROM ? For that matter, when can we expect to receive the release version of NT ? Does anybody in the US have their copies of VC++ NT yet ? If so,…
#50550 #MFC 2.0 Message #51205
Are the Final SDK & beta VC++ being mailed yet? There is 1 Reply.
#50593 Visual C++ CD ROM Message #51204
Actually optimization is one of the best candidates for exploiting multi-thread capabilities. The majority of optimizations are localized within procedures/blocks and as such can be performed independent of other activity with very little effort. I would rather that more work were spent on the "active compiler" approach. While color-coded syntax…
Bill: After my abortive attempt today I took a look at my system which was installed normally. My settings are as follows: System: ComSpec=E:\winnt\system32\cmd.exe Cpu=i386 Include=D:\MSTOOLS\h;D:\MSTOOLS\mstest\include; D:\MSTOOLS\mfc\include Lib=D:\MSTOOLS\lib;D:\MSTOOLS\mfc\lib Os2LibPath=E:\winnt\system32\os2\dll; Path=D:\MSTOOLS\bin;D:\MSTOOLS\mstest;E:\winnt\system32 Windir=E:\winnt User: temp=E:\temp tmp=E:\temp I wish I had had this with me to set up some things this AM. Bye…
#NT MFC & UNICODE? Message #51192
Is it just something I did, or is it painfully true that MFC 1.0 as included with the NT beta is not UNICODE aware? What's odd about this is that there are "#ifdef UNICODE" statements in the header files, but all of the inline calls specify LPSTR parameters, instead of…
I do not see the first message of the problem but the subject looks just like the one I am having. I have the Store Bought shrink-wrap version of NT and the March BETA SDK, when I link I get the following pop-up: CL386.EXE: entry point not found The procedure…
Hi, one of my favourite ways to display info for debiggung is to upe the OutputDebugString and the tiny DBWIN.EXE under 16Bit Windows. Unfortunately in NT ot seems to be the only way to see the OutputDebugString Messages when using the WinDbg programm which is quite a overhead I think.…
#51044 __export … How Message #51165
Hi Brian, The 16-bit C7 compiler still supports __export since it is needed in the 16-bit world. I am not sure if a single underscore version is defined but you could easily define one in a local header. If this issue remains to plague you in the 16-bit world you…
Mike, THANX Bill Whitman There is 1 Reply.
#51049 DLL file format Message #51083
Stephen, There is very little difference between executables and DLL's under Windows NT. The biggest difference is in the entry point and how it is called. Both DLL's and executables are in the PE format. There is a pe.txt file located in the doc\sdk\filefrmt directory of the SDK CD. If,…
Bill, You need to have mstools\h in the include path. What I recommend doing is running setenv and the use the set command to see what env variables are set. Then use the control panel applet to set the values for path, include, lib and any others that have been…
#DLL file format Message #51049
Where can I get understandable descriptions of the 32-bit DLL files. I have the march beta, is there anything in there,or is there a book or something. Even a file up here? There is 1 Reply.
#51007 #__export … How Message #51044
Maybe my use of the __export was incorrect. I am porting a product from Borland C++ to NT and the _export (1 underscore) was used to export functions from a DLL without having to put it in the .DEF file. Does C7 offer that functionality? Thanks There are 2 Replies.
#51007 __export … How Message #51043
Thanks a lot for the info. After I posted my message I got the Dev Network #4 CD and in the Win32 SDK documentation there is a article titled "The dllexport and dllimport Attributes (32-bit specific)" that says, "Note that dllexport replaces the __export keyword". Of course the examples and…
SysOp, I am having problems with my environment. When I try to use nmake I get "ntwin32.mak not found". I looked and the file exists in the mstools\h directory. If I run setenv from mstools it works just fine. Is there a way to have this set up when I…
#50974 #__export … How Message #51007
Hi Brian, The compiler keyword __export is obsolete in the context for Win32 programming. The keyword was used to fixup the data and stack segments under the 16-bit segmented architecture under Windows. Under Win32, exported functions are simply pointers to those functions so no fixup is necessary. To retain source…
Stan, Thanks, I think I now have and understand all of the scenarios. Pete
Thanks Julie, I will try this method of building the .imp file. I have read a number of your replies during the year long beta program and felt they very helpful. Thank you again. Also, I enjoyed working with Ronald Greti and Sharon Keane who I know had a difficult…
#__export … How Message #50974
We are getting compiler errors on this line. extern "C" char * __export HliSymbolAsCString (HliSymbol sym); Error is hlii.h(164) : error C2059: syntax error : 'export' This is on the March edition of NT. We seem to be having trouble with any __export functions. I have been looking in the…
#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…
#50772 #NMAKE problem Message #50935
Perhaps I didn't explain this properly. When you have the following: .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 …. This should build all three object files if they are either out of date or non-existent. In my case, when building a…
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
#50736 Unicode-programming Message #50877
Carl, Thank you very much for your prompt reply. This is exactly what I needed. Batya
#50707 Unicode-programming Message #50874
Howard, Thank you very much for your prompt reply. I'm sure this information will be a big help to the computer division. Batya
Can you tell me when will Microsoft C++ compilers will start supporting Templates and Exception Handling. It was a great dissapointment when I read the release notes for VC++ for NT, that it does not have support for the Templates. If you folks at Microsoft wait till ANSI C++ commitee…
This question has to do with DLL'S and the various export/import options available in the .def file. Julie Solon answered a question wrt to decorated names, but my subsequent question was not answered. It is: In the .def file for the calling program it is documented that it should be…
#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…
WNetGetCaps Message #50738
With Windows 3.1, I can link my program to WNetGetCaps by adding: IMPORTS USER.WNETGETCAPS to its .DEF file, and linking as usual. How do I do this with NT? I've tried creating a .LIB file using LIB32 with a .DEF file containing only that line, but it does nothing and…
#50701 #Unicode-programming Message #50736
Batya, The WINEXT forum has just added a new section to cover the Middle East Win 3.1 SDKs including Hebrew, Arabic and the new ME II windows. I do not know when BiDi support will be added to WIN32. You might ask in S15 (Unicode/NLS) section of this forum. Carl…
NMAKE !INCLUDE Message #50722
Hi, I just ran into an oddity with the !INCLUDE directive in NMAKE. If the INCLUDE environment path has a directory in it with a "." (on NTFS), NMAKE doesn't seem to keep scanning the list of directories to find the named include file. If I reorder the INCLUDE variable…
#50701 #Unicode-programming Message #50707
You may reach the Unicode Consortium itself at: 1965 Charleston Road Mountain View, CA 94043 415-961-4189 Fax: 415-966-1637 Internet: unicode-inc@unicode.org They can help get you information on Unicode, although only to a minor extent information regarding Unicode in any particular environment — Windows, etc. Also, keep in mind that Unicode…
#Unicode-programming Message #50701
We are a software developing company residing in Israel and we need to know thw Algorithims involved in writing programs for Windows in Hebrew and in English. Please let me know of anyplace within CompuServe or wherever that I can find information to help us with the programming. I'm told…
$ in names Message #50695
Also, regarding $ in names, compilers have to create symbols with $ in names, for example debug$t and debug$s as well as sections for c++ runtime initilization. I am doing both compiler and linker devlopment for NT.
$ in names Message #50694
the reason I am interested in the rules for $ in names is that I am writing a linker for NT and would like to be sure of the rules.
#NMAKE problem Message #50613
I having a problem getting objects to build in my makefile. The first one in the list builds, but all others are not. What's strange is that it seems that NMAKE realizes the target is out of date, because when I run nmake with: nmake /d I get the following…
NMAKE problem Message #50612
I having a problem getting objects to build in my makefile. The first one in the list builds, but all others are not. What's strange is that it seems that NMAKE realizes the target is out of date, because when I run nmake with: nmake /d I get the following…
NMAKE problem Message #50611
I having a problem getting objects to build in my makefile. The first one in the list builds, but all others are not. What's strange is that it seems that NMAKE realizes the target is out of date, because when I run nmake with: nmake /d I get the following…
MSLANG forum. With the release of the preliminary CD version of Visual C++ to all registered Win32 SDK users compiler and linker questions will now be answered out of the MSLANG forum as of August 9th. Win32 SDK development issues other than Compiler & Linker issues should still be posted…
#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…
#50352 MFC 2.0 for NT?? Message #50595
Brent, Thanks for the information. I had not realized some of these caveats before. Your comments concerning SMP machines is well worth noting – now I just need to persuade my boss about buying…. 🙂 Joe
#Visual C++ CD ROM Message #50593
Mike, Thanks for the information and the clarification. As far at the optimization issue is concerned – I realize that it is a very complicated issue, I brought this up only as an illustration of what could be done. My comments concerning multi-thread capabilities were not intended to be restricted…

Page 1 of 2