Anyone know what this error is?

joe joe_member at pathlink.com
Wed May 24 09:55:56 PDT 2006


In article <e51bpj$1kot$1 at digitaldaemon.com>, Bruno Medeiros says...
>
>Joe wrote:
>> Hello all,
>> 
>> I've been researching this one error for many hours now using google and this
>> discussion group, but have not come up with a solution.
>> 
>> Can anyone tell me what this error is and how to fix it?
>> 
>> Error 42: Symbol Undefined __init_5win324cool
>> 
>> I have seen Symbol Undefineds before, and it's usually a missing lib or
>> something. Yes, other code in the same program is accessing the win32API, but
>> the struct which is generating the error isn't external to the code...
>> 
>> I have a file called win32, and the struct inside that is called cool (a temp
>> name). And it has to do with a static array inside the struct.
>> 
>> thanks,
>> joe
>> 
>> 
>
>Are you compiling and linking the win32 file with your program, or just 
>importing it? If you're just importing it, that would explain the error.
>
>-- 
>Bruno Medeiros - CS/E student
>http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D


Yep, that was it. The other file was not being specifically listed on the
command line. I thought the D compiler was auto-pulling in those other imported
files? Oh well. Now I know. Thanks Bruno.

joe





More information about the Digitalmars-d mailing list