Help please: VB 3.0 pro to VB 4.0 pro

Help please: VB 3.0 pro to VB 4.0 pro

Post by JF Dullaar » Wed, 31 Jul 1996 04:00:00



Hi

Can anyone please shed some light?

I have some CGI scripts written in Visual Basic 3.0.  They make use of
the "GetPrivateProfileString" function. The scripts work perfectly in VB
3.0 but when I re-compile into new executables under 4.0, they fail with
error 48 - Error in loadinmg DLL.

All of this happens under WIN 95

Any info or pointers will be appreciated.

Franz

--
_________________________________
Franz Dullaart  (021) 650 3053

http://www-jfd.its.uct.ac.za/
_________________________________
Snoepie oor sy inkleurboek:
  "Ek maak altyd die lug blou"

 
 
 

Help please: VB 3.0 pro to VB 4.0 pro

Post by Eugenio Sanchez Alarco » Wed, 31 Jul 1996 04:00:00



> Hi

> Can anyone please shed some light?

> I have some CGI scripts written in Visual Basic 3.0.  They make use of
> the "GetPrivateProfileString" function. The scripts work perfectly in VB
> 3.0 but when I re-compile into new executables under 4.0, they fail with
> error 48 - Error in loadinmg DLL.

> All of this happens under WIN 95

> Any info or pointers will be appreciated.

> Franz

> --
> _________________________________
> Franz Dullaart  (021) 650 3053

> http://www-jfd.its.uct.ac.za/
> _________________________________
> Snoepie oor sy inkleurboek:
>   "Ek maak altyd die lug blou"If you are using VB 4.0 for 32 bit applications, the name of the

libraries changed, also, in the 16 bit DLL's, usually numeric parameters
are passed as integer whereas in 32 bit DLL's they are passed as long.
Check on these two items for the source of the problem. (Hope it helps.)
--

Electrical Eng.
PHONE : (USA)210-618-7874, (DELCO)8-953-7874, (MEXICO)(91)-89-22-90-40
X7874
DELNOSA S.A. de C.V. - REYNOSA, TAMAULIPAS, MEXICO

 
 
 

Help please: VB 3.0 pro to VB 4.0 pro

Post by Danny Bran » Thu, 01 Aug 1996 04:00:00




|>
|> Hi
|>
|> Can anyone please shed some light?
|>
|> I have some CGI scripts written in Visual Basic 3.0.  They make use of
|> the "GetPrivateProfileString" function. The scripts work perfectly in VB
|> 3.0 but when I re-compile into new executables under 4.0, they fail with
|> error 48 - Error in loadinmg DLL.
|>
|> All of this happens under WIN 95
|>
|> Any info or pointers will be appreciated.
|>
|> Franz
|>
|> --
|> _________________________________

Yeah, check out the Win32 API documentation that comes with VB4.
The function needs to be called as GetPrivateProfileStringA() now.
Furthermore, if you score the cgi32.bas file and replace it for
your cgi.bas file, your problems are solved as well (probably).

Regards,

Danny Brands

Greetz from da low landz

 
 
 

Help please: VB 3.0 pro to VB 4.0 pro

Post by Henry S. Takeuc » Fri, 02 Aug 1996 04:00:00





>|> I have some CGI scripts written in Visual Basic 3.0.  They make use of
>|> the "GetPrivateProfileString" function. The scripts work perfectly in VB
>|> 3.0 but when I re-compile into new executables under 4.0, they fail with
>|> error 48 - Error in loadinmg DLL.
>|>
>|> All of this happens under WIN 95

You're probably still trying to use the 16-bit DLLs.
You need to change the Lib's to the 32-bit DLLs

GetPrivateProfileStringA (which is the new name) is in "kernel32".
The API name is case-sensitive.

--
VB4-32 assumed.
Henry S. Takeuchi

Seattle, Washington (USA)

 
 
 

1. Help on VB Pro 3.0

I am creating a small VB 3 Pro app whick is using Foxpro 2.5 tables and
indexes. I know how to open both, and how to set the order to an index,
however, I would like the app have the ability to re-create the indexes
if they are missing or need re-indexing. Any help is appreciated.

2. New Server- How to Optimise

3. DataBase Help!!!! in Vb 4.0 Pro

4. Comparing Paradox and FoxPro

5. Help with VB 4.0 & Apex TrueGrid Pro

6. (Fwd) Re: Re:ALARMPROGRAM (was DSA 7.22 UC1 on HP-UX 10.10 Crash )

7. VB 5 Pro and Fox Pro Databases

8. Oracle Developer 2000 skills needed in Denver

9. VB 3.0 PRO + Hebrew ACCESS 2.0

10. VB 3.0 Pro and Lotus Notes

11. Paradox 4.5 and VB Pro 3.0

12. Using indexes with the Data Manager with VB 3.0 Pro

13. Display Conflicts with VB 3.0 Pro