Hi, I created a softlink using the following code but how can i delete the softlink itself "C:\My Softlink\" without actually deleting its contents from "C:\My Folder\". Prototype pCreateSoftLink(lpSymlinkFileName.p-Unicode, lpTargetFileName.p-Unicode, dwFlags) Procedure.i Create...
Works here under Windows and Linux with all compilers. Except under macOS C-backend (Invalid ASM Code) EnableExplicit DeclareModule Main Declare.i Create() Interface IPublic Run.i() EndInterface Interface IPrivate Extends IPublic Endian.i(val.l) EndInterface EndDeclareModule Module Main EnableExpli...
Don't use ASM with C-Backend. Its not work with ARM processors ... Link: ASM and C-Backend bswap16/32/64 Thanks this seems to be what i was looking for. Procedure bswap32(value.l) CompilerIf #PB_Compiler_Backend = #PB_Backend_C !return __builtin_bswap32(v_value); CompilerElse !mov eax, dword [p.v_v...
Hi, i am using the C backend compiler and "Optimize generated code" option turned on. Endian() here produces the wrong result when it is compiled WITHOUT DEBUGGER, running it with debugger the result is correct. EnableExplicit DeclareModule Main Declare.i Create() Interface IPublic Run.i()...
Hi, i have a weird bug that i can not really reproduce in a small code, i can only try to explain what happens and how i "fixed" it, but maybe it can still be of help. I basically have this code where i call a procedure using the string output from another procedure. When i call DoSomethin...
Hello, i need a way to detect if a window is totally hidden by other windows that are on top of it. I think it can be done by examining all visible windows and getting their dimensions with GetWindowRect_() but i dont know how i can combine all the different window dimensions to figure out if my win...
I don't know if it's related or not, but maybe the flag: #PB_HTTP_NoSSLCheck could do the job? Yes that fixed it! :mrgreen: Does anyone know why PB_HTTP_NoSSLCheck is needed for some sites, is this a bug or what could be the reason? Opening those same urls in a browser works always without a problem.
Hello, i have the problem that ReceiveHTTPMemory() and other commands from the HTTP library often fail where as using libcurl and setting #CURLOPT_SSL_VERIFYPEER to 0 will make the download work. Is There any way to use: curl_easy_setopt(handle, #CURLOPT_SSL_VERIFYPEER, 0) for the normal HTTP librar...