[rs-devel] SAPI LCOpen(NULL) doesn't open step.rc
Status: Beta
Brought to you by:
obada
From: Mudiaga O. <ob...@us...> - 2002-05-06 22:35:23
|
> The problem is, from my point of view, that lot of modules uses > LCOpen(NULL) to load the step.rc for processing with LCReadNextConfig, > etc. Right. When you do this, step.rc is not re-read, but cached values are used. If you change step.rc, you must recycle. > FILE *f = LCOpen(steprc); Just in case... Note that this "FILE *" is not the libc FILE pointer but a "handle"... you may not use it with ANSI f* functions... > Conclusion: I mean that if step.rc file has been found successfuly by > retro(litestep)-core in the beginning, it should be able to open it > again by calling LCOpen(NULL) in the code. This is true and it works for me... retrostep even internally makes this call to get the LoadModule entries. I can't think of a reason why it doesn't work for you. With what module are you having this problem? ~Mudi |