473,322 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

getprocessimagefilenamew 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",xmlfilename);" 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 9148
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****************@TK2MSFTNGP03.phx.gbl...
When trying to run a process to convert xml to xsd schema "Process p =
Process.Start("xsd.exe",xmlfilename);" 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%\sytem32. GetProcessImageFileNameW 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
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...
6
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...
1
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...
0
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,...
4
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...
0
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...
1
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 ...
2
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...
1
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.