TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Erik Huelsmann
from: Jonathan de Boyne Pollard
date: 1994-12-04 05:06:58
subject: WPS&SOM - programming

EH>
  > Do I have to write in C(++) to be able to write WPS & Som-
  > compliant applications? (Do I need a separete SOM-Compiler??)
  >
  > That is because I would like to do it in Pascal (16-bit), if that is possib
EH>

  The practical answer is that you need to use Smalltalk, C, C++, or
  DirectToSOM C++ in order to be able to use SOM.

  This is not a deficiency in SOM itself.  SOM is language independent.
  If a language can call DLLs and manipulate pointers, it should be able
  to make use of the SOM runtime.

  It is just that no-one has written emitters for PASCAL and put
  together the appropriate support files.

  ( The "SOM compiler" is in fact a driver that reads IDL, and then
    calls different emitters for generating language binding files for
    different "languages" such as C++ or the interface repository. )

  I take it that your reference to 16-bit PASCAL refers to Borland
  PASCAL 7.0 patched to generate OS/2 executables.  In this case I doubt
  that an emitter will be forthcoming through any official channels.

  However, the information on how to write an emitter is available in
  the SOM Objects Developers' Toolkit, and also in a recently published
  book all about SOM (the title of which I forget).  Anyone is free to
  write an emitter for anything that they want.

  > JdeBP <
___
 X MegaMail 2.10 #0:DF> I repeat....  Huh ?

--- Maximus/2 2.02

* Origin: DoNoR/2,Woking UK (01483-725167) (2:440/4)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 440/4 141/209 270/101 396/1 3615/50 229/2 12/2442 711/409 54/54
@PATH: 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.