HDTenEightyP/NetNews huggingface dataset:
From: ejs@borland.com (Eric Swenson)
Subject: Re: WINDEBUG.DLL and Windows 3.1
Organization: Borland International
Date: Fri, 10 Apr 1992 18:20:54 GMT

In article <1992Apr9.143754.24440@amhux2.amherst.edu> pdchapin@amhux1.amherst.edu (Paul Chapin) writes:
>I've just installed Windows 3.1 and tried to use the TurboDebugger for
>Windows that comes with Borland's C++.  It gets as far as trying to
>actually load the executable and gives me a "Can't Load WINDEBUG.DLL"
>message and then dies.

There is a replacement WINDEBUG.DLL available that allows TDW to run
with Windows 3.1.  You can get it from:

	Compuserve
	Genie
	Bix
	Borland BBS (408-439-9096)
	
There is a document available describing the problems and solutions.
You can get it from the above places (document number 868) as well
as through

	calling tech support
	calling our techfax number (800-822-4269) 
		request document 868

On the online systems, the file is called ti868.zip.

Both the document and the zip file containing the new windebug.dll 
will be available via anonymous ftp from various sites soon.  They
have been uploaded, but not made publicly visible yet.

-- Eric Swenson (Borland R&D)
From: sumargoh@serss0.fiu.edu (H. Sumargo)
Newsgroups: comp.windows.ms.programmer
Subject: A Device Driver that Maps any LPT# Port to a Network Port
Keywords: Network
Date: 15 Apr 92 01:05:10 GMT
Distribution: World
Organization: Florida International Univ.


I appologize if this is not the right place to post the above question.  But, who knows if I get the response.

I have a 386-20 Zenith currently attached to the network with ethernet card.  What I would like to do is to be able to print from any DOS application to the network printer either directly or through a redirection.  For this, I am looking for a device driver that allows me to map any LPT# port to the network port such that if I print to that port, it will be redirected to any of the designated network printer.  Please send you response to sumargoh@serss0.fiu.edu

Thank you.
From: is@groucho.dev.uga.edu (Bob Stearns)
Newsgroups: comp.windows.ms.programmer
Subject: Overlapped text boxes in VB
Date: 15 Apr 92 13:27:33 GMT
Organization: University of Georgia

I wish to display a hierarchical collection of text paragraphs (read
outline) in overlapped text boxes, the highest level containing the box
for the second level which in turn contains the box for the third level.
Unfortunately, if a box "on top" of another box is not full, the "lower"
box bleeds back throuhg the upper one. Does anyone know how to do this
trick in VB? MicroSloth says that overlapping controls are not supported
and that anomalies are known to occur. Thanks a lot guys! As a
programmer without infinite time for study any assistance in this would
be greatly appreciated.
-- 
Bob Stearns
University of Georgia
is@groucho.dev.uga.edu
(404)542-5110
From: hagen@sicsun.epfl.ch (Florence HAGEN)
Newsgroups: comp.windows.ms.programmer
Subject: VB and DLL in Borland C++
Date: 8 Apr 92 09:14:01 GMT
Organization: Ecole Polytechnique Federale de Lausanne, Suisse


Hello,

I am going to try to call a DLL written,compiled and linked with Borland C++ 2.0from Visual Basic.
As I execute the VB program, VB says: Sub or Function not defined.
I work with Windows 3.0.
I tried the same thing with a DLL written, compiled and linked with Microsoft C 6.0 and it was successfull.
What is the problem with Borland?
I don't understand.
Here are the files.

flo.hpp
-------
BOOL FAR PASCAL LibMain(HANDLE,WORD,WORD,LPSTR);
int FAR PASCAL anamain(int);

pilot.cpp
------------------
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

#include <windows.h>
#include "flo.hpp"

int FAR PASCAL LibMain( HANDLE hInstance, WORD wDataSegment,
                                   WORD wHeapSize, LPSTR lpszCmdLine )
{
    if ( wHeapSize != 0 )
        UnlockData( 0 );
    return 1;
}

int far pascal anamain(int i)
{
  int j=9;
  return (i+j);
}

pilot.def
---------
LIBRARY pilot
DESCRIPTION 'ESSAI DLL en Borland C++2.0 FH-NM.31.03.92'
EXETYPE WINDOWS
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE SINGLE
HEAPSIZE       1024 
EXPORTS anamain
Here is the VB code in the global module:

Declare Function anamain Lib "c:\mks\flo\dll\pilot.dll" (Byval s1%) as Integer

And here the call of the function:

s1%=Val(Readin.Txt)
res%=anamain(s1%)
Readout.Txt=Str$(res%)

Could somebody help me?
My mailing address is : hagen@lesosun1.epfl.ch or hagen@sicsun.epfl.ch
Thank you.
FH.
Newsgroups: comp.windows.ms.programmer
From: peter@kentrox.uucp ()
Subject: OWL Multiple Selection LB in DLL?
Organization: Kentrox Industries, Inc.
Date: Fri, 3 Apr 1992 23:21:08 GMT

I'm writing a small program in Borland C++, using OWL. I have a multiple
selection list box which works just fine when the program is compiled as
an application, but when it's compiled as a DLL, it no longer works.  I
looked at ListBox->Attr.Style and it's set to LBS_MULTIPLESEL, but 
when I do ListBox->GetSelIndexes( SelIndexes, NumSelected), it returns -1
(which the docs say means that it is not a multiple selection list box).

Anyone seen this problem?  I'm really at a loss.  I've tried calling
Borland, but their line has been busy.  I'll keep trying, but I was just
curious to see if anyone else has experienced anything like this.

Pete
-- 
Peter Uchytil       | Kentrox Industries | "Don't give up on desire
uunet!kentrox!peter | Portland, Oregon   |  And you will have your day"
Newsgroups: comp.windows.ms.programmer
From: dorsai@iear.arts.rpi.edu (gregory d moncreaff)
Subject: Turbo C++ Windows (Borland)
Organization: the committee for asethetic deletions
Date: Fri, 17 Apr 1992 03:44:52 GMT

a couple of questions:

	is there a windows 3.1 update planned/available?

	are there any know bugs/wierdness in running it under 3.1

thanks,
g
From: is@groucho.dev.uga.edu (Bob Stearns)
Newsgroups: comp.windows.ms.programmer
Subject: VB - unwind form stack
Date: 14 Apr 92 13:35:17 GMT
Organization: University of Georgia

An application I am building normally acts like a stack of forms,
growing and shrinking as the user processes data. I wish to provide a
"I'm lost" key on each screen which unwinds the entire current stack of
forms back to the primary one, a top level menu type of affair. I have
tried placing a form.Hide in the form.gotfocus subroutine of each form,
but this seems to be only partially successful. Do you have any idea on
this particular problem? 
 
Your attention to this mundane problem is appreciated.

-- 
Bob Stearns
University of Georgia
is@groucho.dev.uga.edu
(404)542-5110
Newsgroups: comp.windows.ms.programmer
From: dch2@engr.uark.edu (David Hobbs)
Subject: Drawing with Rubberband lines???
Organization: University of Arkansas
Date: Wed, 15 Apr 1992 12:36:01 GMT

Here's one for you EXPERIENCED windows programmers.  I'm working on some
Image Processing routines where I need to be able to draw rubberband lines
to select an area to zoom.  Is there some kind of pen sytle that does it
or do I have to do a manual XOR-type redraw?

Please respond by email, although if not, I read this group everyday anyway:).

Thanks,

D.
-- 
-----------------------------------------------------------------
| David Hobbs, Graduate Student  |  dch2@engr.uark.edu          |
|  and Evil TA, CSEG Dept.,      |                              |
|  University of Arkansas	 |  #include <std_disclaimers>  |
-----------------------------------------------------------------
| "Arkansas is 20 years behind everyone else, and by-golly,     |
|  that's where I want to be when the world comes to an end!"   |
|                                          - Joe Wrobel         |
-----------------------------------------------------------------
From: indridi@rhi.hi.is (Indridi Bjornsson)
Newsgroups: comp.windows.ms.programmer
Subject: Trouble using INT's from Windows-program
Date: 9 Apr 92 12:25:31 GMT
Reply-To: indridi@krafla (Indridi Bjornsson)
Organization: University of Iceland (RHI)


       Greatings fellow netters :)

   A friend of mine is writing some kind of communication
program in windows. The driver is called TES and is 
located at INT 14. The services TES provides are A0 through A8.
He is using Borland C++ 3.0. 

   Most of the services work, just by using int86x() inside
the program, but when he tries to send a string, TES doesn't
seem to get the right one, just some garbage. 

   The string is supposed to be pointed by DS:SI. I.e. to do a
connect:

-------------------------------------------------------------
   AH = A3h Connect a New Session with <NAME>

Call with:
   DS:SI points to a (null-terminated) string within the user 
   data space, naming a known server.

Returns with:
   AH = 0 if successful, and AL = session number activated, or
   AH = FF if unsuccessful, and AL = error code.
-------------------------------------------------------------
   
   So he though of doing something like:

void connect()
{
   union REGS regs;
   struct SREGS sregs;
   static char *Name = "Server";

   regs.x.ax = 0xA300;
   regs.x.dx = 0x00;
   regs.x.si = FP_OFF( Name );
   sregs.ds = FP_SEG( Name );

   int86x( INT, &regs, &regs, &sregs );
}


   But this doesn't seem to work, TES always get send some 
garbaged string. That is if an UAE doesn't creep up at his
display.


   So what is the catch here? It doesn't seem to matter wether 
he declares all segments FIXED or not?

Thanks,
Indridi.

----------------------------------------------------------------------------
Indridi Bjornsson       | No rights reserved. All part of this publication  |
Taeknigardur, Dunhaga 5 | may be reproduced, in any form or by any means,   |
107 Reykjavik           | except intended or intensive sexual harassment    |
ICELAND                 | against elderly animals and children.             |
----------------------------------------------------------------------------
From: jlongva@Siri.Unit.NO (J|rgen Longva)
Newsgroups: comp.windows.ms.programmer,comp.windoes.ms
Subject: Unwanted Multitasking!!
Date: 10 Apr 92 13:36:56 GMT
Reply-To: jlongva@Siri.Unit.NO (J|rgen Longva)
Organization: University of Trondheim

Hi!

I'm writing a windos-program that must call external .exe-files during
it's runtime. I use WinExec(...) to do this, but there is a small prob-
lem with this method: the Windows program does not stop!

The external routine must pass data back to the windows-program, and I
use the hard disk as a buffer:

  // Executes the external routine.
  if (WinExec("routine.exe", SW_HIDE) < 32)
    --> Error

  // Reads the information returned by the external routine.
  if ((file = _open("info.txt", O_RDWR)) == -1)
    --> Error

  ...

The problem is that the main-program continues to run - and reaches the
line where I open the result-file too early. I've made a .pif-file for
the externl routine that checks the "Exclusive"-flag for priority.

How can I check when the external routine is finished? Is there an al-
ternative to WinExec(...) (the LoadModule(...) does only work for win-
dows .exe-files)?

I must find a solution to this quickly, as this problem delays a whole
project.

Thanks for any help.

-- 
Regards,

J|rgen Longva <jlongva@lise.unit.no>

Student of technology
University of Trondheim
Norway.
Newsgroups: comp.windows.ms.programmer
From: arra@a.cs.okstate.edu (ARRA SHRAVAN KUMAR)
Subject: How to change the color of a bitmap on the display?
Organization: Oklahoma State University, Computer Science, Stillwater
Distribution: usa
Date: Thu, 16 Apr 92 03:51:08 GMT

Dear friends,

	I am using bitmaps in my application. I created a bitmap usiing
Borland's wrt and used loadbitmap function to load this into my application.
I want to temporarily change the color of this bitmap on the display. 
How can I do this? Is it possible by selecting this into a memory
DC and doing something? Please help me.

Thanks 
Shravan
arra@a.cs.okstate.edu
From: veilm00@terre.DMI.USherb.CA (MARC VEILLEUX)
Newsgroups: comp.windows.ms.programmer
Subject: Visual Basic QUESTIONS (Some of them need a C & VB programmer)
Date: 7 Apr 92 20:43:00 GMT
Organization: Universite de Sherbrooke -- DMI

Here's my list:
---------------
1 - How can I get the free memory, ressources & windows mode?


2 - How can I know if an instace of a certain program is running?

3 - Is the a way to speed up the ADDITEM command?  Seems so slow.
    Dear C&VC programmers, who can I use a windows command to add an item
    to a combo box.  What I want to do is to bypass the ADDITEM command.

4 - Same thing for checkbox, instead it's just the toggling on/off

5 - How can I pass a null string to WriteProfileString in order to erase
    a section or a keyword.

6 - How can I erase a section or keyword with WriteProfileString.
    As far as I know, you can this function with a null keyword for
    deleting the section & a null keyword value to delete the keywod.

7 - What's the best way to be sure that a picture will be behing a text
    box or any item.  I want to add a 3d feel to my textbox.

8 - Is the a way to create a sizeable, fixed single or fixed double window
    without the caption.

9 - Is the a way to simulate a call to the move option in the control box.

10 - Or can I remove/add item to the control box?

This is a first batch.  :)

Where did I get to questions?  I'm programming an utility call MaxBAR.  It's
like NextBAR & AppBAR more more powerful & easir to setup.

Wanna beta test it (Version .78h so far)?

E-Mail me & why I should let you beta test it.

Thanx for your time, I know it's precious!

Bye :)

-- 
+--------------------------+---------------------------------------------------+
|Max Halen                 |"Ain't nothing like MAPLE syrup!" - Max Halen      |
|Max@punisher.Sherb.CAM.ORG|"If you're guilty, you gotta die" - The Punisher   |
|veilm00@DMI.USherb.CA     |"I love my baby POUNDCAKE";       - Van Halen      |
Newsgroups: comp.windows.ms.programmer
From: heathh@cco.caltech.edu (Heath Ian Hunnicutt)
Subject: Syntax for BCC++'s IMPLIB to convert to 3.1
Organization: California Institute of Technology, Pasadena
Date: Thu, 16 Apr 1992 05:00:26 GMT

Howdy,
	Do any Borland C++ users happen to the command line to feed
IMPLIB to get it to create a version 3.1 IMPORT.LIB?

	I tried the following:
IMPLIB /i IMPORT.LIB GDI.EXE KRNL386.EXE USER.EXE KEYBOARD.DRV SOUND.DRV
WIN87EM.DLL OLECLI.DLL ...(I forget what other new DLLs)

	First: Win 3.1 seems to have replaced KERNEL.EXE with KRNL286.EXE
and KRNL386.EXE.  Which is appropriate for use in IMPORT.LIB?  Will
linking KRNL386.EXE restrict my WinApps to 386 systems only?

	Second: Which new DLL's are considered
part of the IMPORT.LIB for 3.1?

	Third: Regardless of the answers to 1 and 2, when I run IMPLIB,
I get a "Unkown symbol : "__GP"" error.  What gives?

Thanks,
Heath

-- 
Pert Plus is a technological breakthrough designed for today's active people
to look great without a fuss.  Pert Plus is a _complete shampoo plus
conditioner in one bottle_!  PERT PLUS REALLY WORKS!
(My opinions are my own, not Caltech's, not even Procter & Gamble's)
Newsgroups: comp.windows.ms.programmer,comp.lang.c++
From: ebergman@isis.cs.du.edu (Eric Bergman-Terrell)
Subject: BCC TDW Doesn't Work Under Win 3.1
Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
Date: Tue, 7 Apr 92 03:52:08 GMT

The TDW debugger doesn't seem to work anymore now that I've installed Windows
version 3.1.  It complains that it "Can't Load WINDEBUG.DLL".  (windebug.dll
is in \borlandc\bin).

I know that we (BCC users) have to wait about a month for a 3.1 maintenance
upgrade, but I was hoping that the tools would still allow us to compile
and debug 3.0 programs.

Are there any solutions to make TDW work under Windows 3.1?

The bug I was trying to fix:  my program doesn't want to scale TrueType
fonts.  Do TrueType fonts identify themselves as scalable any differently
than Windows 3.0 fonts did?  If so, how can one recognize a TrueType font?

Terrell
Newsgroups: comp.windows.ms.programmer
From: "Stephen Guthrie" <guthrie@iuvax.cs.indiana.edu>
Subject: Sound in 3.1
Keywords: Sound
Organization: Computer Science, Indiana University
Date: Tue, 14 Apr 92 09:05:39 -0500


   I've heard you can use SOUND.DRV in Windows 3.1 to play music
through your pc, but I have been unable to determine how.  I tried to
load this driver, but it wouldn't let me.  How does this give me sound
capabilities?  Any help appreciated?


Steve
Newsgroups: comp.windows.ms.programmer
From: jaz@icd.ab.com (Jack A. Zucker)
Subject: UnlockResource()
Organization: Allen-Bradley Company, Inc.
Date: Mon, 6 Apr 1992 20:54:34 GMT

In which DLL is this function found. I did a dump of Kernel.exe
and User.exe and it is not to be found, yet its in the manual
and documented regarding freeing user resources.

-- 

                       (Chasin' the Trane)

| Jack A Zucker                              {uunet}!jaz@icd.ab.com |
| Allen-Bradley Company, Inc.                    or  ICCGCC::ZUCKER |
| 747 Alpha Drive                                                   |
| Highland Hts., OH 44143 Phone(216) 646-4668   FAX: (216) 646-4484 | 

Newsgroups: comp.windows.ms.programmer
From: rwallace@nebula.mentorg.com (Richard Wallace)
Subject: Is 3.1 SDK Available???
Originator: rwallace@nebula
Date: Wed, 08 Apr 1992 23:58:36 GMT
Organization: Mentor Graphics 
Keywords: SDK, 3.1
Followup-To: 


I have seen a few posts recently refering to a 3.1 SDK.  Does anyone know if it
is available yet, how much for an upgrade, and what does it include that 7.0 C/C++ does not?

Thanks for any info.
Richard


-- 
=============================================================================
>< Richard Wallace                             richard_wallace@mentorg.com ><
><                                                                         ><
=============================================================================
From: J.LAIDMAN@COWAN.EDU.AU
Newsgroups: comp.windows.ms.programmer
Subject: Problem with Disable() and Enable()
Date: 3 Apr 92 12:23:04 GMT
Article-I.D.: saas.9204031222.AA03880
X-Unparsable-Date: Fri, 3 Apr 92 20:22:21 WST

Is there someone who can help me?  I want to use the ENABLE() and DISABLE()
functions built into the KEYBOARD.DRV.  DISABLE() works fine.  It disables
the windows keyboard driver and restores the normal DOS operation of INT-9,
allowing the use of INT-16.

However, re-enabling the windows keyboard driver is what I can't do.  ENABLE()
requires the address of the windows keyboard event handler.

Is there anyone out there who knows the solution, or how to go about finding
the solution.

----------------------------------------------------------------------
Jeremy Laidman				Ph: (+61 9) 370 6648
Department of Computer Science		Fx: (+61 9) 370 2910
Edith Cowan University			Email: j.laidman@cowan.edu.au
Perth, Western Australia
 
Newsgroups: comp.windows.ms.programmer
From: nat@netcom.com (Nathaniel Stitt)
Subject: Re: Win31 MMSYSTEM.DLL (Multimedia functions)
Date: Mon, 13 Apr 92 06:22:18 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 

In article <1992Apr11.221000.19163@usenet.ins.cwru.edu> aa596@cleveland.Freenet.Edu (Peter Haller) writes:
>
>In a previous article, todd@uhunix.uhcc.Hawaii.Edu (Todd Ogasawara) says:
>
. . . 
>MME API under BC++ 3.0. (Is this included in the announced update to
>3.1? Does MS C/C++ 7.0 include the MME API header?)

Yes. C7 includes the 3.1 SDK which includes mmsystem.h.  I know this is
true because I felt it in a dream.


>
>PCH
>-- 
>Peter C. Haller				|	'If you do what you 
>Imagination Processing Systems		|	have always done,
>aa596@cleveland.Freenet.Edu 		|	expect what you have
>"Are we having fun yet?"		|	always recieved.'


nat@netcom.com
That's me!
Newsgroups: comp.windows.ms.programmer
From: mmshah@im.lcs.mit.edu (Milan Shah)
Subject: CVW won't work under 3.1?
Organization: MIT Lab for Computer Science
Distribution: comp
Date: Thu, 16 Apr 1992 05:43:48 GMT


Hello all!

I was wondering, does cvw 3.05 run under windows 3.1? This is the CVW
that originally came with MSC 6.00 and to which MS later issued an
upgrade that let it work in single monitor mode. I read all the files
that came with the update (and tried all their VCV.386 device crap),
and scanned the apps.hlp file, but there is no reference to CVW either
running or not under win 3.1

I can't get it to run at all. I double click on it, the hour glass
comes on, and then back to Program Manager as if I had never double
clicked at all. 

Any thoughts?

Thanks!

Milan
From: ssvvss@mixcom.com (Palladio Software)
Newsgroups: comp.windows.ms.programmer
Subject: Printing dotted lines
Date: 6 Apr 92 16:59:23 GMT
Article-I.D.: mixcom.1992Apr06.165923.19225
Distribution: usa
Organization: Milwaukee Internet Xchange BBS, Milwaukee, WI U.S.A.

When I print dotted lines, they show up as double thick lines.  This
only happens on dot-matrix printers - they show up fine on postscript
printers.  Any ideas?  (BTW, I'm using C++/Views).

Doug Earl
Palladio Software
dae@synetic.mixcom.com
Newsgroups: comp.windows.ms.programmer,comp.windows.x,comp.unix.programmer
From: richb@kronos.com (Rich Braun)
Subject: Comments sought about XVT
Date: Wed, 15 Apr 1992 17:26:09 GMT
Organization: Kronos Inc. / Waltham, MA
Disclaimer: This posting is a personal opinion and not that of Kronos Inc.

I'm responsible for product portability of an application which must
run on, among other systems, Unix, AIX, VAX/VMS, and MS-DOS.  Currently
the application has a low-tech character-based user interface (somewhat
like the pull-down menus associated with a lot of DOS applications).
We're starting the process of looking at adding on an enhanced GUI
for these systems (primarily Motif/X and MS-Windows).

The application/program interface offered by XVT Software (Boulder, CO)
is one possible route we may take.

If you have experience with XVT or any other platform-independent
approach to building GUI-based programs, I'm interested in getting
comments or recommendations.  Please post or email.  I will keep
emailed comments confidential.

Thanks,
-rich
From: inpd@mel.dbce.csiro.au (Ian Davidson)
Newsgroups: comp.windows.ms.programmer
Subject: ***** How do you set the last modify date on a file ???
Keywords: files, last access date, chmod
Date: 8 Apr 92 02:09:59 GMT
Organization: CSIRO, Div. Building Constr. and Eng'ing, Melb., Australia

Hi,

I am writing a file copy routine in C.  The routine copies the file but sets
the TARGET file's last modified date and time as the current time not as the source files last modified date and time.   

Does anybody have any ideas how I would get the source and target files last
access times to be the same.

I could reverse engineer command.com to see how copy does it I can think of a
million other things I would rather do (like have my spleen removed).

 Thanks in anticipation,
 yours in computing




-- 
| Ian Davidson       CSIRO Division of Building, Construction and Engineering |
|                    Post Office Box 56, Highett, Victoria, Australia   3190  |
| Internet: inpd@mel.dbce.csiro.au   Tel: +61 3 556 2211  Fax: +61 3 553 2819 |
|_____________________________________________________________________________|
From: ng@eemips.tamu.edu (Kit-Tong Ng)
Newsgroups: comp.windows.ms.programmer
Subject: ?? Windows for 3D ????
Date: 11 Apr 92 15:29:08 GMT
Organization: Texas A&M University





Howdy:

Is there any software packages out there that can be used to program 3-D in Microsoft Window environment ???
I am actually looking for one that has the capabilities of DDE, DDL and all the wonderful things a MS windows has.

Please E-mail me at "kit@Napolean.tamu.edu" or "ng@eemips.tamu.edu"
Newsgroups: comp.windows.ms.programmer
Subject: Edit contriil's position
From: rocker@desire.wright.edu
Date: 14 Apr 92 21:30:56 EST
Organization: Wright State University 

	Is there anyway of getting the position of the cursor in an edit
control?

	This sounds so simple, but I cann't find it.  I need to knoow so I can
make it skip the 4th position, as in a phone number, so I'll also need to be
able to set the position too.

Any ides?

thanx

solid as a rock
ronnie