NO

Recent Posts

Pages: [1] 2 3 ... 10
1
Feature requests / Re: Optimal background color...
« Last post by d3dx on Yesterday at 12:21:11 am »
Wow! Thank you very much! :)
2
General discussions / Re: Pelles-C and CURL
« Last post by alderman on February 18, 2019, 12:21:20 pm »
How do I install it in Pelles C?
Go on github clicking this link.
There you can download a zip of the project, or clone it on your computer.
To install it on your system you have to copy lib, dll and header files in the correct directories:
  • Header files:
    Headers are in the directory 'include\Curl'.
    Copy the whole subdirectory 'Curl' under '$(PellesCDir)\Include'
  • 32bits development:
    All 32 bits binaries are under the directory 'X86'.
    • 32 bits libraries:
      Copy all library files '*.lib' from 'X86' to '$(PellesCDir)\Lib\Win'
    • 32bits DLL:
      Copy Dll's from 'X86' to '$(SystemRoot)\SysWOW64' (that normally is "C:\Windows\SysWOW64").
  • 64bits development:
    All 64 bits binaries are under the directory 'X64'.
    • 64 bits libraries:
      Copy all library files '*.lib' from 'X64' to '$(PellesCDir)\Lib\Win64'
    • 64bits DLL:
      Copy Dll's from 'X64' to '$(SystemRoot)\System32' (that normally is "C:\Windows\System32").
  • Executables:
    Depending on your OS/preferences, copy the 32bits executables from 'X86' directory, or the 64bits executables from 'X64' directory.
    Copy them to a directory listed in the system '$(PATH)' if you want have them available from command line.
THANKS!!
You saved hours of my time!
3
General discussions / Re: Pelles-C and CURL
« Last post by frankie on February 18, 2019, 11:59:24 am »
How do I install it in Pelles C?
Go on github clicking this link.
There you can download a zip of the project, or clone it on your computer.
To install it on your system you have to copy lib, dll and header files in the correct directories:
  • Header files:
    Headers are in the directory 'include\Curl'.
    Copy the whole subdirectory 'Curl' under '$(PellesCDir)\Include'
  • 32bits development:
    All 32 bits binaries are under the directory 'X86'.
    • 32 bits libraries:
      Copy all library files '*.lib' from 'X86' to '$(PellesCDir)\Lib\Win'
    • 32bits DLL:
      Copy Dll's from 'X86' to '$(SystemRoot)\SysWOW64' (that normally is "C:\Windows\SysWOW64").
  • 64bits development:
    All 64 bits binaries are under the directory 'X64'.
    • 64 bits libraries:
      Copy all library files '*.lib' from 'X64' to '$(PellesCDir)\Lib\Win64'
    • 64bits DLL:
      Copy Dll's from 'X64' to '$(SystemRoot)\System32' (that normally is "C:\Windows\System32").
  • Executables:
    Depending on your OS/preferences, copy the 32bits executables from 'X86' directory, or the 64bits executables from 'X64' directory.
    Copy them to a directory listed in the system '$(PATH)' if you want have them available from command line.
4
Expert questions / Re: Error repaint .ICO
« Last post by TimoVJL on February 18, 2019, 08:59:50 am »
The problem might be a windows icon cache.
Try to refresh icons with this example:
Code: [Select]
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
//#include <shlobj.h> // slow
#pragma comment(lib, "shell32.lib")
#define SHCNE_ASSOCCHANGED  0x08000000L
#define SHCNF_IDLIST  0x0000
__declspec(dllimport) void WINAPI SHChangeNotify(LONG, UINT, LPCVOID, LPCVOID);
void __cdecl WinMainCRTStartup(void)
{
SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, NULL, NULL);
ExitProcess(0);
}
Quote
Applications that register new handlers of any type must call SHChangeNotify with the SHCNE_ASSOCCHANGED flag to instruct the Shell to invalidate the icon and thumbnail cache. This will also load new icon and thumbnail handlers that have been registered. Note, however, that icon overlay handlers are not reloaded.
5
General discussions / Re: Pelles-C and CURL
« Last post by alderman on February 18, 2019, 12:27:46 am »
I wasn't aware that Curl was already tuned for PellesC!  :o
Anyway I produced a port, 32/64bits, availabe on github.
The sample is compiled with Windows Security Support Provider Interface (SSPI).
Awesome!
How do I install it in Pelles C?
6
Expert questions / Error repaint .ICO
« Last post by alderman on February 18, 2019, 12:12:51 am »
On Google-eng:
........................

I get a strange error.
When I redraw a .ico to a program, .ico is changed as I drew it. But to the .exe file, the old one still remains. When I start .exe I see the new one in the window that opens.

I did some tests and redesigned some .ico files. When I finish, I put them in the same .exe as above. The first .ico is left !!!

Can't change to another .ICO file once you have used a .ICO file?



On Swe:
....................

Jag får ett märkligt fel.
När jag ritar om en .ico till ett program blir .ico ändrad som jag ritat den. Men till .exe-filen sitter den gamla kvar fortfarande. När jag startar .exe ser jag den nya i fönstret som öppnas.

Jag gjorde några tester och ritade om några .ico-filer. När jag är klar lägger jag in dem i samma .exe som ovan. Den första .ico är kvar!!!

Går det inte ändra till annan .ICO-fil när man en gång använt en .ICO-fil?
7
General discussions / Re: Pelles-C and CURL
« Last post by frankie on February 18, 2019, 12:03:57 am »
I wasn't aware that Curl was already tuned for PellesC!  :o
Anyway I produced a port, 32/64bits, availabe on github.
The sample is compiled with Windows Security Support Provider Interface (SSPI).
8
Beginner questions / Re: Is there any easier abroad to made gui in C?
« Last post by TimoVJL on February 13, 2019, 05:37:56 pm »
Programmers usually lost their interest to those RADs when they learn more about programming.
They just use proper code templates and add required code for their applications.
PellesC offers a good Add-In interfaces to make some helpers.
9
Beginner questions / Re: Is there any easier abroad to made gui in C?
« Last post by cnoob on February 13, 2019, 03:25:04 pm »
In Windows you can use Borland C++ Builder. Very simple to paint controls in Form , and "code" something such as "button1-click-enable"))

And the main program code (such as working with file, network or what you want) you can write in C.

And that thing is not free  ;)
10
Beginner questions / Re: Unable to find or execute POCC.EXE
« Last post by frankie on February 10, 2019, 11:32:47 am »
The internal processing of cc could add quotes, or using a CreteProcess() function the executable path is taken directly without need of quotes.
The driver compiler command cc is something coming from long time ago, and can conflict if you have more different compilers installed. To use pocc directly is the preferred solution.
Pages: [1] 2 3 ... 10