Searching a File

Started by Frank Bruebach, February 06, 2026, 04:35:28 PM

Previous topic - Next topic

Frank Bruebach


hello jose, where and in which of afxnova include files I can found

a) AfxStrParseCount() ?
b) AfxStrParse() ?

code snippet
DIM cws AS dwstring
               IF LEN(cws) THEN
                     DIM nItems AS LONG = AfxStrParseCount(cws)
                     IF nItems THEN
                        DIM cwsPath AS DWSTRING = AfxStrParse(cws, 1)
                        MessageBoxW(hwnd, cwsPath, "Path", MB_OK)
                        FOR i AS LONG = 2 TO nItems
                           MessageBoxW(hwnd, AfxStrParse(cws, i), "File", MB_OK)
                        NEXT
                     END IF
                  END IF

thanks, frank
               

Paul Squires

Paul Squires
PlanetSquires Software

Frank Bruebach

hello paul thanks for your feedback.  yes I know this file but had problem to install
new AfxNova files (copy paste) in a new folder AfxNova2 I have named it. then the "AfxNova/AfxStr.inc" file was missing with Error Message by compiling dont know why.
I copied this file seperately to my templates example folder
#include once "AfxStr.inc" and my example works ok.
I am using tiko 1.2.6. perhaps its a problem by downloading from jose's github repository with AfxNova files.
I noticed this strange behaviour last days.

wish to have a nice weekend 


José Roca

You must copy them in the AfxNova folder, not a folder with a different name, because they use #include once AfxNova/... If you use a different folder name, the file is not found.

Frank Bruebach

#4
yes I know. its all ok here. my folder AfxNova2 contains all your updated files.
subfolder below name is Afxnova havent changed that. I have installed tiko 1.2.6 again and all is working like I wished.

I am trying to build a new Editor with afxnova files.  You Made a very great Job Jose There are more than 2000 files you have built.. its a pity only few people have recognized this Special winapi wrapper Format (SDK)   for freebasic.. I came from Powerbasic Site too and  it was Not so easy at the beginning to understand freebasic language with all new constructor type declaration Handling ...

thanks, frank