473,574 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

EnumProcessModu les API fails with Vista (64 bit system)

17 New Member
Hi,

We are using API calls for accessing process related information in visual basic 6.0(standard code as in Microsoft & other sites). We get the below mentioned error (using Err. LastDllError) while calling “EnumProcessMod ules” API in a 64 bit system with windows vista (mostly for 64 bit process ids. Ex: notepad.exe etc). If ”CreateToolhelp 32Snapshot” API is called, all the processes are listed. We would like to know whether any workaround or alternate solution is available for “EnumProcessMod ules” API. Also, is it advisable to use ”CreateToolhelp 32Snapshot” API for all operating systems?

Error: “Only a part of the ReadProcessMemo ry- or WriteProcessMem ory…”

Regards,
Sasie
May 4 '09 #1
0 2033

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1562
by: Yong | last post by:
I have a COM DLL written in C++ which worked fine when called from VB6. But we have now moved to Visual Studio 2005 - .NET Framework v2 and Windows XP Pro. In total there are 4 methods in this DLL which I can call, 3 of which have no return paramters as arguments (ByRef), these work fine, its only the method that uses 2 passed in paramters...
40
3608
by: Spiros Bousbouras | last post by:
Do you have an example of an implementation where sizeof(short int) does not divide sizeof(int) or sizeof(int) does not divide sizeof(long int) or sizeof(long int) does not divide sizeof(long long int) ? Same question for the corresponding unsigned types.
5
983
by: Greg Smith | last post by:
I run vs2005 pro on two systems. I recently upgraded one to Vista. I now find that the Vista system will not stop on a breakpoint in debug mode in a asp project (windows works). I have installed SP1 for vs2005 on Vista but it still fails. Is there a fix?
3
1237
by: krisvam | last post by:
Hi, I have build the msi file using the windows xp version. When I am trying to install the msi file on windows vista system it is giving me exceptional error. Any help will be greatly appreaciated. Thandk Vamsi
0
1128
by: Jared Goralnick | last post by:
Hi, I'm in the process of developing some high-level specs for an application. Some of the functionality of this application involves intercepting Windows access to certain applications or websites, much like a "Net Nanny" would restrict children from accessing certain video games or adult websites. In my very limited experience, System...
2
5963
by: John Heitmuller. | last post by:
Hi, I have a VB.Net application that I have recently upgraded from Visual Studio 2003 to Visual Studio 2005. The VB.Net app accesses Word and Excel. When I run the newly compiled VB.Net app on the Windows XP Pro system the app can interact with Word and Excel just fine. I'm pretty certain I have the correct Microsoft Word 11.0 Object...
5
6537
by: Michael | last post by:
I'm trying to build a exe on a vista system using py2exe. It will deploy to vista and XP systems. If it matters, the application uses pyserial, as well. I have VS Studio 2005 installed on this laptop as well. I've found this so far that seems to be identical to what I'm seeing (for non-python programs):...
2
3314
by: job8663 | last post by:
Hi, I tried to install XP on a Pre-loaded VISTA system and it is showing no Hard Drive attached, where as the same system is running in VISTA without any trouble. Now I want to format a vista loaded system and install XP. How can I do that. Please help
11
2704
by: =?Utf-8?B?QXNhZg==?= | last post by:
Hello, I have just installed VISTA Enterprise and VS.NET 2008. When pressing F5 to debug my test ASP.NET website, IE 7 display the message "Internet Explorer cannot display the webpage". The local URL that VS.NET 2008 generates is http://localhost:49705/aaa/Default.aspx. In IIS7 Manager, ASP.NET V2.0… is "Allowed" in the ISAPI and CGI...
5
3648
by: Nick Tatham | last post by:
I have just purchased a new Dell Windows Vista Home Premium SP1 system. One of my .NET 2.0 programs doesn't work on it. I have reduced it to the tiny program below which fails in the same way. On My old XP system, this code dsplays the OpenFileDialog, I select a file and it logs the filename to the console. On my Vista system, the...
0
7828
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
7742
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
8089
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
8260
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
7840
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
8127
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
6493
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...
1
1362
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1092
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.