Hi all,
I am wondering if you is #PB_ANY to do an ODBC OpenDatabase call what are the possible return values? I know that the help documentation says that it will return 0 if it failed, but will it return any non-zero number on a success? I have been trying to track down a connectivity issue for a while and I am at my wits ends right now.
This is the last thing that I can think would be causing the issue. All the checks that I see are for >0 and not <>0.
Any help on this would be great thanks.
OpenDataBase
Re: OpenDataBase
With #PB_Any, the OS is given you a number, if it is open with sucess. This is normally an OS Handle. These handles can also
be negative values... Some of the most given errors is to use a long variable to store this handle.
If the system has more than 2GB of ram you can create invalid memory errors... and you have very much fun to find the cause of this error
be negative values... Some of the most given errors is to use a long variable to store this handle.
If the system has more than 2GB of ram you can create invalid memory errors... and you have very much fun to find the cause of this error