PlanetSquires Forums

Support Forums => General Board => Topic started by: Israel Vega Alvarez on September 07, 2011, 10:12:43 PM

Title: My Little Grid Control with SLL in FF3
Post by: Israel Vega Alvarez on September 07, 2011, 10:12:43 PM
Hello to all

can someone tell me how to use the new version of My Little Grid Control   with SLL  ?

http://www.powerbasic.com/support/pbforums/showthread.php?t=48535 (http://www.powerbasic.com/support/pbforums/showthread.php?t=48535)

Thanks

Israel
Title: Re: My Little Grid Control with SLL in FF3
Post by: James Klutho on September 10, 2011, 04:18:39 PM
Israel

I do not think FF3 is set up for SLL a this point and I so not see a seamless way of doing so.  Paul is a very good programmer and if there is a way in FF4 to do it, Paul will figure it out.  The DLL verison of MLG is needed for the designer but in the SLL version, the DECLAREs that link the DLL need to be commented out by defining the MLGSLL constant before linking.

Jim
Title: Re: My Little Grid Control with SLL in FF3
Post by: David Kenny on September 10, 2011, 11:30:16 PM
James,

Actually, if you put things in the right places, it works fine.
I have included a simple project that uses an SLL that Stuart McLachlan posted in the PB Forums. Here is the link to his post for people who are interested:http://www.powerbasic.com/support/pbforums/showthread.php?t=48378&highlight=.sll (http://www.powerbasic.com/support/pbforums/showthread.php?t=48378&highlight=.sll)

Of course, I had to convert his test program to a FF3 project.  I placed the source code for the SLL in the root of the project folder and the compiled SLL in the Release folder.  That was simply so I didn't have to give a complete path in the #LINK directive.  There might be other places you could put the #LINK directive, but I chose to put it in FF_WinMain.  The same place where you would put #INCLUDE directives that you don't want FF to parse. 

David
Title: Re: My Little Grid Control with SLL in FF3
Post by: James Klutho on September 11, 2011, 11:39:19 AM
Thanks David.  That's good to know.

Jim