Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 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!
 External Development Forums - SalesLogix COM
Forum to discuss using the SalesLogix COM interfaces from external applications, such as SlxApplication, ClientObjix, etc. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix COM | New ThreadView:  Search:  
 Author  Thread: 32-bit app cannot create SalesLogix.ClientObjix on 64 bit OS
Djie Tjoa
Posts: 4
 
32-bit app cannot create SalesLogix.ClientObjix on 64 bit OSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Mar 13 2:12 PM

My 32 bit app works fine on 32-bit OS with SalesLogix.


But the same app won't be able to create SalesLogix component on 64 bit OS. Is it because SalesLogix version is also 64-bit version? Is there a way to have 32-bit SalesLogix COM installed on 64-bit OS?

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: 32-bit app cannot create SalesLogix.ClientObjix on 64 bit OSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Mar 13 2:41 PM

You need to set the compile mode to x86 only.

[Reply][Quote]
Djie Tjoa
Posts: 4
 
Re: 32-bit app cannot create SalesLogix.ClientObjix on 64 bit OSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Mar 13 4:55 PM

Do you my app's compile mode? I think it is set for x86. It is old VB6 app.

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: 32-bit app cannot create SalesLogix.ClientObjix on 64 bit OSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 13 2:50 AM

SLX is only 32bit - so 32bit +32bit should be fine - how are you establishing a connection ?

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: 32-bit app cannot create SalesLogix.ClientObjix on 64 bit OSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 13 2:52 AM

On the Compile tab - click Advanced options, on the TargetCPU change from anyCPU to x86.

[Reply][Quote]
Djie Tjoa
Posts: 4
 
Re: 32-bit app cannot create SalesLogix.ClientObjix on 64 bit OSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 13 10:22 AM

On VB6, there is not target option.


The app uses the following to connect to SalesLogix component:


        Set SLX = CreateObject("SalesLogix.ClientObjix")


BTW, do you mean SalesLogix is a 32-bit app (at least, its COM components) even on 64 bit OS?

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: 32-bit app cannot create SalesLogix.ClientObjix on 64 bit OSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 13 10:52 AM

Ah right, I see - it's not actually a connection but a COM component. Hmm, not sure about that, I would say not though.

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: 32-bit app cannot create SalesLogix.ClientObjix on 64 bit OSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Mar 13 8:11 PM
fiogf49gjkf0d

SLX is a 32 bit app......even on a 64 bit OS....

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: 32-bit app cannot create SalesLogix.ClientObjix on 64 bit OSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Apr 13 12:04 AM

It depends on where the script is running (or actually *how* it is running). There are two script interpreters on a 64-bit machine. A 32-bit one and a 64-bit one. If the script is being interpreted by the 64-bit script interpreter, it CAN'T create a 32-bit COM object using CreateObject. It's just not possible. You must run the script with the 32-bit script interpreter in order to see or use a 32-bit COM object. SalesLogix is a 32-bit app always, even on a 64-bit machine. 


See this article for more on the 32 & 64 bit interpreters: http://blogs.msdn.com/b/helloworld/archive/2007/12/12/activex-component-can-t-create-object-when-creating-a-32-com-object-in-a-64-bit-machine.aspx


Ryan

[Reply][Quote]
Djie Tjoa
Posts: 4
 
Re: 32-bit app cannot create SalesLogix.ClientObjix on 64 bit OSYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Apr 13 4:28 PM

Thanks for the information. I'll check around more on the problem pc to make sure.

[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/22/2024 10:20:12 AM