FAQ   Search   Memberlist   Usergroups   Register   Profile   Log in to check your private messages   Log in 

Mac stub?

 
Post new topic   Reply to topic    Tech Solutions Product Support Forums Forum Index -> NTLogon
View previous topic :: View next topic  
Author Message
mlarue



Joined: 20 Sep 2007
Posts: 4

PostPosted: Thu Sep 20, 2007 5:15 pm    Post subject: Mac stub? Reply with quote

Hi, do you have a Mac stub of the plugin available?

Makes life a little easier when programming on a Mac (although obviously this will only be used on a PC).

Thanks!
Back to top
View user's profile Send private message
mylesw
Site Admin


Joined: 20 Dec 2004
Posts: 319
Location: Scottsdale, Arizona

PostPosted: Thu Sep 20, 2007 10:39 pm    Post subject: Reply with quote

We don't have one for this, but its easy enough to make one. Check 4D NUG for instructions.

Myles
_________________
Myles Wakeham
Director of Engineering
Tech Solutions, USA Inc.
myles@techsol.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mlarue



Joined: 20 Sep 2007
Posts: 4

PostPosted: Thu Sep 20, 2007 11:47 pm    Post subject: Reply with quote

mylesw wrote:
We don't have one for this, but its easy enough to make one. Check 4D NUG for instructions.

Myles


Hi Myles,

Thanks for your quick reply. I did do just that; however, the template "stub" files don't seem to be available anymore. There's a good reference on how to do this from 4DToday:

http://4dtoday.com/archives?g=tips&s=one&id=59

However, the stub is on the 4DZine site, which has died and gone away. Rob doesn't seem to have these on his site, either. (As you can see, I did hunt around a bit... Smile )

I tried simply running the Win4DX plugin files through the 4D Transporter application to make a Mac plugin; this does seem to work, as it shows the command as tokenized in the method editor. It appears to compile without error, too. (Obviously, the function doesn't work on the Mac, but this is where I do most of my development work, so I just need to get this to compile. In the code, I check to see if it's on Windows before executing the command.)

Is this going to work, or am I doing something horribly wrong with this?

(And if anyone's got a Mac stub handy and would like to post or send it, I'd be much obliged...)

Cheers!

Michael Larue
Back to top
View user's profile Send private message
mylesw
Site Admin


Joined: 20 Dec 2004
Posts: 319
Location: Scottsdale, Arizona

PostPosted: Fri Sep 21, 2007 1:27 am    Post subject: Reply with quote

Have you tried to wrap the calls in an EXECUTE statement (so that the call is to a string rather than a direct call)? This would allow you to get past the compiler restrictions.

Myles
_________________
Myles Wakeham
Director of Engineering
Tech Solutions, USA Inc.
myles@techsol.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mlarue



Joined: 20 Sep 2007
Posts: 4

PostPosted: Fri Sep 21, 2007 11:07 am    Post subject: Reply with quote

mylesw wrote:
Have you tried to wrap the calls in an EXECUTE statement (so that the call is to a string rather than a direct call)? This would allow you to get past the compiler restrictions.

Myles


Hi Myles,

Good idea! If my original plan doesn't work, I'll try this next.

(Fortunately there's only a single line of code that has to be handled in this manner, so it's quite easy to manage.)

Thanks for your assistance,

Michael Larue
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Tech Solutions Product Support Forums Forum Index -> NTLogon All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Theme xand created by spleen.