Restored from previous forum. Originally posted by Rings.
Yes i know that there are more than 1 workarounds for that function,
but i think its an most wanted one.A lot of Apis use predefinied Strings and i size them with a Space-Command.
Procedure.s GetExeName()
szPath$=Space$(255) ;Fills with 255 Blanks
result=GetModuleFileName_(0, szPath$, 255)
ProcedureReturn szPath$
EndProcedure
Its a long way to the top if you wanna .....CodeGuru
[Implemented] Space(Count)
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm