Quote Originally Posted by BooksRUs View Post
I'm new to all this, so take it easy on me, please

I have successfully used the WebView2 in the VB6 IDE without issues... BUT, when I go to MAKE my project, it fails to compile with the following error:

Unexpected error occurred in code generator or linker. --View error messages?

I click on Yes and get a text tmp file that contains this error:

C:\<MYFOLDER>\<MYFORM>.frm(6624) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'e:\work\utc2\src\P2\main.c', line 495)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information

If I comment out any lines where I'm doing this:

Set wv5 = New_c.WebView2

or this:

If wv5.BindTo(... blah, blah... ) then

Then the program compiles fine. Obviously, it doesn't *work* correctly because these lines are commented out.

Again, if I just Run the program in the VB6 IDE, then it works great.

Please help.
Maybe it's a question about the RC6 path.
https://www.vbforums.com/showthread....=1#post5443031