TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Gerard Gerritsen
date: 1997-02-02 14:05:10
subject: Resource argh... The story continues

Hello everybody,

A small update on my problem.

I have tried splitting the loading and activation of the dialog resources
by using DosGetResource and WinCreateDlg.

The DosGetResource part works fine. But the WinCreateDlg simply bombs out
with 81003 ( WinGetLastError )

It seems like it's impossible to load any dialog type of resource after
loading the first dialog resource. ( WinGetLastError says 820BD )

Hmm, something seems to start working right now, I can get a window handle
to the loaded dialog, but nothing shows up ? ( WS_VISIBLE is set )

At the moment it looks like the new created dialog is getting focus and
being killed almost at the same time, ( linking resources to the 'mother'
executable does not work anymore at this time )


The message handler seems to get  messages, but not even
WinShowWindow(Window,True) works. Maybe something else ?

==> Gerard/2   - member of team os/2 -  1000521{at}ibk.fnt.hvu.nl

--- Fmail/2 1.02 Registered
* Origin: Living in interesting times (2:283/203.18)
SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407
SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1
@PATH: 283/203 2 1 280/801 270/101 712/624 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™.