PlanetSquires Forums

Support Forums => José Roca Software => Topic started by: Frank Bruebach on February 06, 2026, 04:35:28 PM

Title: Searching a File
Post by: Frank Bruebach on February 06, 2026, 04:35:28 PM

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
               
Title: Re: Searching a File
Post by: Paul Squires on February 06, 2026, 05:27:54 PM
AfxStr.inc
Title: Re: Searching a File
Post by: Frank Bruebach on February 07, 2026, 04:38:58 AM
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 

Title: Re: Searching a File
Post by: José Roca on February 07, 2026, 11:22:01 AM
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.
Title: Re: Searching a File
Post by: Frank Bruebach on February 07, 2026, 02:33:26 PM
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