🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #233

BCB5 to 2007

#233
From: Marshall
Date: Fri, 14 Mar 2008 19:27
28 lines
1796 bytes
Hello all:

I'm trying to migrate a project from BCB5 to BCB2007. I have a source file 
that utilizes some VCL objects in a function prototype (Works fine in BCB5) 
but I keep getting the error during compile time of

"[BCC32 Error] misc100.cpp(11): E2147 'TStringGrid' cannot start a parameter 
declaration"

The code is:

#include <stdio.h>
#include <mem.h>
#include <string.h>
#include <vcl.h>

int get_file_check_digit(char *filename, int position);
void read_label_captions(TForm *f, char filename[255]);
void write_label_captions(TForm *f, char filename[255]);
void del_array_element(int num, int index, int *array, int init_value);
void sort_int_array(int num, int *array, int *mirror, int ascending);
ERROR HERE-->void sort_string_grid(TStringGrid *t, int startrow);

Any ideas???

Thank you

Marshall
Technical Details
Message-ID: <47dad19c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,d6bd45b17d20d4da,start
X-Google-Attributes: gid110f51,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marshall" <infsoft@centurytel.net>
Newsgroups: borland.public.cppbuilder.migration
Subject: BCB5 to 2007
Date: Fri, 14 Mar 2008 14:27:25 -0500
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 207.119.57.134
Message-ID: <47dad19c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1205522844 207.119.57.134 (14 Mar 2008 12:27:24 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail