Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #3554 > unrolled thread

Help with Visual Objects 2.0

Started byykc666@gmail.com
First post2012-06-01 19:59 -0700
Last post2012-06-04 09:55 +0200
Articles 9 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Help with Visual Objects 2.0 ykc666@gmail.com - 2012-06-01 19:59 -0700
    Re: Help with Visual Objects 2.0 "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2012-06-02 10:06 +0200
      Re: Help with Visual Objects 2.0 ykc666@gmail.com - 2012-06-02 06:24 -0700
      Re: Help with Visual Objects 2.0 ykc666@gmail.com - 2012-06-02 07:35 -0700
        Re: Help with Visual Objects 2.0 "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2012-06-02 23:25 +0200
          Re: Help with Visual Objects 2.0 ykc666@gmail.com - 2012-06-02 20:12 -0700
    Re: Help with Visual Objects 2.0 "Uwe Heyer" <uwe.heyer@aristik.de> - 2012-06-02 16:15 +0000
      Re: Help with Visual Objects 2.0 ykc666@gmail.com - 2012-06-02 20:10 -0700
        Re: Help with Visual Objects 2.0 D.J.W. van Kooten <public@ic2remove.this.com> - 2012-06-04 09:55 +0200

#3554 — Help with Visual Objects 2.0

Fromykc666@gmail.com
Date2012-06-01 19:59 -0700
SubjectHelp with Visual Objects 2.0
Message-ID<e5d59d36-4d03-41c4-a193-690bb03da145@googlegroups.com>
VO gurus,

The client is using a program written in VO 2.0 for the last 12 years.
Now the client want to make some changes to the program.

I have the source code in Version 2.0, but when I install vo 2.0 on a clean machine and import the source, I get file corrupt: 40187:62063 error.

The IDE lets me compile the source without any errors after this step.
But when I run the executable, I get the following error

THE procedure entry point: SQLConnection: Connect could not be located in the dynamic link library CAVA2SQL.dll


I am new to this Visual objects IDE and before I go back and tell the client that I can't help them, I though of asking your help.

Can anyone have any suggestions on what I am doing wrong? Is there any hope?

Thanks
Kal

[toc] | [next] | [standalone]


#3556

From"Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Date2012-06-02 10:06 +0200
Message-ID<a2tvs6Fn3cU1@mid.individual.net>
In reply to#3554
Hi Kal,

Maybe the CAVA2SQL.dll (CAVO2SQL.dll ?) is not present or another version 
where this specific function or method is is not there. I'll have a closer 
look to 2.0 in a few days and let you know.

regards
Urs

<ykc666@gmail.com> schrieb im Newsbeitrag 
news:e5d59d36-4d03-41c4-a193-690bb03da145@googlegroups.com...
> VO gurus,
>
> The client is using a program written in VO 2.0 for the last 12 years.
> Now the client want to make some changes to the program.
>
> I have the source code in Version 2.0, but when I install vo 2.0 on a 
> clean machine and import the source, I get file corrupt: 40187:62063 
> error.
>
> The IDE lets me compile the source without any errors after this step.
> But when I run the executable, I get the following error
>
> THE procedure entry point: SQLConnection: Connect could not be located in 
> the dynamic link library CAVA2SQL.dll
>
>
> I am new to this Visual objects IDE and before I go back and tell the 
> client that I can't help them, I though of asking your help.
>
> Can anyone have any suggestions on what I am doing wrong? Is there any 
> hope?
>
> Thanks
> Kal 

[toc] | [prev] | [next] | [standalone]


#3557

Fromykc666@gmail.com
Date2012-06-02 06:24 -0700
Message-ID<6c77c402-5275-4ece-af2f-3ad54e6b5fdc@googlegroups.com>
In reply to#3556
On Saturday, June 2, 2012 4:06:16 AM UTC-4, Urs Eggmann wrote:
> Hi Kal,
> 
> Maybe the CAVA2SQL.dll (CAVO2SQL.dll ?) is not present or another version 
> where this specific function or method is is not there. I'll have a closer 
> look to 2.0 in a few days and let you know.
> 
> regards
> Urs
> 
> <ykc666@gmail.com> schrieb im Newsbeitrag 
> news:e5d59d36-4d03-41c4-a193-690bb03da145@googlegroups.com...
> > VO gurus,
> >
> > The client is using a program written in VO 2.0 for the last 12 years.
> > Now the client want to make some changes to the program.
> >
> > I have the source code in Version 2.0, but when I install vo 2.0 on a 
> > clean machine and import the source, I get file corrupt: 40187:62063 
> > error.
> >
> > The IDE lets me compile the source without any errors after this step.
> > But when I run the executable, I get the following error
> >
> > THE procedure entry point: SQLConnection: Connect could not be located in 
> > the dynamic link library CAVA2SQL.dll
> >
> >
> > I am new to this Visual objects IDE and before I go back and tell the 
> > client that I can't help them, I though of asking your help.
> >
> > Can anyone have any suggestions on what I am doing wrong? Is there any 
> > hope?
> >
> > Thanks
> > Kal

Thank You

[toc] | [prev] | [next] | [standalone]


#3558

Fromykc666@gmail.com
Date2012-06-02 07:35 -0700
Message-ID<253228b8-12c6-4fcb-bed2-64f681dfd739@googlegroups.com>
In reply to#3556
Hi Urs,
Thank you.
I copied older version of cavo2sql.dll into the application folder, now I am getting the following error

"The procedure entry point _WINWIN32_FIND_DATAA could not be located in Kernal32.dll"


Thanks,
Kal

[toc] | [prev] | [next] | [standalone]


#3563

From"Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Date2012-06-02 23:25 +0200
Message-ID<a2veltFf3jU1@mid.individual.net>
In reply to#3558
Hi Kal,

The structure _WINWIN32_FIND_DATAA is used by the functions FindFirstFile()
and FindNextFile() as you can see in the source code I have copied from the
Win32 API Library of CAVO 2.0. The error occurs now in the Kernel.dll that
is a Windows-dll. This can point to a conflict between VO- and
Windows-version as Uwe said. Unfortunately I'm not too familiar with API so
it is difficult for me to give you more precise informations.

What I can offer you is a test to import your aef-files in VO 2.0 (or
probably in VO 2.5) here to figure out more information which version could
work.

regards
Urs






This code is identical in VO-version 2.0 and 2.5. That could give you a
chance with W2000
*********************************
_DLL FUNC FindFirstFile(lpFilename AS PSZ, lpFindFileData AS
_WINWIN32_FIND_DATA);
    AS PTR PASCAL:KERNEL32._WINWIN32_FIND_DATAA#250

_DLL FUNC FindNextFile(hFindFile AS PTR,;
  lpFindFileData AS _WINWIN32_FIND_DATAA);
  AS LOGIC PASCAL:KERNEL32.FindNextFileA#152


STRUCT _WINWIN32_FIND_DATA
        MEMBER dwFileAttributes AS DWORD
        MEMBER ftCreationTime IS _WINFILETIME
        MEMBER ftLastAccessTime IS _WINFILETIME
        MEMBER ftLastWriteTime IS _WINFILETIME
        MEMBER nFileSizeHigh AS DWORD
        MEMBER nFileSizeLow AS DWORD
        MEMBER dwReserved0 AS DWORD
        MEMBER dwReserved1 AS DWORD
        MEMBER DIM cFileName[ MAX_PATH ] AS BYTE
        MEMBER DIM cAlternateFileName[ 14 ] AS BYTE






<ykc666@gmail.com> schrieb im Newsbeitrag
news:253228b8-12c6-4fcb-bed2-64f681dfd739@googlegroups.com...
> Hi Urs,
> Thank you.
> I copied older version of cavo2sql.dll into the application folder, now I
> am getting the following error
>
> "The procedure entry point _WINWIN32_FIND_DATAA could not be located in
> Kernal32.dll"
>
>
> Thanks,
> Kal

[toc] | [prev] | [next] | [standalone]


#3566

Fromykc666@gmail.com
Date2012-06-02 20:12 -0700
Message-ID<62ae4b85-02a5-4dc9-b6e8-a3fb06d8b447@googlegroups.com>
In reply to#3563
On Saturday, June 2, 2012 5:25:12 PM UTC-4, Urs Eggmann wrote:
> Hi Kal,
> 
> The structure _WINWIN32_FIND_DATAA is used by the functions FindFirstFile()
> and FindNextFile() as you can see in the source code I have copied from the
> Win32 API Library of CAVO 2.0. The error occurs now in the Kernel.dll that
> is a Windows-dll. This can point to a conflict between VO- and
> Windows-version as Uwe said. Unfortunately I'm not too familiar with API so
> it is difficult for me to give you more precise informations.
> 
> What I can offer you is a test to import your aef-files in VO 2.0 (or
> probably in VO 2.5) here to figure out more information which version could
> work.
> 
> regards
> Urs
> 
> 
> 
> 
> 
> 
> This code is identical in VO-version 2.0 and 2.5. That could give you a
> chance with W2000
> *********************************
> _DLL FUNC FindFirstFile(lpFilename AS PSZ, lpFindFileData AS
> _WINWIN32_FIND_DATA);
>     AS PTR PASCAL:KERNEL32._WINWIN32_FIND_DATAA#250
> 
> _DLL FUNC FindNextFile(hFindFile AS PTR,;
>   lpFindFileData AS _WINWIN32_FIND_DATAA);
>   AS LOGIC PASCAL:KERNEL32.FindNextFileA#152
> 
> 
> STRUCT _WINWIN32_FIND_DATA
>         MEMBER dwFileAttributes AS DWORD
>         MEMBER ftCreationTime IS _WINFILETIME
>         MEMBER ftLastAccessTime IS _WINFILETIME
>         MEMBER ftLastWriteTime IS _WINFILETIME
>         MEMBER nFileSizeHigh AS DWORD
>         MEMBER nFileSizeLow AS DWORD
>         MEMBER dwReserved0 AS DWORD
>         MEMBER dwReserved1 AS DWORD
>         MEMBER DIM cFileName[ MAX_PATH ] AS BYTE
>         MEMBER DIM cAlternateFileName[ 14 ] AS BYTE
> 
> 
> 
> 
> 
> 
> <ykc666@gmail.com> schrieb im Newsbeitrag
> news:253228b8-12c6-4fcb-bed2-64f681dfd739@googlegroups.com...
> > Hi Urs,
> > Thank you.
> > I copied older version of cavo2sql.dll into the application folder, now I
> > am getting the following error
> >
> > "The procedure entry point _WINWIN32_FIND_DATAA could not be located in
> > Kernal32.dll"
> >
> >
> > Thanks,
> > Kal

Thank You Urs, Let me check if I need to apply the patch to the 2.0 and will get back to Thank you for your help

[toc] | [prev] | [next] | [standalone]


#3561

From"Uwe Heyer" <uwe.heyer@aristik.de>
Date2012-06-02 16:15 +0000
Message-ID<a2usgcFa67U1@mid.individual.net>
In reply to#3554
Hi Kal,

1) for VO 2.0 I would use Win2000 for this compiler/ide (the native OS
for this old one)

2) The imported source files are *.aef/*.mef ? 
Then you need the same service pack==>patches installed for VO 2.0 first
Structure of AEF/MEF changed every new patch
if memory serves me right: 4 patches are released by CA

Good luck
-Uwe


[toc] | [prev] | [next] | [standalone]


#3565

Fromykc666@gmail.com
Date2012-06-02 20:10 -0700
Message-ID<eeb241f3-c6d8-4ac7-bf32-10651dddd039@googlegroups.com>
In reply to#3561
On Saturday, June 2, 2012 12:15:08 PM UTC-4, Uwe Heyer wrote:
> Hi Kal,
> 
> 1) for VO 2.0 I would use Win2000 for this compiler/ide (the native OS
> for this old one)
> 
> 2) The imported source files are *.aef/*.mef ? 
> Then you need the same service pack==>patches installed for VO 2.0 first
> Structure of AEF/MEF changed every new patch
> if memory serves me right: 4 patches are released by CA
> 
> Good luck
> -Uwe

Hi Uwe,
I remember the 4 patches we used to apply 10 years back. I don't think we got them now from CAVO, I will check with them if they sent us the patches

Thanks,
Kal

[toc] | [prev] | [next] | [standalone]


#3574

FromD.J.W. van Kooten <public@ic2remove.this.com>
Date2012-06-04 09:55 +0200
Message-ID<65qos7hsmlj5grb32e79u31pdnnnt9ft3g@4ax.com>
In reply to#3565
On Sat, 2 Jun 2012 20:10:52 -0700 (PDT), ykc666@gmail.com wrote:

Hello Kal,

>I remember the 4 patches we used to apply 10 years back. I don't think we got them now from CAVO, I will check with them if they sent us the patches
>
As you're talking about 'clients' , I suppose you mean paying clients,
you might consider buying Cavo28 and get your program working there. A
SP4 news was announced 3 weeks ago but I think Brian temporarily lost
the developer or something as no news was given. However, any 2.8 is a
much better idea than 2.0.

If you want to find where your procedure entry point problems come
from, download Dependency Walker http://dependencywalker.com/
and you'll be able to find the guilty DLL.

Dick

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web