Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 29, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Off Topic Forums - General & Off Topic
Forum for off topic and general discussion. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General & Off Topic | New ThreadView:  Search:  
 Author  Thread: SLAPI.Dll
Raj
Posts: 7
 
SLAPI.DllYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Dec 07 4:04 PM
Hi,
I am trying to get the Log on Information from SLAPI. We are logging into sales logix using SLAPI. I need to get the Database info and Server Info. I am using MsgBox "DBInfo : " & slapi_DBGetInfo(llngHandle, "AliasName") & Chr$(13) & _
slapi_DBGetInfo(llngHandle, "MasterUserName") & Chr$(13) & _
slapi_DBGetInfo(llngHandle, "MasterPassword")

Getting UserName and Password but not DBName or servername.

Thanks
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: SLAPI.DllYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 07 7:22 AM
Nobody uses SLAPI anymore.. it's an obsolete interface technology.

Connect up to the SalesLogix Provider and do the "ADO" thing.


Just create a connection string and follow Chris' example (replacing the normal SalesLogix Connection stuff w/yours):
http://www.slxdeveloper.com/page.aspx?id=35&articleid=76

--
rjl
[Reply][Quote]
Raj
Posts: 7
 
Re: SLAPI.DllYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 07 7:55 AM
Yeah but my requirement is to connect to SLAPI using BDE logins and need to get BDE login information. i.e Databasename or AliasName or ServerName, Username and password.

Thanks
Raj
[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: SLAPI.DllYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 07 9:18 AM
What version is your SalesLogix database?

Do you have SalesLogix Remotes? If so will you be making changes to SalesLogix that needs to be synced to the remotes?
[Reply][Quote]
John H. Hedges
Posts: 62
 
Re: SLAPI.DllYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 07 10:39 AM
You get BDE alias lists and the user ID's from the Registry - look in HKCU and HKLM under either /Software/SalesLogix/Logins or /Software/Interact Commerce/SalesLogix/Logins.

You won't get the passwords in any case, of course. Depending on version, you might see the SYSDBA password in there, but it's encrypted (as it should be!).

If you want the server and name of the underlying database (rather than just the alias), then you have two options - log in to the SLX database via SLAPI and make calls to slx_DBGetInfo(), which in your case apparently isn't working, or parse the IDAPI32.CFG file directly.

IDAPI32.CFG is a streamed binary, so parsing it takes some coding... but if you absolutely must get the info prior to the login or slx_DBGetInfo() just isn't getting it done, post a reply to that effect and I'll see what I can do. (Though I'm not the only one who's done it, of course.)
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: SLAPI.DllYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 07 3:40 PM
Quote:
Originally posted by Raj

Yeah but my requirement is to connect to SLAPI using BDE logins and need to get BDE login information. i.e Databasename or AliasName or ServerName, Username and password.

Thanks
Raj


So you are "Pre-v6.x" SalesLogix.. right?

Too bad... all before v7.0 are non-supported versions of SalesLogix.

Why have you not upgraded?
--
rjl
[Reply][Quote]
Stuart
Posts: 178
 
Re: SLAPI.DllYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 07 6:12 PM
"Too bad... all before v7.0 are non-supported versions of SalesLogix"

RJL - Are you telling us that 6.2.6 is not supported? Since when?
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: SLAPI.DllYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 07 7:53 PM
Quote:
Originally posted by Stuart

"Too bad... all before v7.0 are non-supported versions of SalesLogix"

RJL - Are you telling us that 6.2.6 is not supported? Since when?

Opps.. "slip"...
Pre v6.2.x NOT supported (but in reality.. only 6.2.6 really works because of DST
--
rjl
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: SLAPI.DllYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 07 8:01 PM
Quote:
Originally posted by Bob (RJ)Ledger


Opps.. "slip"...
Pre v6.2.x NOT supported (but in reality.. only 6.2.6 really works because of DST
--
rjl


Qualification... on SLAPI.... SLAPI is really NOT supported Post 6.x.

It's really a "hack" setup (post 5.2.6a) in case folks did not have the source code to their SLAPI based external apps. Not nice to deal with and NO new apps should ude it. SDK support will tell you that.
--
rjl
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/29/2024 5:18:37 PM