TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Dan Larson
date: 1994-10-12 05:17:52
subject: OBJECT DATA

Can anyone tell me what approach I must take to GET the data from 
an object necessary to recreate it with WinCreateObject & WinSetObjectData?

What I really want to do is build a small utility that can recreate objects
from one desktop to another, as well as let me dump the object data to a file.

I am frustrated by the inability to copy folders and their contents from my
main desktop to my "maintenance / experimental" partition's
desktop. I don't
want to save and restore the desktop, just copy folders and contents. Using
XCOPY seems to loose objects when doing this type of splicing. I have tried the
infamous "HOTSERV" switches with this as well. Something isn't
getting copied.
The only objects that get copied are sub fodlers. The EA's are supposed to be
copied as well, so where are the object's data hiding?

So, I thought that this would make a good mini project for me and get me to
explore new areas of the PM API.

It is easy enough to create objects and set their "setup" items,
but there is n

clue as to how one would "read" the same data OUT of an object. I
have looked a

the wp and wpcls functions, but it appears that they are only available to SOM
objects, if not I sure can't see how to use them from an app.

I do not have any good books on the subject, but I am very good at taking a few
examples or hints and finding what I need from the toolkit references and mixin

it all with lots of experimentation under the debugger.

Thanks in advance to any who are able to help out...

Dan
___
 * MR/2 1.52 NR * Are Casey and Kildare a "paradox"?

--- WILDMAIL!/WC v4.10g

* Origin: Freezing Point BBS - WDNet HQ - Mpls MN: (1:282/85.0)
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: 282/85 1 270/101 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 809
@PATH: 711/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™.