Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Antview ocx manifest file that will work for reg free Com in VB6
#5
I tried your suggestion above, but Microsoft Visual Foxpro 9 is still unhappy and wants the control registered.

1. On the target/test PC, I unregistered antview-2.0-x86.dll and WebView2Loader.dll just to be sure of where I was starting
2. I put a copy of AntView-2.0-x86.dll (32 bit) in the same folder as my app binary on the target/test PC.
3. I put a copy of WebView2Loader.dll (32 bit) in the same folder as my app binary on the target/test PC.
4. I modified my app's manifest file to add the AntView 2.0 dependency and a bit of the security stuff.
5. Ran the app
6. Same results, Foxpro wants AntView 2.0 to be registered.

I am running on Windows 11 on the target/test PC.


If I manually register the DLLs with regsvr32 it works fine. But as stated, I cannot do that during a "patch" install on customer's machines.

Here is my manifest file for the app:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" type="win32" name="Microsoft.VisualFoxPro" processorArchitecture="x86" /> <description>Visual FoxPro</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" language="*" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" /> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="AntView-2.0-x86.dll" version="2.0.459.0" /> </dependentAssembly> </dependency> <v3:trustInfo xmlns:v3="urn:schemas-microsoft-com:asm.v3"> <v3:security> <v3:requestedPrivileges> <v3:requestedExecutionLevel level="asInvoker"></v3:requestedExecutionLevel> </v3:requestedPrivileges> </v3:security> </v3:trustInfo> <v3:application xmlns:v3="urn:schemas-microsoft-com:asm.v3"> <v3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> <dpiAware>True</dpiAware> </v3:windowsSettings> </v3:application> </assembly>
Reply


Messages In This Thread
RE: Antview ocx manifest file that will work for reg free Com in VB6 - by Batduder - 2025-02-08, 22:23:44

Forum Jump:


Users browsing this thread: 1 Guest(s)