TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Wim Veldhuis
from: George Staikos
date: 1994-09-08 19:59:48
subject: WinEnumObjectClasses

Wim Veldhuis wrote in a message to George Staikos:

 GS> why doesn't this code work with C SET++ 2.1???

 GS> #define INCL_WINWORKPLACE
 GS> #define INCL_WIN

 GS> #include 

 GS> [..]
 GS> {
 GS>   POBJCLASS pC;
 GS>   PULONG    pS;

 GS>   [..]

 GS>   WinEnumObjectClasses(pC, pS);

 GS>   [...]
 GS> }

 GS>    It always returns false.  A message queue does exist.  I
 GS> have applied    the latest CSDs I could find.

WV> AFAIK, you have to call WinInitialize BEFORE calling any of
WV> the PM functions. Perhaps you didn't do that ?
WV> Further more, some functions need a messagequeue, did you
WV> create one ? 

  Yes, I did all of this.  That's what the [..] replaces.  I didn't
  think that there was any need to type it out.
  (Note the area you quoted: "A message queue does exist.")  I have tried
  it with my own code from scratch, and with KASE:SET.  It didn't work in
  either.

TTYL,
  George     (George.Staikos{at}bullseye.tvk.tsoft.net)

--- timEd-A10c

* Origin: BULL'S EYE BBS! 613-394-3268 Trenton, Ontario (1:249/302)
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 712/353 623 713/888 800/1
@PATH: 249/302 304 3615/50 229/2 12/2442 711/409 54/54 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™.