473,587 Members | 2,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

getprocessimage filenamew could not be located in the dynamic link library psapi.dll

When trying to run a process to convert xml to xsd schema "Process p =
Process.Start(" xsd.exe",xmlfil ename);" I received the error message in the
subject of the thread.
The code used to work but doesn't any more. I may have installed IE7 since
last using this bit of code but it would have come down in an automatic
update and tbh I've no idea.
I've done a file find for all instances of psapi.dll and they're all over
the place.
I don't have any of the pieces of software installed that other people
mention when I do a search for this problem on google (eg Smartbridge)
As this is the only way I can get my visual studio to create xsd files for
some datasets/crystal reports, I need to find a solution.
How can I tell which of the psapi.dlls is the correct one to use, and how do
I find out which one xsd.exe is attempting to use in error.

thank you
Mar 16 '07 #1
2 9173
Downloaded and installed process explorer. My application was using the same
version of psapi.dll as that being used by spoolsv.exe.
I stopped both apps, renamed that dll then restarted. Both use the system32
version now and my error disappeared
Mar 16 '07 #2
"Claire" <cl****@nospam. comwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
When trying to run a process to convert xml to xsd schema "Process p =
Process.Start(" xsd.exe",xmlfil ename);" I received the error message in the subject of the
thread.
The code used to work but doesn't any more. I may have installed IE7 since last using this
bit of code but it would have come down in an automatic update and tbh I've no idea.
I've done a file find for all instances of psapi.dll and they're all over the place.
I don't have any of the pieces of software installed that other people mention when I do a
search for this problem on google (eg Smartbridge)
As this is the only way I can get my visual studio to create xsd files for some
datasets/crystal reports, I need to find a solution.
How can I tell which of the psapi.dlls is the correct one to use, and how do I find out
which one xsd.exe is attempting to use in error.

thank you


The only valid psapi.dll is the one in %windir%\sytem3 2. GetProcessImage FileNameW is a
psapi.dll exported function (UNICODE), you can verify this by running depends.exe or dumpbin
/exports on psapi.dll.
Note that psapi.dll is delay loaded by Process.Start and is not the result of running
xsd.exe, also this dll is not related to any IE version.

Willy.

Mar 16 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1994
by: ron | last post by:
I have an ap that calls for a website (set as default). When I try to go to it, IE shows website found waiting for reply. It then errors out with DLL not found. Can't find psapi.dll. I have registered ASP with IIS and stopped and restarted the services. still the error. Browsing to anywhere else in IE is unaffected. It is only to this...
6
2905
by: MikeY | last post by:
Hi Everyone, Does anyone know where I can get my hands on a sample with source code of a simple dynamic button control in C# Windows form. I am looking for a sample that uses a class library that sets the properties send/passed from the main windows form. I'm having problems with the class library, the button control collection and my...
1
2179
by: Boris | last post by:
I have C++ .NET mixed (managed/unmanaged) application. I build it under W2K and it works fine. However when I tried to run it under NT 4.0 I've got the following error message: The procedure entry point GetLocalPathName could not be located in the dynamic link library Kernel32.dll" Apparently this function is not implemented in Windows...
0
2772
by: UtilityWarrior | last post by:
If you use Visual Basic 6 or VB.net and want to create PDFs from images royalty free then this DLL is for you. The Image to PDF Dynamic Link Library (DLL) will convert one or more images (JPEG, TIFF, PNG, GIF, BMP, PCX and TGA) into a PDF document. Supports multi-image TIFFs and animated GIFs. You can add clickable image stamps (eg...
4
4438
by: yhebib | last post by:
Hello All, I've been browsing and reading all articles I could find on technet ,msdn and other knowledgeable sources to understand the issue I'm dealing with. However, I did not find so far how to fix that. Investigations are still under progress and I hope you'll be able to give hints or feedback that will drive me to the solution. The...
0
2390
by: Jacob Donajkowski | last post by:
Once the user logs in I want to have the users switch from the Roster View to the Profile View and enter their profile infomation and save it. Then the next time they login and go to the Profile View I want the form populated from there profile on the sql server. The code to save the profile works fine. But when the user logs back in they data...
1
4927
by: mmr315 | last post by:
after installing php i clicked on php-win.exe it is giving error message like the procedure entry point empty_string could not be located in the dynamic link library php5ts.dll (php-5.2.3-Win32.zip)i installed this one
2
3679
by: Perl Beginner | last post by:
Hello all, I have written a perl script and would like to convert it to an executable file. i am using perl2exe. the version of perl is 5.8.8 on Windows XP. it converts fine from script.pl to script.exe. however, when i run script.exe, i get the following message: 'The procedure entry point Perl_newSVpvn_flags could not be located in the...
1
3404
by: premMS143 | last post by:
Hi, I Installed ASTON software to my Windows Vista OS. After instaling i asked for log off & then restarted the system. After restarting I got only Windows logon screen. But after accepting my administrator password, its showing an error message box saying "ordinal 123 could not be located in dynamic link library (Shell32.dll)". This...
0
7915
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7843
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8205
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6619
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3872
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.