Information générale
Catégorie:
Gestionnaire de projet
>No, not yet. But one other thing I noticed. In other files option of Project, you can include all sorts of files. Now I wonder if I can do following things
>i) My application uses few ReadOnly text files. Since data in the files should not be touched by End User, can I some how include this file in my EXE and refer to it?
As far as I tryed it, you can. But since this problem with BMPs... I'm sure you can include a Config.fpw, for example.
>ii) I have created True Type Fonts which are used in my application only. Can I include .FOT file in EXE & use it.
I think you must register first any new font. I never done it by program, but look at AddFontResource(), RemoveFontResource() in Win32Api. There are also some messages to be send when you add/remove fonts.
>I have some APIs in mind to do that, but how exactly I should use.
>Fox example (GETMODULE, FINDRESOURCE & LOADRESOURCE APIs can be used. But I am not being successful yet. Do you have any idea?
Again, as far as I know, fonts are not resources (e.g. I don't think you can include them in a resource file).
So, no much help...
Vlad
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement