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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Compilation error: function kernel32 not found
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

srmcarneir

Brazil
33 Posts

Posted - 07/16/2004 :  09:59:20 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

cpyang

USA
1406 Posts

Posted - 07/16/2004 :  10:19:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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


Go to Top of Page

srmcarneir

Brazil
33 Posts

Posted - 07/16/2004 :  1:20:37 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

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

Regards,




Ricardo Carneiro
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000