Error while compiling VB6 project

 Hi,

         I am trying to compile VB6 project using final builder. But it gives the following error

        -Unexpected error occurred in code generator or linker.  

        -fatal error C1083: Cannot open compiler generated file: 'C:\Projects\VB-PDF-source\C:\Projects\VB-PDF-           source\Form1.OBJ': Invalid argument

 

               When i compile the project using the VB6 IDE or using commnad line options all works fine. But it doesnt compile in finalbuilder. Am i mssing something?????

 

Regards

Hiten Parmar

 

 

 As suggested in previous post i compared the fbtemp.vbp file with the actual project file and it seems fine.Following is the content of both the vbp file. I you could go through it, it would a big help.

------------------------------------------------------------------------------

Project 1.vbp

Type=Exe

Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\Windows\system32\stdole2.tlb#OLE Automation

Form=Test.frm

Startup="Test"

HelpFile=""

Command32=""

Name="Project1"

HelpContextID="0"

CompatibleMode="0"

MajorVer=1

MinorVer=0

RevisionVer=0

AutoIncrementVer=0

ServerSupportFiles=0

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

 
--------------------------------------------------------------------------------------------
fbtemp.vbp
 
Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\Windows\system32\stdole2.tlb#OLE Automation
Form=Test.frm
Startup="Test"
HelpFile=""
Command32=""
Name="Project1"
HelpContextID="0"
CompatibleMode="0"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
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
Path32="C:\Projects\TestVB\C:\Projects\TestVB"
Title=""
ExeName32="Project1.exe"
Description=""
VersionComments=""
VersionCompanyName=""
VersionFileDescription=""
VersionLegalCopyright=""
VersionLegalTrademarks=""
VersionProductName=""
 

Hiten Parmar

Computer Science Graduate Student 

State University of New York

002_001_TestVB.zip (1.916 KB)002_001_TestVB.zip (1.916 KB)002_001_TestVB.zip (1.916 KB)