CompuServe Archive

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

Search Results (300 messages)

#resub findfirst() ? Message #50377
>>>I'm confused as to the meaning of "32-bit" in the document Q99456.INF. My confusion is directed toward the "_findfirst()" function that is common to both 16-bit and 32-bit compilers. According to the C Runtime docs as shipped with the Win32 SDK for Windows NT, this function is only available with…
#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…
#Win32s data Message #50365
David, Memory allocations under Win32s are always above the 2Gb point. It is not possible to get memory below this address. The recommended solution is to use the low bit as a mark bit. You can use the GetSystemInfo() API to determine the upper and lower limits of application address…
Is the final SDK going to come with the startup source for CL386? And/or is the VC++/NT going to come with startup source? I've had to come up with some ugly kludges because I can't modify the startup, and I'd really like to clean them up! – Rex There is…
From: David S. Platt Microsoft Win32 SDK Forum · API-Win32s August 2, 1993 8:09 AM
Thanx for checking, James. It's trickier than it looks, isn't it ? I mean, if a Win32s app calls GlobalAlloc(), where does the block come from ? Either it comes from the Win 3.1 global heap, or it's mapped to somewhere else. But which ? But where ? Stay tuned…
#50351 #MFC 2.0 for NT?? Message #50352
[>> Continued from previous msg] last stack state can be examined before MFC calls exit. (This is in fact a problem under Win16 as well.) For all you MFC developer's attempting to run MultiThreaded apps under NT you MUST test with SMP boxes. Alot of these problems DID NOT really…
#MFC 2.0 for NT?? Message #50351
MFC 2.0 will never be multi-threaded if it's based on the same internal premises that MFC 2.0 uses under DOS/Win16. I've dealt w/ these issues for A LONG TIME under NT with MFC 1.0 in the current SDK. Here's some stuff that might help you out (or hinder your use…
Named Pipes APIs Message #50342
From: Alex Maramag Microsoft Win32 SDK Forum · API-Win32s August 1, 1993 11:59 PM
Hi, I have a question. Just what files do I need to make win 3.1 into win32? I appreciate it alex
#Uninstall NT? Message #50340
Hello Nancy, To remove the NT from my drive (partitioned 1gig as C: as FAT,D: at FAT ,E: as FAT and NT is on the next drive as NTFS) do I type in "delnode" when in NT or when in DOS? How will the partition be converted to FAT from…
Win32s under 3.1 Message #50339
From: Greg Darke Microsoft Win32 SDK Forum · API-Win32s August 1, 1993 8:44 PM
Hi Jackie, Thanks for your suggestion. Unfortunately, the problem does not seem to be VM related. The only common factor that I can find at this stage is the 20MB RAM in each machine. Regards….Greg Darke
#Win32s under 3.1 Message #50338
From: Greg Darke Microsoft Win32 SDK Forum · API-Win32s August 1, 1993 8:44 PM
Hi Jeff, Sorry it's taken me so long to reply. Loading or not loading SHARE has no effect on the machines that don't work. (It also has no effect on the one that does work either!) BTW, I didn't think this thing was so flaky! Greg There is 1 Reply.
Win32s under 3.1 Message #50337
From: Greg Darke Microsoft Win32 SDK Forum · API-Win32s August 1, 1993 8:44 PM
Hi Mike, No STACKER. Still no success either!!! Greg Darke
#linker question Message #50332
There is an undocumented feature in the linker which makes the linker treat section names that have a $ in them different from other section names. The rule seems to be that when placing sections in the PE that sections are placed in the order encounterred except that sections with…
Colin, The system I'm using on both machines is March Beta 1993, version 1.404 Arie. There is 1 Reply.
#50293 #fseek() rets -1 Message #50313
From: james lopes Microsoft Win32 SDK Forum · API-Win32s August 1, 1993 2:01 AM
You know, we haave our code working to a point under NT. That point being it works well enough for out sales force to take the code out to a customer with the idea of showing them we are working on an NT port and this is what we have…
#50248 #fseek() rets -1 Message #50309
From: james lopes Microsoft Win32 SDK Forum · API-Win32s August 1, 1993 1:53 AM
Lets keep in touch on this. We are porting a Unicode build are you also?. We are now getting a valide file handle and converting it to a file pointer and getting bad data in the stat_buf. I forget whT what the condition was at the moment. I at home…
#Array dim bugs Message #50295
A general debugging question if I may: Suppose the sources of an NT C program are split between 2 files. Suppose the 1st file declares a 1 dimensional array: int ary [10]; Suppose the 2nd file incorrectly references the array as 2 dimensional: extern int ary [] [8]; This is…
#fseek() rets -1 Message #50293
From: PAUL BROPHY Microsoft Win32 SDK Forum · API-Win32s July 31, 1993 9:24 PM
James, I had a similar problem with lseek. After I RTFM I found the SetFilePointer function. This works on file handles, not file pointers. Once I switched to SetFilePointer, everything worked fine on NT. Haven't test yet on Win32s on 3.1. If you can use the NT file functions, give…
Dr. Sontheimer, rufen Sie mich bitte in Munchen unter 089.481006 an. Vielleicht kann ich Ihnen behilflich sein. Thomas Curran
From: Sysop Microsoft Win32 SDK Forum · Tools-Third Party July 31, 1993 10:57 AM
I have sent an earlier message to you, but never got a reply. Let me try again: I am a R&D Manager for System Development of one of the leading Pharmaceutical Firms. We have used PVCS intensively over the last year in one development group working with Windows. We have…
#Win32s, again Message #50277
From: Dennis Weldy Microsoft Win32 SDK Forum · API-Win32s July 31, 1993 8:15 AM
Ahh…. OK. I just looked it up in the Win32s programmers reference, and it does say that paging has to be enabled under Win 3.1. The message you receive under these circumstances (trying to run win32 when paging is not enabled) is somewhat misleading. It indicates that the problem lies…
p.s. For an "undocumented" feature, this looks like a pretty safe one to use. I got a kick out of this comment about the task structure in TDB.INC: ; DON'T YOU DARE CHANGE ANYTHING IN HERE ; OR RAOR WILL KILL YOU ; OLE DEPENDS ON THIS 3/25/91 -Mike
From: Michael Geary Microsoft Win32 SDK Forum · API-Win32s July 30, 1993 11:25 PM
Great, now I have two undocumented methods! Actually, I like your method better than mine, since at least it's documented in TDB.INC… Thanks! -Mike
SysOp, I seem to be having a problem with PIPES. This is what I am doing I open the SERVER: CreateNamedPipe("me", PIPE_ACCESS_INBOUND | FILE_FLAG_OVERLAPPED, PIPE_READMODE_MESSAGE | PIPE_NOWAIT | PIPE_TYPE_MESSAGE, 50, 32000, 32000, 0, NULL); ConnectNamedPipe(…) This allows the server to continue processing while the Client is starting or vice versa.…
Of course, there is always an "undocumented" way. Familiar with "IsWinOldAp", which checks offset 16h in TDB 0x0001 is WinOldAp 0x0008 is OS/2 (??) 0x0010 is Win32s nag There are 2 Replies.
From: C.W.Chung Microsoft Win32 SDK Forum · API-Win32s July 30, 1993 6:21 PM
WinExec() always seems to return 0 under win32s. This is supposed to be an error. If it is successfull, it is supposed to return a value greater than 32. Is there something wrong with win32s? KQ There is 1 Reply.
#spawn Message #50250
From: C.W.Chung Microsoft Win32 SDK Forum · API-Win32s July 30, 1993 6:19 PM
Spawn does not seem to be able to execute other programs under win32s. It is documented as being win32s compatible. What is wrong? KQ There is 1 Reply.
#fstat() returns -1 Message #50249
From: C.W.Chung Microsoft Win32 SDK Forum · API-Win32s July 30, 1993 6:17 PM
fstat() returns -1 all the time under win32s. However, under identical conditions it returns 0 under NT. What gives? KQ There is 1 Reply.
#fseek() rets -1 Message #50248
From: C.W.Chung Microsoft Win32 SDK Forum · API-Win32s July 30, 1993 6:15 PM
I am having a similar problem with fstat. It always seems to return -1. Under identical conditions under NT it returns zero. I wonder what they did to the win32s stuff. KQ There are 2 Replies.
#Complex numbers Message #50238
The compiler does not have a complex class! Isn't that part of the C++ standard now? Is there one available somewhere? I've been using the Borland compiler under DOS until now. Rob Lefebvre There is 1 Reply.
#Expression Order Message #50237
I'm using the Zinc libraries for my interface. A common piece of code looks like this: *WINDOW + OBJECT1 + OBJECT2 + OBJECT3; This adds three objects to a window (linked list). Under NT, they don't always get created in the correct order. For example, if the objects are generated…
Well, first I have to find somebody with the toohelp docs. Any more specific suggestions on what API's to use, or where in the knowledgebase to look for more information. This is just a little vague to me right now. /EXIT There is 1 Reply.
#Briken SED.EXE Message #50231
Hi, Can anyone help me. I have a copy of SED.EXE, which taken from this forum. Whenever I try and run it I get an error similar to "The instruction at "0x000143a6" referenced memory at "0x20646580". The memory could not be read. Does anyone know why? thanks Wayne There is…
I have a Windows 3.1 application that scans through the list of top-level application windows and needs to know whether a window belongs to a Win16 or Win32s application. I can of course easily get the window's instance handle, module handle, or task handle. Given any of these, is there…
#BETA2FIX.EXE Message #50211
Please advise on where to get BETA2FIX.EXE and BETA2.DLL. There is 1 Reply.
#Win32s Help Message #50210
Hi, As per the newsflash, I downloaded the Win32.HLP – its excellent, covering all the tricky issues we've been debating recently (shared DLL data etc). Thanks for providing this MS, and in such a useful format. Feedback Department: I would really like to see in a future release of Win32s…
#Porting Help Message #50209
Could anyone suggest a NT implementation method for converting from UNIX select or poll functions?? I am having a hard time finding out a suitable alternative within the NT environment. Thanks in advance for any help. Tom Lindley There is 1 Reply.
#DialogBoxIndirect Message #50204
From: Jackie Luppi Microsoft Win32 SDK Forum · API-Win32s July 30, 1993 1:00 PM
HI, I have a question about the DialogBoxIndirect API, actually two questions: If I use DS_SETFONT what happens if the font I specify is not supported ?? Since I am specifying a point size and type face name I am not guaranteed that the font will be supported Is there…
The Win32s API set is a subset of the Win32 API so recompiling for non-Intel environments will not result in any performance penalty when compared to the Intel binary. Also it is not necessary to recompile a Win32s app for Intel platforms. The same binary runs on Windows NT as…
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…
> if C: drive is my current default then "cd /apps/foo" won't work, but "cd c:/apps/foo" and "cd \apps\foo" will. Oh, my goodness, Brian. I wish you had called. This is an easy customization. To make the C shell behave the way you'd like, set the environment variable SWITCHCHARS to…
Hi – I would like to report a bug in the CL386 x86 C compiler for NT in the March 1993 CD release. The problem is a place where a volatile reference is moved across a sequence point in my program: outp(…); if (*p != …) In this segment of…
Arthur, > Can you send me information on your GNU Toolkit? Thanks, Alan
I know I'm going to regret jumping into the middle of what has obviously become a personal argument, but I would like to say that as a die-hard UNIX head that has recently moved to NT, I found your C-shell somewhat of a misnomer. It is an excellent shell, but…
#Visual C++ CD ROM Message #50178
Does VC++/NT do C++ Templates? If not, will the release version? Eric Bergman-Terrell There is 1 Reply. Read action !t
#MIGRATION FROM OS/2 Message #50175
HI, I am looking for a complete set of "The OS/2 to Windows Migration Kit plus tool updates". Is this available freely. I see some of the tools mentioned in John Halls article are here in this forum, but some essential parts don't seem to be here. Can someone help…
← Previous 1 2 4 5 6

Page 6 of 6