Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crash making a C++ OLEDB consumer of VFP DB
Message
From
19/10/2006 16:56:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01160912
Message ID:
01163468
Views:
20
>Cetin,
>
>I have done as you suggested. I used GENDBC on my DBC file. It crashes with an error on line 500. When I look into GENDBC.PRG, I can see that line 500 is the command COMPILE. So, GENDBC has created the PRG file, and is now compiling it.
>
>The error says that a line is too long.
>
>If I understand this correctly, it is saying that some line in the PRG file generated by GENDBC has a line that is too long. Online help says that lines must be less than 8192 characters long!
>
>Do you know of any way to determine which line in the PRG file was found to be too long? If I open the PRG in NOTEPAD, I can scan through the file, and verify that no line is physically longer than maybe 150 chars. So, the error must be a "logical" line, i.e. wrapping, with some string terminator missing. Such an error is very difficult to see.
>
>Thanks again for your help.
>
>Jim

Jim,
You can divide it into individual blocks and run.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform