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)

#50480 fseek() rets -1 Message #51231
From: james lopes Microsoft Win32 SDK Forum · API-Win32s August 9, 1993 8:28 AM
All I can say is, OH!, Well… *W forms? James.
#50477 fseek() rets -1 Message #51230
From: james lopes Microsoft Win32 SDK Forum · API-Win32s August 9, 1993 8:24 AM
The problem was solved after reading an article in the August MSJ by Scot Gellock "Porting your 16bit application to WindowsNT…..". Thanks James
#51220 GetEnvString() prob. Message #51229
From: Arun Rele Microsoft Win32 SDK Forum · API-Win32s August 9, 1993 8:21 AM
I use GetEnvironmentString() to be able to show the user what special options for the program are set, since there are 50+ different variables that may or may not be set. It would be nice to be able to display all currently set variables without having to use brute force…
#50377 resub findfirst() ? Message #51226
From: james lopes Microsoft Win32 SDK Forum · API-Win32s August 9, 1993 8:14 AM
That would be _findfirst() under WinNT. Thanks for your help Lee. James
From: james lopes Microsoft Win32 SDK Forum · API-Win32s August 9, 1993 8:09 AM
David, I'm sorry I did some research but got side tracked by a few things. I'll have to go back and look up those things again. I'll need to because my app crunches a lot of data, its a project management tool. What happens is during the retrieval of a…
#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,…
>>>I have a Win32 application that displays the current environment in a list box using GetEnvironmentString() and then filling the list box. Under NT it works fine, but under Win32s, all of the environment variables set in DOS are shown, but only a few of the environment variables set by…
>>>Is there a way of directing console output to a file for processes created as detached processes? Essentially what I'd like to do is run a "batch" job and have a log file showing what happened. Alternatively, are there any plans to add a true batch processing facility to NT?…
>>>I must appologise. I meant to say that the program is getting executed when I do WinExec(); however, the return code is 0. This is supposed to indicate a failure, but the program specified in WinExec() ran just fine. After looking further into the problem, it sounds like you don't…
>>>Mike, I guess I'll forgive this transgression this time >>>I have an example of doing this in the current (August 1993) issue of WinTech Journal. It shows how to call 32 bit Dll's from a VB application, but is really just from the Win16 side. I read that article -…
#51071 Resource Manager Message #51213
I think you misaddressed your message – I don't believe you are asking a Win32s problem – perhaps you meant to send it via email or in another section? Lee
>>>As the final SDK REALLY is shipping (mine came today). Everybody should get Win32s 1.1 now. – Jan It's good to hear that you've received the final update. Please let us know what you like/dislike about it. (After nearly 2 years spent on this it's great to finally have it…
#50890 shared mem (again) Message #51211
Something I want to make clear here: You are measuring the number of task switched in Win32s (which depends on the rate at which each application empties its message queue in turn) and when you are running memory copies it slows this down – this makes sense to me. Am…
#50858 fseek() rets -1 Message #51210
>>>So the fault is really my own, since I have 8 gigapiles of manuals, books & cheat sheets open at any given time. I often use the Win16 SDK texts since they are in separate books (yes, this has caused me some grief (time to stock up on Grief Release…
#50678 IPC and Win32s Message #51208
>>>I'm wondering about Microsoft's plans are for making the various IPC mechanisms in Win32 available in Win32s, specifically the RPC and Windows Sockets functionality. I'm involved in the beginning of a project, which might be client-server in structure, and we'd like to have this information in order to choose which…
#50617 win32s & dlls Message #51207
>1) Do the PRELOAD and etc. flags work under NT or are they ignored in either a load-time or run-time linking scenario, or both? If ignored in a load-time linking scenario, does the DLL get loaded into memory at the same time the application is being loaded? From what I…
#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…
Exit Win32s… Message #51195
From: ALEX RAMON Microsoft Win32 SDK Forum · API-Win32s August 8, 1993 12:41 PM
Are there any known bug related to the function ExitWindows and ExitWindowEx in Win32s 1.1 ? All the time my program calls this function I get the folowing DOS message: (I have tried it on DOS 5.0 and 6.0) No free file handles Cannot load Command, system halted And is…
Multi-screen support Message #51193
Steve, You should post this uestion in the IBMHW forum. Just 3 weeks ago there was a HW mfg. who had beta driver support for your type of application. Joe Greer
#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…
VC++ Message #51190
When can we expect to receive VC++ beta for NT ?
#50750 Win32s/Stacker Message #51189
From: bill potvin Microsoft Win32 SDK Forum · API-Win32s August 7, 1993 8:26 PM
Mike, been there; done that. i've also had an extended, frustrating "dialog" with Compaq. again, no luck. i just thought i'd try a stab in the dark, thanks anyway. regards, bill.
#Scsi / Posix Message #51186
Is there a ready way to communicate with SCSI devices in POSIX apps? The CreatFile () function normally used doesn't seem to be in the Posix libraries. — Mark There is 1 Reply.
#51130 Startup doesn't work Message #51182
Michael, The WINEXIT program is availabble on WINNT. I tried moving things around in my startup group, and now everything seems to work fine. I am not quite sure what is going on, but I do know that my win32s program was NOT being started before. I will investigate further,…
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.…
From: John Zempel Microsoft Win32 SDK Forum · API-Win32s August 7, 1993 8:42 AM
Mike, I have an example of doing this in the current (August 1993) issue of WinTech Journal. It shows how to call 32 bit Dll's from a VB application, but is really just from the Win16 side. There is 1 Reply.
From: Jan Bottorff Microsoft Win32 SDK Forum · API-Win32s August 7, 1993 12:27 AM
As the final SDK REALLY is shipping (mine came today). Everybody should get Win32s 1.1 now. – Jan There is 1 Reply.
#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…
>>>I must appologise. I meant to say that the program is getting executed when I do WinExec(); however, the return code is 0. This is supposed to indicate a failure, but the program specified in WinExec() ran just fine. Nice find – you are right. Of course the workaround is…
From: Roy Kayahara Microsoft Win32 SDK Forum · API-Win32s August 6, 1993 7:03 PM
Is there a way of directing console output to a file for processes created as detached processes? Essentially what I'd like to do is run a "batch" job and have a log file showing what happened. Alternatively, are there any plans to add a true batch processing facility to NT?…
Issie, I am not familiar with WINEXIT. What does it do? I looked around and could not find it in the MSWIN32 forum. Also Win32s should be ready to run once Windows comes up. All of the files are loaded on an as needed basis. I can have Win32s apps…
Mike: I'll have to try that. I thought that there might be an easy answer. Allen Kempe
Hi Peter. When you say you compiled with -Zi -Od, do you mean that you followed one of the sample makefiles and specified $(cdebug)? If not, please be sure to follow one of the sample makefiles. Usually, you will get the 'breakpoint not instantiated' error from WINDBG if you are…
Hi Scott. You can install the Windows NT operating system and not install the Win 32 SDK. They are separate steps during installation. Please check the hardware compatibility list for the type of hard drive you have to ensure that it is supported. Please direct any follow up questions on…
#50569 #_fstat broken? Message #51100
>>>I am not using crtdll.lib; I am using libc.lib Is there are reason that you can't switch to crtdll? >>>Also, no I am not using the debugging version of win32s. I think you would find it useful and productive to use this, at least for a while. Lee There is…
Mike, THANX Bill Whitman There is 1 Reply.
Well, I tried a few things. The problem seems to occur with WINEXIT that is available on the forum. I found that If I put it first in the startup list, it does not start. If I place it third, it does not start. If I place it fourth. (last)…
Stephen, Place your DOS/Windows Comm access functions in a DLL and the use the Universal Thunks to load and access this DLL from your Win32s application. You can then use these functions for your comm calls. For Windows NT have a different DLL that uses the Win32 Comm API's to…
#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,…
cron equivilant ? Message #51082
George, I am looking into this and should have an answer for you soon. Sorry that it is taking so long to get you an answer on this. Thanks, Michael Markley [Microsoft Developer Support]
#50209 Porting Help Message #51081
Tom, Sorry that this response has taken so long. I've been doing some research and have reached a point where I need additional information from you before continuing. Are you trying to use the Win32 API's or is the a POSIX or C-runtime type of question? Also are you trying…
#Resource Manager Message #51071
From: Siew Chuah Microsoft Win32 SDK Forum · API-Win32s August 6, 1993 1:00 PM
As far as I know, the "Resource Manager" (RM) is running every hour "cleaning up resources". Does RM affect the semaphores or mutex objects? And if so, how? I am using a piece of shared memory which I do not free until the end of my program. I protect it…
Issie, I have not been able to reproduce this problem. I have tried FreeCell and several other applications and they all start without any problems. Have you tried putting FreeCell into your Startup Group to see if it will run? Thanks, Michael Markley [Microsoft Developer Support] There is 1 Reply.
Jan, Thanks, I re-read my post and noticed that I said ftp.rhino.com when I meant rhino.microsoft.com. Unfortunately I don't type as fast as I think so I tend to lose characters sometimes :^). Thanks, Michael Markley [Microsoft Developer Support] There is 1 Reply.
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…
From: dale hagen Microsoft Win32 SDK Forum · Tools-Win32 SDK August 6, 1993 11:31 AM
thanks
#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.

Page 2 of 6