The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Compilation error: function kernel32 not found

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
srmcarneir Posted - 07/16/2004 : 09:59:20 AM
Hi All,

Do you know what could probably cause a compilation error as follows?

C:\Tools\ColumnNames\ColumnNames_v2.c(599) :Error, external DLL cannot find function kernel32 : GetFileAttributesExA

That function GetFileAttributesExA needs header file mswin.h and
it has already been included in this project. By the way, this project has already been compiled successfully in other machines.
The one in question is a P-II with 128MB RAM, under Win95. Any known constraints besides performance?

Best Regards and Nice Weekend for everyone!

Ricardo Carneiro
2   L A T E S T    R E P L I E S    (Newest First)
srmcarneir Posted - 07/16/2004 : 1:20:37 PM
Hi,

Thank you very much for your prompt help, C Pyang!
That explains such a weird behaviour.

Regards,




Ricardo Carneiro
cpyang Posted - 07/16/2004 : 10:19:33 AM
GetFileAttributesExA is not available in Win95. According to Microsoft MSDN, it requires Win98 or later. Origin C is just calling functions in Windows OS dll and kernel32 is one such OS DLL. You need to upgrade that machine to win98 or winME, or try not using that function.

CP



The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000