Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!otter.hpl.hp.com!otter!ag From: ag@otter.hpl.hp.com (Ajay Gupta ) Newsgroups: comp.os.os2.apps Subject: Window Creation and RC (resource compiler) Message-ID: <46170002@otter.hpl.hp.com> Date: 18 Sep 90 09:45:27 GMT Organization: Hewlett-Packard Laboratories, Bristol, UK. Lines: 15 Hello Netters, I am having difficulty in using resources in a Large memeory model program using various data segments (around 15 data segments are being used in all) . The RC succeeds in compiling and linking the resource executable into the object file. But when I try to use the Resource_id by supplying it along in the 'WinCreateStdWindow' call, which is supposed to load the application menu from the Resources specified , the call itself fails. Just for information sake, the same program works when i am using it in a large memory model program with single data segment. Has anybody faced a similiar problem or is there a different version of RC for multiple data segments. Any clue to the problem will be highly appreciated. Thanks in advance, ANUPAM SAHAI