VFP and .NET Interop
wwDotNetBridge
Gravatar is a globally recognized avatar based on your email address. wwDotNetBridge
  glenn
  All
  Feb 21, 2017 @ 07:52am

I am attempting to reompile wwDotNetBridge and having a problem with one of the header files. When attempting compile Visual Studio reports that afxres.h could not be opened.

Severity	Code	Description	Project	File	Line	Suppression State
Error	RC1015	cannot open include file 'afxres.h'.	ClrHost	C:\DEV\vDev\Val\VAL9_1-AM\Wconnect\wwDotnetBridge\wwDotnetBridge-master\ClrHost\ClrHost.rc	10	

I cannot file the file anywhere in the solution.

Thanks

Glenn

Gravatar is a globally recognized avatar based on your email address. re: wwDotNetBridge
  glenn
  glenn
  Feb 21, 2017 @ 08:35am

OK, I found the answer. My Visual Studio installation did not include MFC Library.

Gravatar is a globally recognized avatar based on your email address. re: wwDotNetBridge
  Rick Strahl
  glenn
  Feb 21, 2017 @ 12:29pm

You shouldn't really need to recompile the C++ code. You can just unload the C++ project and compile the .NET portion.

The specific libraries required are the Visual Studio C++ workload and ATL libraries I believe.

+++ Rick ---

© 1996-2024