Wow, sometimes I think I'm losing my mind. I can no longer compile a "Sub Main" type project. I'm on the latest version of Win10-64, 1803 (OS Build 17134.48).

If I just leave it as a Form1 project, it compiles just fine.

And a "Sub Main" type project will execute just fine in the IDE.

Here's about as simple as I could make it:

modTest (saved as Test.bas):
Code:

Option Explicit

Sub Main()
    '
End Sub
And Test.vbp:
Code:
Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\Windows\SysWOW64\stdole2.tlb#OLE Automation
Module=modTest; Test.bas
Startup="Sub Main"
HelpFile=""
NoControlUpgrade=1
Title="Test"
ExeName32="Test.exe"
Command32=""
Name="Test"
HelpContextID="0"
Description="Test"
CompatibleMode="0"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
VersionCompanyName="Shriners Hospitals for Children - Houston, TX"
CompilationType=0
OptimizationType=0
FavorPentiumPro(tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=0
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
When I click File / Make Test.exe, the IDE's bleed bar gets to about half-way, and then the IDE just totally evaporates from the screen and memory. No error message, no nothing!

I've played around with about all the compiler options, and nothing changes anything. I've even removed the OLE Automation reference, and still the same thing.


It does create a Test.obj (for Test.bas) before it crashes, and just leaves it in the folder.

I've also attached this very simple project. Are others with Win10-64, 1803 having this problem?

Elroy