Bozidar Benc wrote:
>
> I'm using literal strings in my hacks without any problems.
> I just had to switch on the "PC relative strings" switch in the
> CW project settings.
Sorry, I should've mentioned this is using GCC. (Chalk up a
point for CW. ;)
Regards,
Daniel.
> > No, literals cannot be used in hacks because they live in the
> > globals' space. Either you can load them as string resources with
> > DmGetResource or SysCopyStringResource, or allocate them locally,
> > a la
> > char error[] = "Error from DmDatabaseInfo";
> > (if you have enough space on the stack).
> > I'm not sure what error 4275 is, though...