> The trouble I'm having now is that even though I can get StdDIS.hs to
> pass through hugs (this means that symbols have been imported), another
> file generated via GC fails to load initModule. It's using the same
> GreenCard.h as StdDIS and everything looks good until hugs tries to
> load that module. Then it tells me "Error loading sym". Any ideas?
If you go in there with a debugger, the function probably returned a
mildly useful errorcode which you could print. Or, there is often a
function which generates a string explaining why the load failed.
--
Alastair