| Skinning Discussions All things skin related |
 |
|
May 30th, 2008, 07:14 PM
|
#11 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Nov 2006
Location: RI, USA
Vehicle: 03 Accord EX
Posts: 1,407
|
Quote:
Originally Posted by Zorro
Yes there is a way for 2.0, not for 1.4x, which makes it impossible right now to add this feature.
I will move all my plugins to 2.0 soon (which means 1.4x will not be supported anymore).
|
Is it possible to check for the CF version information in the code? So, if its 2.0 or above, it will do some method to disable gestures. If not, it will ignore it.
|
|
|
May 30th, 2008, 08:14 PM
|
#12 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
|
Quote:
Originally Posted by malaki86
Now - can ya come up with one to disable my screensaver & display power management while the vehicle is in motion? Or even just disable it while CF is running?
|
Nope.
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
|
|
|
May 30th, 2008, 08:17 PM
|
#13 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
|
Quote:
Originally Posted by nintwala
Is it possible to check for the CF version information in the code? So, if its 2.0 or above, it will do some method to disable gestures. If not, it will ignore it.
|
Don't you think, if there was a way I would have done it in first place?
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
|
|
|
May 30th, 2008, 08:40 PM
|
#14 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Nov 2006
Location: RI, USA
Vehicle: 03 Accord EX
Posts: 1,407
|
Quote:
Originally Posted by Zorro
Don't you think, if there was a way I would have done it in first place?

|
I shouldn't have doubted the mighty Zorro.
My apologies.
|
|
|
May 31st, 2008, 01:40 AM
|
#15 (permalink)
|
|
Moderator
Join Date: Nov 2007
Location: Germany, Löbau
Vehicle: Fiat Stilo (5D) 1.9JTD 115HP
Posts: 2,170
|
Thanks Zorro, great work!
|
|
|
June 2nd, 2008, 03:42 AM
|
#16 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Oct 2005
Location: Vancouver, Canada
Vehicle: Acura RSX Type-S
Posts: 357
|
Quote:
Originally Posted by Zorro
Don't you think, if there was a way I would have done it in first place?

|
Whoah! Was that a cranky day or does your ego need a little whittling?
Let me provide the code to do so...it's not at all as clean as I'd like it but it does the job.
Your going to have to port the few lines from Delphi.net to your language of choice...
Code:
Plugin_Init
...
DLLVersion:=Test.LoadFrom('C:\Program Files (x86)\Flux Media\Centrafuse\cfplugin.dll').GetName.Version.major.ToString;
Test.free \\we really don't need this anymore, free up some memory
\\DLLVersion is a string Test is Class System.Reflection.Assembly I use major version you could use version.minor as well for future bulids
...
Plugin_Show
...
if DLLVersion = '2' then
Begin
CF_SetGraffitiRecognition(False);
End;
...
//Then create an close button action to CF_SetGraffitiRecognition(True)
Plugin_Close
...
if DLLVersion = '2' then
Begin
CF_SetGraffitiRecognition(True);
End;
Think this will do what you want it do, works for me.
__________________
Development Effort:
DSATX Plugin 1.01 [---------|] 99.9% (CF3.1)
CentraSkin Editor V.70 [-|--------] 20%
Get CentraSkin V.601!!!!
If you like what you see, Please support my development efforts
|
|
|
June 2nd, 2008, 05:32 AM
|
#17 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
|
Quote:
Originally Posted by Zerach
Whoah! Was that a cranky day or does your ego need a little whittling? 
Think this will do what you want it do, works for me.
|
Neither the one nor the other.
As .NET loads the plugin it'll check the existance of the methods used against the referenced assemblies and since the graffiti methods don't exist in 1.47 it'll raise an Thread exception and the whole plugin becomes "invalid".
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
|
|
|
June 2nd, 2008, 10:42 AM
|
#18 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Nov 2006
Location: RI, USA
Vehicle: 03 Accord EX
Posts: 1,407
|
Once everyone and everything is switched over to CF 2.0 everything will be A-OK.
No need to stress over my silly issue.  I have patience... I think somewhere... I just have to find it.
|
|
|
June 3rd, 2008, 03:57 AM
|
#19 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Oct 2005
Location: Vancouver, Canada
Vehicle: Acura RSX Type-S
Posts: 357
|
Quote:
Originally Posted by Zorro
Neither the one nor the other.
As .NET loads the plugin it'll check the existance of the methods used against the referenced assemblies and since the graffiti methods don't exist in 1.47 it'll raise an Thread exception and the whole plugin becomes "invalid".
|
Ahh I see...I thought you were saying you could not turn off grafitti. I did not check the lower CF plugin out.
You could always go with a simple solution and build 2 different dll's one for 1.47 and one for 2.0. You could even go farther and create a dll which checks the CFPlugin.dll version and then loads the correct assembly for your dll in plugininit and executes the correct procedures.
I'm going to have to try a few things out now, got me curious
Quote:
Once everyone and everything is switched over to CF 2.0 everything will be A-OK.
No need to stress over my silly issue. I have patience... I think somewhere... I just have to find it. Yesterday 02:32 AM
|
Oh pish posh....stoking the fires for debate in the name of one up-manship is what makes life worth living....programming worth doing and competition worth competing in.
No Harm no foul, no ones stressing...at least I hope not
__________________
Development Effort:
DSATX Plugin 1.01 [---------|] 99.9% (CF3.1)
CentraSkin Editor V.70 [-|--------] 20%
Get CentraSkin V.601!!!!
If you like what you see, Please support my development efforts
|
|
|
June 3rd, 2008, 09:40 AM
|
#20 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Nov 2006
Location: RI, USA
Vehicle: 03 Accord EX
Posts: 1,407
|
hmmm.... pish posh.... Its been a very long time since I have heard that term.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|