• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

Programming the WPS (using SOM compiler)

Started by djcaetano, 2008.11.03, 21:10:54

Previous topic - Next topic

djcaetano


   Some months have passed since I started collecting data on how to program the
WPS using SOM Compiler, but it seems a lot have changed on several versions
of SOM (1.x, 2.0 and 2.x), and I was not able to create anything running ok.
   I had found several tutorials, but they seem to be written for some older version
of SOM compiler than that comes with Toolkit 4.5. Everything I got were errors.

  Anyone knows about an updated how-to program WPS objects using modern
SOM ("modern" means the one available on Toolkit 4.5).

  Thanks in advance!

BigWarpGuy


djcaetano

Quote from: BigWarpGuy on 2008.11.03, 22:52:02
Did you check the Electronic Developers Magazine/2 site? http://www.edm2.com/index.php/Main_Page Here is a section on SOM. http://www.edm2.com/index.php/SOM

In fact, I had already read most of those articles, many are related to old SOM compiler, but it seems there is a new article there. I will take a look again (the last time I tried it was about 6 months ago) and try to get more specific about the problems I am fighting with. :)

Anyway, thanks. :)

jep

Hello Mr. Caetano,

I've also recently looked into coding for SOM and found that I could compile some of the code, but had to rewrite/tweak the tutorial (INF help for toolkit 4.52) example text first.

The provided sample source code on the other hand (...\Toolkit\Samples\wps\...) made the Virtual Machine I tried them on first cause the wps to restart. Guess it didn't like what I did to "wsfile" though it compiled right without complaints.

I use OpenWatcom 1.7, as it has a PM/GUI IDE,contain at least one sample on how to create a WPS class with settings for the desktop that work. Managed btw to create an IDE project to compile the stuff so that one doesn't have to deal with makefiles (Ehhhwww).
Would like to see a folder sample to create a download folder class (torrents, mms-streams, download etc.) eCS and Bittorrent, but some dislike the idea to take advantage of the OS/2-eCS way SOM provide.

What are you trying to code and what kind of samples are you looking for?
Hope we can help an expert as you!  :)

//Jan-Erik

RobertM

Gang, this may be a stretch, but I seem to remember that the Toolkit replaces certain OS/2 files with backleveled ones (or not, if you choose not to). If the system is then updated since the Toolkit's install, various support DLLs may not be correct/compatible/the right version.

Someplace on this forum (perhaps in the old ultraboard forum) were tips on how to work around this. As I am not too sure what problems you are experiencing, or thus the causes, it may be as simple as an incorrect version of some DLL that is needed - or (IIRC from the older post) that it is loading older support DLLs that are not compatible with the newer versions of Warp (which, also, if I remember correctly, simply required modifying the path statements in the config.sys file to ensure that none of the older DLLs in the Toolkit's directories are used).

That all may mean nothing (though the WPS restarting issue triggered this memory), but failing everything else, it may be something to look into. If I had the Toolkit installed on any of my machines, I'd do some testing and find those notes... but alas, I dont have it installed anywhere at the moment.

Robert


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


djcaetano

Quote from: jep on 2008.11.04, 09:39:04
Hello Mr. Caetano,
Would like to see a folder sample to create a download folder class (torrents, mms-streams, download etc.) eCS and Bittorrent, but some dislike the idea to take advantage of the OS/2-eCS way SOM provide.

  This is one of the things in my "to-do" list. :)

Quote from: jep on 2008.11.04, 09:39:04
What are you trying to code and what kind of samples are you looking for?
Hope we can help an expert as you!  :)

  In fact, I am trying to add some improvements on WPDisk class. :)

DavidG

There is a WPS toolkit at netlabs

ftp://ftp.netlabs.org/pub/wpstk/wpstk170.zip

Not being a programmer, I don't know if this can help anyone.

David

jep

Quote from: djcaetano on 2008.11.10, 02:13:23
  This is one of the things in my "to-do" list. :)

You make me ;D

Quote from: djcaetano on 2008.11.10, 02:13:23
  In fact, I am trying to add some improvements on WPDisk class. :)

Hmmm, new or improved settings page, new type of drive?

Please do tell us more, because I'd like to learn and know more as well.
I can possibly look at some of the examples and draw conclusions and it's much more interesting and easier to handle if there's a goal set.