HDTenEightyP/NetNews huggingface dataset:
From: alouw@dos-lan.cs.up.ac.za (Andre Louw)
Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.ms-windows.apps,comp.lang.c++
Subject: Help needed with VisBasic and C++
Keywords: C++ Visual Basic DBM
Date: 29 Sep 92 16:54:02 GMT
Article-I.D.: dos-lan.alouw.23.717785642
Organization: Computer Science Department, University of Pretoria


Hi, 

I'm desperately seeking advice for a project I'm working on and I would 
appreciate it if anyone can help out by answering some of the questions 
below...


The Problem...
==============
I'm working on a project called SSSAdmin (Staff Share Scheme
Administrator) which must be done in Windows (3.1 preferably)! This
program must be able to retrieve data from OS/2 Database Manager (DBM) -
which means we must be able to start a windows client for DBM.

At this stage I have developed a prototype in MS Visual Basic which I
have found to be a very nice tool for developing the User Interface
(UI) in and together with the Professional Developers Toolkit you are
able to design nice 3D look and feel GUI's.

At first the idea was that when the prototype was done we would start
all over again with something like Borland C++ and OWL to to create
the user interface for the final product. The problem is that time is
starting to run out and it seems that we can save a lot of time if
we would continue to use Visual Basic...


A few questions...
==================
1) Is there any way which we can use Visual Basic (to create the user
interface) and link it (in some way) with C++ code...?? I know that
you can make .DLL calls from Visual Basic but it doesn't look
possible to export classes via .DLL's and use it in VB - is this true?

2) How difficult is it to access DBM via VB and are there any reliable
tools which one can use to do this...???

3) Is this a sensible thing to do (in other words, can we expect
trouble if we continue with VB) or should we just stick to using
something like Microsoft Quick C for Windows or Microsoft C 7.1 with
the Windows SDK??? (the latter being the more secure - but much more
tedious and time consuming...!)
Note: It's not a very big, complicated program but it's also not simple
enough to do it completly in VB (I think) - we have to provide some
basic bookkeeping facilities like 3 column accounts etc.

4) If not VB - are there any suggestions for other tools which will
enable us to access DBM and still allow us to develop in C++...??

I would appreciate it if you can let me know as soon as you are able to shed 
some light on this... We have to take adecision regarding the way we are 
going to implement this very soon (possibly Friday already!).

Thanx a lot

:) Andre
From: fellin@sumax.seattleu.edu (Phillip Fellin)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Looking for c | c++ Toolbar example!
Date: 28 Sep 92 03:38:28 GMT
Article-I.D.: sumax.5228
Organization: Seattle University, Seattle WA

Hi,
I am looking for a c or c++ example of a 
toolbar implementation for Windows 3.x.
Can anyone help???
Thanks :-)
pHiL
Xref: sparky comp.os.ms-windows.programmer.tools:1065 comp.lang.c++:14381
From: alouw@dos-lan.cs.up.ac.za (Andre Louw)
Newsgroups: comp.os.ms-windows.programmer.tools,comp.lang.c++
Subject: VZ Programmer VS Borland C++ ver 3.1 with OWL
Date: 1 Oct 92 12:39:03 GMT
Article-I.D.: dos-lan.alouw.26.717943143
Organization: Computer Science Department, University of Pretoria

I would appreciate it if anyone that have looked/worked/evaluated the 
product called VZ Programmer ver 2.0 from VZCorp. could send me amy info on 
how it compares to say Borland C++ with OWL.

I understand from reading an article on VDE (Visual Development 
Environments) in the June 16 PC Magazine that this is "a powerfull, flexible 
visual development environment for Windows application developers - but not 
casual users. Its use of C++, an object-based interface designer, and 
library support make this a viable tool for developers..."

What I would like to know is just how powerfull and flexible this is and how 
much work you would save by using this instead of OWL and Borland C++...???

I see that it costs a lot of money ($595 for Windows & $995 for OS/2) and 
would like to know if it realy is worth it's price before I buy!

If there's enough interest I'll post results to this group...!

Thanx a lot in advance,
:) Andre
From: vincent@datmuc.UUCP (vincent)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Use of const keyword - Borland container classes
Date: 5 Oct 92 15:00:34 GMT
Followup-To: here
Organization: DAT

In article <1992Oct1.215705.1396@aio.jsc.nasa.gov> bartels@sweetpea.jsc.nasa.gov (Jeff Bartels 283-4167) writes:
>
stuff deleted
>
>virtual int isSortable( const _FAR & Object ) const;
>My questions are: 
stuff deleted
>virtual const char *getPointer .....
stuff deleted
>this syntax, it did not complain when the code later modified the pointer value

Scott Meyers wrote an exelant book, called "Effective C++", now that a book!

Well about const before a reference/redirection char (&*), should mean that
what the ref./pointer is pointing/refe. to is not alowed to be modified. If
it's on the right (so after) of the (*,&) the pointer/ref. can't be modified.
Of course on both side it means that what it's pointing to and what it self
can't be modified.

As for after the function declaration, like somebody else wrote from JPL,
It says that the function is not alowed to modify stuff inside itself.
In the previously mentioned book in Item 21, 22 is a good discution
on the philosophy of const functions. (bitwise and conceptual constness)

Now writing: const char *get_a_pointer () would return a pointer to a char whichis can't be modified, but the pointer can.

Imagine a line going trough the asterix:

What's pointed to is constant |  Pointer is constant

			char  * pc		= get_a_pointer (); // error
		const	char  * pcc		= get_a_pointer ();
			char  * const cpc	= get_a_pointer (); // error
		const	char  * const cpcc	= get_a_pointer ();

(I don't know if my C++ translater is kapout but the first one gave a correct
error (i.e. expeted char *) but the line seven compiled (????)

1> const char *get_a_pointer () { char *c = new char; return c; }
2> 
3> main ()
4> {
5>		// char  * pc		= get_a_pointer (); // error
6>	const	char  * pcc		= get_a_pointer ();
7>		char  * const cpc	= get_a_pointer (); // error
8>	const	char  * const cpcc	= get_a_pointer ();
9>}

AnyWayByTheBook...

vincent@datmuc.dat.de



Newsgroups: comp.os.ms-windows.programmer.tools
From: mpd48941@uxa.cso.uiuc.edu (Mike Duff)
Subject: Re: Duff disk in DDK
Reply-To: duff@cs.uiuc.edu
Organization: University of Illinois at Urbana
Date: Thu, 1 Oct 1992 03:23:37 GMT
Keywords: DDK

I, personally, am hurt by your subject title!  Get off your Duff...  God, I
HATE my last name sometimes.  As far as DDK goes, I have only 3.1.  Sorry.


-----------------------------------------------------------------------------
| Michael Duff              | "Thank you for bringing up such a painful     | 
| ACM membership coord.     |  memory.  While you're at it, why don't you   |
| ACM SIGsoft               |  give me a paper cut and pour lemon juice     |
| duff@cs.uiuc.edu          |  on it.                                       |
| mpd48941@uxa.cso.uiuc.edu |          - Miracle Max of Princess Bride fame |
-----------------------------------------------------------------------------
From: graves@jemez.eece.unm.edu (John Graves)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Zinc
Date: 1 Oct 92 14:20:08 GMT
Organization: MCI

I apologize if this has been discussed here before, but I was just pointed
to this news group today.

My company is looking at using the Zinc C++ libraries to develop a large
scale PC project.  Can anyone tell me good or bad experiences with this
package?  We've seen demos and they look great, but they are also small.
We are worried about how it might handle large tasks...

Anyway, please send mail to 0004821977@mcimail.com... I will compile the
results and post.

Thanks...


--
--
John R Graves                       | Please don't take anything I write
email - 0004821977@mcimail.com      | seriously... Life is too short.
phone - (719)592-1437               |
Newsgroups: comp.os.ms-windows.programmer.tools
From: brad@huey.Jpl.Nasa.GOV (Brad Hines)
Subject: Re: Use of const keyword - Borland container classes
Reply-To: brad@huey.Jpl.Nasa.GOV
Organization: JPL Spatial Interferometry Group
Date: Fri, 2 Oct 1992 19:08:10 GMT

In article <1992Oct1.215705.1396@aio.jsc.nasa.gov>, bartels@sweetpea.jsc.nasa.gov (Jeff Bartels 283-4167) writes:

> My questions are: 
>
> 1) What meaning does the use of the const modifier have for the
> definition of the member function? I have found no references to this either in
> the Borland manuals, or other C++ books.

> 2) Is this notation a Borland extension to the language? Has it gone before the
> committee that is building the C++ standard?


This is standard C++.  You are apparently already familiar with the
const keyword applied to a function argument (like const _FAR & Object),
which prevents the argument from being modified.  Similarly, if
the const keyword is applied to the member function itself, it means
that the member function may not modify the values of any of the
class object's member variables.  That is, a const member function
has readonly access to other class members.


-- 
Brad Hines
Internet: brad@huey.jpl.nasa.gov
Jet Propulsion Lab, Pasadena, California
From: vincent@datmuc.UUCP (vincent)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Microsoft Test
Date: 30 Sep 92 12:50:57 GMT
Organization: DAT

>> ...

>Since all the tests are in your script - the key to using Test
>effectively is to write a script that completely exercises
>your application.  So, your script should be bug free ... 
>There's always a catch :-)
>__
> _______  Email: lance@lancea.actrix.gen.nz


Thoze or dose, no wake up a miniute,,, >*) ,,, does (ya that how you write it)

Does 'test'.whatever comes standard from MS with any of the pakages like: C700,
SDK 3.1 and/or Windows 3.10, (I also just ordered the DDK stuff (with books))?

Or it's like everything from them.

	- (MS Rep. (When and if you get a line)) "Ha you mean your first two
	  books? Well a card should have arrived with  your Doc. Update 
	  telling you that 'The guide book' and ... are not available" (for me,
	  a begginer Windows programer, what does it mater, Hey!, I first get,
	  only disk, then wait 3 month for some doc. that doesn't even have
	  a *** guide book, for God's sake(is God japanesse), anyway I digress
	  and he goes on) -"... and you say you need to study how to write
	  virtual device drivers, Ha, Ho, Well that a litle extra ..."


Anyway where is this 'test' and where is the doc?

vincent@datmuc.dat.de
or
vincent@datmuc.uucp

Ya I like this group, there is no dumb flames about like TYPOS you know!


Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.msdos.programmer
From: sameer@atlastele.com ()
Subject: Need help on Computer-based-Training tool
Organization: Atlas Telecom Inc.
Disclaimer: Views expressed do not necessarily represent those of my employer.
Date: Mon, 28 Sep 1992 23:49:21 GMT

 

Hi All,
I would like to benefit from net.wisdom and would like to know
what tool would you recommed for creating a Computer-based Training
tutorial on a technical matter. I am actually writing procedures
for our installation folks and instead of plain text, would like to 
to write a tutorial on a disk, which would have chapters and graphics
Q&A sections plus an index (maybe). I want a windows look and feel GUI. 
The program should work under both DOS and windows (reason for cross-posting).
Thanks in advance for your help.
Sameer..
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Microsoft Test
From: lance@lancea.actrix.gen.nz (Lance Andrewes)
Date: Thu, 01 Oct 92 19:04:46 GMT
Distribution: world
Organization: none

In article <1268@datmuc.UUCP> vincent@datmuc.UUCP (vincent) writes:
>
>Does 'test'.whatever comes standard from MS with any of the
>pakages like: C700, SDK 3.1 and/or Windows 3.10, (I also just
>ordered the DDK stuff (with books))? [etc]

Microsoft Test v1.0 is only sold separately.  I think the New
Zealand price was around $NZ400.  It's hardly something you'd
expect as a "freebie".  The manual is about the same size as
that you get with Word 2.0.
__
 _______  Email: lance@lancea.actrix.gen.nz
////      ZL2AJH    Wellington, New Zealand

Newsgroups: comp.os.ms-windows.programmer.tools
From: phshl@wombat.newcastle.edu.au (S.H. LEE (61) 49 21 5566)
Subject: Status Bar with TP for windows
Organization: University of Newcastle, AUSTRALIA
Date: Sat, 3 Oct 1992 06:30:33 GMT

Hi,
  Does anyone know how to program  a "status bar" with TPW ?

Lee
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Microsoft Test
From: lance@lancea.actrix.gen.nz (Lance Andrewes)
Date: Tue, 29 Sep 92 06:17:03 GMT
Distribution: world
Organization: none

cs4ec3as@maccs.dcss.mcmaster.ca writes in article <1992Sep23.185508.11977@maccs.dcss.mcmaster.ca>:
> 
>     I have just accepted a job offer and the starting date is Oct. 5, 1992.
>  My initial duties will be to use Microsoft Test to test existing
>  Windows Application, these applications are written in TPW. Could
>  anyone please post a description of how MICROSOFT TEST works ?

Haven't got the manual at home, so can only manage a brief description:
Test executes a script to run your program.  You write the script in
a superset of Basic (Quick Basic I think).  Alternatively, you
can create a script using the recorder function.

In the scripting language, you can get it to go through any action
a user could.  While Test is running, it will log error conditions,
and trap them.  You can check that the output appears correctly
on screen (eg you can do fuzzy or exact comparisons of screen
areas), and that the specified text appears in a button or list.
Etc etc.  The scripting language is powerful, and the checks it
can make are comprehensive.

Since all the tests are in your script - the key to using Test
effectively is to write a script that completely exercises
your application.  So, your script should be bug free ... 
There's always a catch :-)
__
 _______  Email: lance@lancea.actrix.gen.nz
////      ZL2AJH    Wellington, New Zealand
From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: MS-C 7.00 + Windows problem
Date: 28 Sep 92 21:02:49 GMT
Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada

In article <d32nvcm.ekalenda@netcom.com> ekalenda@netcom.com (Edward J Kalenda) writes:
>The normal reason for this error is that you have declared it as:
>
>int	PLOCALHEAP;
>
>in all the modules where you use it. What you need to do is declare it
>that way in one module and in the rest use:
>
>extern int	PLOCALHEAP;
>
>If this doesn't solve your problem, post some more information about how
>the symbol is declared in each of the modules you have listed above and
>someone is bound to recognize the problem.

The problem is that PLOCALHEAP is not declared in my files and is not
found in any .h (I used ff from Norton to locate it among the C700
subdirectories and thru my own files, but I usually give a French name
to my variable :-)  ).

Anyway (see my previous posting), I won't have to use MS-C7.00 for this project.

-- 
  \_\    Denis Beauregard  *  internet:beaurega@ireq.hydro.qc.ca
 /   \   Genealogiste officiel : Beauregard/Jarret/Jarest/Vincent
J   __>  Un Quebec renouvele dans une Amerique renovee
\_.-===                                                  Opinions ? Et pis non !
From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: MS-C 7.00 + Windows problem
Date: 28 Sep 92 20:58:22 GMT
Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada

Problem with PLOCALHEAP.

The only problem with solutions that are proposed is that I do not
generate the label PLOCALHEAP and it appears in no .h file.  I presume
it was generated by the compiler because of some switch set at the bad value.

Anyway, I used some turn-around and could use my previous compiler and
have it working.  BTW, MS-C 7.00 is there 1st version with C++ support,
so I can't use previous versions to debug.  And the debugger of that version
can not work under Windows 3.0.  I don't remember I saw that C 7.00
was not supporting Win 3.0 on advertising... :-(
Anyway, as I said, there is no more problem (I keep the compiler box just
in case), as I won't have to use the MS compiler :-).


In article <1992Sep18.191732.5748@sj.ate.slb.com> poffen@rushmore (Russ Poffenberger) writes:
>ekalenda@netcom.com (Edward J Kalenda) writes:
>: From article <BuqH7u.8I3@ireq.hydro.qc.ca>, by beaurega@ireq.hydro.qc.ca (Denis Beauregard):
>: > 
>: > No idea what switch to change to clear this!  Any idea?
>: > PLOCALHEAD is found in one place in all C700 files : in wnull.
>: 
>: The normal reason for this error is that you have declared it as:
>: 
>: int	PLOCALHEAP;
>: 
>: in all the modules where you use it. What you need to do is declare it
>: that way in one module and in the rest use:
>: 
>: extern int	PLOCALHEAP;
>: 
>
>The easiest way, without adding this line to all your modules, is to have a
>h file that all the maodules include, declare it as "extern" and in one single
>module (could be a module JUST for global variables) actually declare the
>instance of it. It is OK to have
>
>extern int xyz;
>
>then later in the same module
>
>int xyz;
>
>This also provides some sanity checking, because the compiler will complain
>if the second declaration on 'xyz' is not the same type as the extern.
>
>Russ Poffenberger               DOMAIN: poffen@sj.ate.slb.com
>Schlumberger Technologies ATE   UUCP:   {uunet,decwrl,amdahl}!sjsca4!poffen
>1601 Technology Drive		CIS:	72401,276
>San Jose, Ca. 95110             Voice: (408)437-5254  FAX: (408)437-5246


-- 
  \_\    Denis Beauregard  *  internet:beaurega@ireq.hydro.qc.ca
 /   \   Genealogiste officiel : Beauregard/Jarret/Jarest/Vincent
J   __>  Un Quebec renouvele dans une Amerique renovee
\_.-===                                                  Opinions ? Et pis non !
Newsgroups: comp.os.ms-windows.programmer.tools
From: ekkers@ph.tn.tudelft.nl (Rob Ekkers)
Subject: Scientific graphics DLL wanted
Keywords: graphics,DLL
Organization: Delft University of Technology
Date: Mon, 5 Oct 1992 13:11:14 GMT

Hello,

I am looking for a graphics library with the common scientific graphic
tools. I am especially interested in 3D-rotating scatter plots.

Can someone recommend me something?

Thanks,

Rob Ekkers
University of Technology, Delft, the Netherlands
ekkers@ph.tn.tudelft.nl
From: be503@cleveland.Freenet.Edu (Jacob Richman)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: request help: Getcharwidth of fax driver
Date: 2 Oct 1992 01:26:12 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: be503@cleveland.Freenet.Edu (Jacob Richman)
NNTP-Posting-Host: hela.ins.cwru.edu


Hi,

In Windows, when I call "Getcharwidth" with a printer DC of any fax driver 
(eg. Bitfax, Winfax Pro), the function returns a zero (fail).
The function works fine when it is a regular printer DC (not fax).

How do I get the character widths when using the fax drivers?

I am not subscribed to this forum so please answer me directly by email at:
be503@cleveland.freenet.edu

Sorry if you get this more then once due to cross-posting.

Thanks in advance,
Jacob
-- 
Jacob Richman
Ma'Aleh Adumim
Israel
From: alby@goldbelt.Corp.Sun.COM (Albert Lopez )
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: need install.exe C source example
Date: 5 Oct 92 21:14:45 GMT
Reply-To: alby@goldbelt.Corp.Sun.COM
Organization: Sun Microsystems
NNTP-Posting-Host: goldbelt.corp.sun.com

Hi,

I need an example C source program to show me how
to write an install.exe program for windows.  I have
a product which I need to package so that my end users
can install on their systems by simply typing A:install
or B:install.

My product runs under windows, and I have designed a
program ICON which is attached to it (using ICON designer)
and there is also a .GRP file for the group ICON.

So the end user's diskett will look like:

            install.exe
            product.exe
            product.GRP

I know the progman.ini file needs to be updated to
append an entry for my product.GRP. Plus I need to 
copy the product.exe file into a user specified
directory.


Does anyone have an example of how to do this or have
an idea of where I can get one?  A skeletal piece of
code would be great that I could modify for my needs.


thanks,


Albert Lopez
Sun Micro
Newsgroups: comp.os.ms-windows.programmer.tools
From: shutoh@lab4.yamaha.co.jp (Kazuhiko -Chun Li- Shutoh)
Subject: MM programming in my qcwin? only in c700?
Organization: YAMAHA CORPORATION, Hamamatsu, Japan
Distribution: comp
Date: Mon, 28 Sep 1992 10:09:07 GMT


Why qcwin not include mmsystem.h and mmsystem.lib?

--
						Kazuhiko Shutoh
						shutoh@lab4.yamama.co.jp


Newsgroups: comp.os.ms-windows.programmer.tools,misc.forsale.computers
From: westes@sti.com (Will Estes)
Subject: Want To Buy OptiMem (SmartHeap)
Organization: Mail Group
Date: Mon, 5 Oct 1992 06:02:07 GMT

If anyone has SmartHeap For Windows by MicroQuill (formerly OptiMem from
Applegate) that they would like to sell, please contact me.  OptiMem is
a product that detects memory bugs at run-time.

-- 
Will Estes		Internet: westes@netcom.com
Organization: The American University - University Computing Center
Date: Tue, 6 Oct 1992 11:06:55 EDT
From: <ZHAO@auvm.american.edu>
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Help! Hoe to disable mouse ballistic control ?


Does anyone there know how to disable the ballistic control of MS-mouse?
I can do that under DOS but not under Windows 3.x. Maybe I need some
mouse driver instead the MOUSE.DRV supplied by Microsoft. I was told
by the mouse manufacturer that their mouse control program will be
override by Windows.

Please help if you know how.
Thanks in advance.


ChingHua
Newsgroups: comp.os.ms-windows.apps
From: nomura@zen.uta.edu (Seiichi Nomura)
Subject: Re: FrameMaker pricing question
Organization: Univ. Texas at Arlington, Arlington, Texas
Distribution: usa
Date: Wed, 7 Oct 1992 01:32:02 GMT

In article <1992Oct6.224410.17143@a.cs.okstate.edu> dpb@a.cs.okstate.edu (D. Paul Benjamin) writes:

>    Is there anybody out
>   there who can tell me the price? Thanks in advance.


$175.00
--

  -------------------------------------------------
  Seiichi Nomura ($@LnB<Lw0l(J)
  Mechanical Engineering Department  nomura@zen.uta.edu
  University of Texas at Arlington   b460nom@utarlg.bitnet
  Arlington, Texas 76019 0023        +1 817 273 2012 (press 2 for fax)
Newsgroups: comp.os.ms-windows.apps
From: toree@swix.ifi.unit.no (Tore Eriksmoen)
Subject: WinWord question
Organization: University of Trondheim, Norway
Date: Tue, 29 Sep 92 11:50:05 GMT


I have two questions about WinWord 2.0:

1. Does a utility exist wich allows modification of the toolbar-icons?
   I have tried Borland resource editor but it seems that the icons
   are hard-coded in some of the files.

2. Documents (WinWord) which include graphics tend to occupy a lot 
   of space. Is it possible to make references to graphic-files in 
   a document so that it only include text and reference info.
   Graphics should only be shown in page preview and when printed.
   If possible give me the solution using WordBasic commands.


With thanks




Tore Eriksmoen
---------------------------------------
toree@swix.ifi.unit.no (129.241.163.51)
Newsgroups: comp.os.ms-windows.apps,alt.cd-rom