Kernel Driver Procedure Not Found - windows

I have recently developed and tested a kernel driver in windows using visual studio. The Driver itself is nothing but a notifier which prints info about created processes. I have already tested the code on a Windows 10 x64 machine by putting the Windows 10 x64 VM into test mode and installing the driver as a service. It works just as it should.
However I want to test this driver code on multiple windows os versions. The problem is whenever I follow the same steps on Windows 2012 Server R2 x64, Windows 7 x64, Windows 8.1 x64 all of them throw the same error.
Procedure Not Found Error:127

You are most likely calling a function that is not available on older versions of Windows.
Open the driver in Dependency Walker on one of the systems where it fails.

Related

Powerbuilder 11.2 has stopped working Windows 64 bit

I am running and supporting a PowerBuilder 11.2 application running in windows 7 64bit environment. The previous version of this program ran without a problem, and 99% of this new program runs without a problem. However, when I run a specific bit of functionality, at times the program throws an exception "Sybase PowerBuilder 11.0 has stopped working" Problem event name APPCRASH Application Name PB110.EXE, Fault Module Name PBSHR110.dll, Exception code c0000005 in the dev environment. In the compiled version running on the client machine the error "A breakpoint in an application indicates a program error. After this dialog is dismissed, the application will continue to run, but it may be in an unstable state" and the program closes
There are shared PBL files throughout this whole application. It is a framework that supports 6 MDI programs. I have performed a full build on the main objects and it compiles without error. The other programs that in the framework that use these common objects to not have this problem. I have tried to step through the code doing a debug, but when I step through the code, it does not crash.
I have re-installed PB 11.0 and the PB 11.2 upgrade again and of course rebooted numerous times. I am at a loss here. I have tried everything that worked before and have spent over a week trying to find something online, so I am now appealing to the group. Any help at all will be so very much appreciated. Until then, I'll keep trying.
Thanks.
John
It could be that PB 11.2 is not listed as being supported on Windows 7. A lot of times you can get lucky, and most applications will still work on unsupported OS's. Yet, an update may be released that breaks something. You may want to try downloading the latest release of PB which is 12.6 and migrate a copy of your application to that version. You will at least be able to rule out if that is the issue or not.
Enclosed is Sybase PowerBuilder Enterprise version 11.2, which is
compatible with the following platform and operating system
configurations:
Microsoft Windows XP with Service Pack 2
Microsoft Windows XP Tablet PC Edition with Service Pack 2
Microsoft Windows Server 2003 with Service Pack 1
Microsoft Windows Vista Business Edition
PowerBuilder 11.2 builds 32-bit applications, but supports deployed
applications in both 32-bit and 64-bit environments on the Vista
operating system. For more information about using PowerBuilder on the
Vista operating system, see “Vista Support” in the online Help. For a
list of issues that have been found on the Vista operating system, see
“Vista issues”.
Microsoft Windows 2000 with Service Pack 4 is supported for deployment
only. All support for this platform will be discontinued in future
releases of PowerBuilder.

My vb6 app not running due to msado15.dll missing or registration issue

I register msado15.dll for my VB6 app in windows XP and app run successfully on windows XP and windows 7.
But when I register msado15.dll for my app in windows 7 then it is not running on both XP and windows 7.
What's the issue in windows 7?
With Windows 7 Service Pack 1, Microsoft changed one or more GUIDs of ADO interfaces. They've released a hotfix that allows programs linked with ADO on Windows 7 to run on Windows 7 and earlier versions.
Install the hotfix, then recompile your program, and it should work fine.
With Windows 7 SP1 I compile my project by adding in references msado15.dll in Microsoft ActiveX data objects 6.0 library. Now my app will run in all Windows 7 versions(32 or 64bit).
For windows XP i just make a .bat file in which i register msado15.dll .I put it in project and it is working successfully in windows xp as well.

Multiple installation of device, the windows xp shows the error code 28

I have created the driver for our device and installed in windows xp. While installing first time it will install successfully and shows in windows driver list. But when again install the windows xp shows that error code 28 and in driver list is showing that unknown device.
Please note that the multiple time installation done in windows 7, windows 8 successfully, but only create the problem in windows xp.
Any idea?
Heap memory was not free properly. Deleted the memory properly that is working in all platform.

Deploying Datasnap Service

Using C++ Builder under Rad Studio XE I have created a simple Datasnap server service from scratch. I wanted to test the service installation process before adding any functionality, and found that while it will install successfully on a range of Windows machines, I haven't been able to get it to Start under a clean installation of Windows 7 x64.
The error message trying to start the service is: Windows could not start the service on Local Computer. Error 2: The system cannot find the specified file.
I have turned off both dynamic linking and run-time libraries. It starts fine under Windows XP and 2003 operating systems, just not this single Win7 machine that I have. I have opened the firewall for the specified ports, and confirmed no other app is using them as well. The service was installed under Administrator, and logs on as Local System account.
Is there a problem with a C++ Builder compiled service under Windows 7, or maybe 64 bit? Hopefully someone can point me in the right direction so I don't have to bang my head against the wall too many more time.
Thanks!
Since C++ Builder creates 32bit applications only, make sure you install the service in the c:\Windows\SysWOW64 folder on 64bit Win7 systems. Windows 7 x64 expects to find only 64bit files/services in the system32 folder.

Not able to deploy VB6 based setup on Windows 7

I have a setup created using Vb6. I am unable to install it under Windows 7. Windows 7 is not registering OCX controls included in the setup.
Same setup works fine under Windows XP and all other previous Microsoft operating systems.
Windows 7 OS is 64 bit.
Also, I have tried all compatibility mode which is available under Windows 7 without much luck.
Unfortunately I don't have source code with me. Otherwise I could have ported entire source to Dot Net.

Resources