Main > Software Forum

Johnny 5 and LedWiz

<< < (13/22) > >>

RandyT:

If the OCX isn't in the folder with the app, then the application is going to error out before it makes it that far.  Also, the size of the file has to be less than 64k to use the loadresdata function, so that will limit things as well. 

Am I missing something?

RandyT

loadman:
Great to see you guys working together   ;)


--- Quote ---Just to clarify... I might... keyword might add ledwiz support to dk in the future.  The thing is I'm not sure what a fe has to do with cp lights. I suppose I could have lights to go with skins, but right now it seems too much form and not enough function for my tastes.
--- End quote ---

FYI.
For DK 'function wise' you may want to do something similar to MaLa where you have the option of having the appropriate buttons light up when you highlight a game
and
have the added 'option' of leaving the appropriate Leds on while Mame (or other emu) is running. (for those of us who don't want/need J5 or similar tool)

And as for 'form' ....'attract mode' while the CAB is sitting there doing nothing is pretty sexy.

I love that stuff





Howard_Casto:

--- Quote from: RandyT on August 10, 2006, 05:09:55 pm ---
If the OCX isn't in the folder with the app, then the application is going to error out before it makes it that far.  Also, the size of the file has to be less than 64k to use the loadresdata function, so that will limit things as well. 

Am I missing something?

RandyT


--- End quote ---

Yeah the 64k limit is the part about it not always working.

A program doesn't error out until the ocx in question is actually called upon, unless it's a form control (which yours isn't).  As long as you do the check before you call the ocx of anything, you are good to go.

RandyT:

--- Quote from: Howard_Casto on August 10, 2006, 07:22:11 pm ---A program doesn't error out until the ocx in question is actually called upon, unless it's a form control (which yours isn't).  As long as you do the check before you call the ocx of anything, you are good to go.

--- End quote ---

Ahh, yes.  Should have figured that one out myself by trying it with a program that doesn't call the control immediately.  :P

I suppose the 64k limit can be overcome as well if one were to write a little utility to split up files into 64k chunks and then re-assemble them afterwards.  Seems like too much work to hide a file though. 

Still an interesting item to know for future reference.

RandyT

Howard_Casto:
Well it's not so much for hiding the files rather than managing the files, especially if you have a bunch of em.  Also it eliminates a lot of user error.  If your user moves the exe and forgets to move the rest of the stuff the function will re-generate it, so they can delete that original folder without error. 

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version