Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » sysinfo gets error
Re: sysinfo gets error [message #32608 is a reply to message #32602] Fri, 27 May 2011 15:40 Go to previous messageGo to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

koldo wrote on Fri, 27 May 2011 10:03

Hello

This is a strange problem. Tojocky has made a test and this is the status.

- Tojocky (XP-SP3)-Silverx(Vista) compile and link the program, but when starting it they get a:
The procedure entry point K32GetModuleBaseNameW could not be located in the dynamic link library KERNEL32.dll

- I compile the program and runs well in two computers (both XP-SP3).

- I send this program to Tojocky and runs also well in his computer Confused Confused Confused

I do not understand anything.

It seems to be a problem with MSC9 under windows XP sp3.

I will try to find the problem on the internet.

Koldo, Thank you for help.

Add:
Found:
http://blogs.msdn.com/b/vcblog/archive/2009/08/27/windows-sd k-v7-0-v7-0a-incompatibility-workaround.aspx

Quote:

Kris G 31 Aug 2009 2:36 PM
if you *really* care about perf, you can dynamically determine if you're running on Win7 and use GetProcAddress to get all these DLL entry points, instead of building 2 separate apps.


I can't understand why Microsoft does not determine version of OS and load method by use GetProcAddress on runtime?

ADD 2:
A solution is:
1. replace PATH, include and libs from "v7.0" to "v6.0a".
E.g.:
from:
PATH:
C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include
C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib
into
C:\Program Files\Microsoft SDKs\Windows\v6.0a\Bin
C:\Program Files\Microsoft SDKs\Windows\v6.0a\Include
C:\Program Files\Microsoft SDKs\Windows\v6.0a\Lib

And sysinfo work fine.

[Updated on: Fri, 27 May 2011 16:26]

Report message to a moderator

 
Read Message icon8.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon3.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SysInfo package
Next Topic: CtrlBinder as an alternative for CtrlRetriever
Goto Forum:
  


Current Time: Fri Apr 26 13:07:05 CEST 2024

Total time taken to generate the page: 0.05798 seconds