Hi Jerry,
I've also been struggling with this problem as the Geosoft documentation is
not very helpful on the use of VB. The solution for the geostd problem is to
delete all copies of geostd.dll from directories other than the one in which
you installed 4.3 and to ensure that the 4.3 directory (containing all the
Geosoft dll's) is included in your PATH environment variable. You can't just
put geostd.dll in your windows system directory as it requires other Geosoft
dll's to load properly, so if it doesn't also find these in the system
directory the load fails and you then get the misleading File not found
error message. (Misleading because it did find geostd, but it failed to load
properly).
If you're going to distribute a VB application for users who do not have an
Oasis licence, you need to use the (more limited) gx_oppi.bas function
definitions rather than those included in the VB samples and the gx_oppi.dll
file should be installed in the system or application directory, or the user
needs to run the OPPI setup program.
Hope that this helps
John Paine
Scientific Computing and Applications
[EMAIL PROTECTED]
61-8-83327922
----- Original Message -----
From: "Hensel, Jerry (HENJ)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 12:40 AM
Subject: [gxnet]: Where is the geostd.dll??
> GX developers:
>
> I have encountered a problem, and I wonder if anyone else has had a
similar
> experience and can help me.
> I have just recently installed 5.0 OASIS Montaj on my PC from the CD. I
also
> had the on-line update to 5.0.4. I had been running 4.3. I have been
> trying to create some GX's that use Visual Basic DLL's and have run into a
> problem.
>
> I started with trying to recompile the gridinfo that comes with Oasis
Montaj
> 5.0 in Visual Basic. I have created a VB test project and a little VB
> application to compile and run the DLL but I get a message "File not
found:
> geostd" when I use the "Start" option in Visual Basic to run my test
> application.
>
> However, If I just create the DLL and then try to run it using the "Run
GX"
> pull down in Oasis Montaj, it works fine. I modified the code a bit to put
> up a message box so I know that I am running my newly compiled DLL when I
> run the GX.
>
> I don't really need to compile the gridinfo gx but I would like to create
a
> new VB DLL that calls GeoSoft routines, so I would like to figure out how
to
> debug my code in VB without having to create my DLL and run the gx to
debug
> the code.
>
> Is this even possible?
>
> I tried to use regsvr32 to register the geostd.dll but got a message
>
> "geostd.dll was loaded, but the DllRegisterSrever entry point was not
found"
>
> Thanks for your help
>
> Jerry Hensel
>
> Chevron Petroleum Technology Company
> Gravity and Magnetics Specialist
> Geophysical Services Team
> [EMAIL PROTECTED]
> (281) 596-3132
>
>
> _______________________________________________________
> More mailing list info http://www.geosoft.com/support/listserv/index.html
> List Archive http://www.mail-archive.com/[email protected]
_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html
List Archive http://www.mail-archive.com/[email protected]