NO

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
General discussions / Re: Pelles-C and CURL
« Last post by alderman on December 02, 2017, 10:40:39 pm »
This is a sample of use of a precompiled libcurl.
I compiled url2file demo using Stefan Kanthak libraries that you can download from here.
I included the relevant libraries in the example.
Note that the demo execute in the library folder so the executable can find the DLL.

I'll try to create a PellesC port when I'll have time
I'll look at it. Thanks!
Interesting that you are thinking of port it to PellesC, I look forward to it.
22
General discussions / Re: Pelles-C and CURL
« Last post by frankie on December 02, 2017, 06:33:49 pm »
This is a sample of use of a precompiled libcurl.
I compiled url2file demo using Stefan Kanthak libraries that you can download from here.
I included the relevant libraries in the example.
Note that the demo execute in the library folder so the executable can find the DLL.

I'll try to create a PellesC port when I'll have time
23
Assembly discussions / PoAsm & ERRORLEVEL
« Last post by Jokaste on December 01, 2017, 08:25:32 pm »
I want to launch poasm into a bat file.
Does poasm initialize an ERRORLEVEL?
Which values?
And PoLink?
Example :

"C:\Program Files\PellesC\Bin\poasm.exe" -AAMD64 -Gr -V2 "C:\Users\Grincheux\Documents\Assembleur\E\Test.asm"
IF ERRORLEVEL 1 GOTO Errors
@Echo Assembling phase ended
"C:\Program Files\PellesC\Bin\polink.exe" -subsystem:windows -machine:x64 -release -largeaddressaware -osversion:6.10 -out:"
C:\Users\Grincheux\Documents\Assembleur\E\Test.exe" "C:\Users\Grincheux\Documents\Assembleur\E\Test.obj"
ERRORLEVEL 1 GOTO Errors
@Echo Linking phase ended
@Echo Build Ended
@Exit
:Errors
@Echo PoAsm found errors in this files during compilation
@EXIT
24
Add-ins / Re: HelpView Addin (use the Visual studio help system in PEllesC IDE)
« Last post by frankie on December 01, 2017, 10:55:09 am »
There is not so much info about help 2.x on the net.
Anyway a good point to start is http://hv2.helpmvp.com/home.
A tool to migrate help 1.x can be found here: http://mshcmigrate.helpmvp.com/.
Info to manage help 2.x from MS are here: https://msdn.microsoft.com/en-us/library/hh492077(v=vs.110).
Various info can be fond on http://thirdblogfromthesun.com/2011/05/create-a-basic-help-file-for-the-microsoft-help-viewer/.
I hope this helps...  ;)

P.S. Help 2.x cannot be accessed using a network protocol.
25
Add-ins / Re: HelpView Addin (use the Visual studio help system in PellesC IDE)
« Last post by TimoVJL on November 30, 2017, 06:23:51 pm »
Have anyone seen a local viewer for those .mshc files?

Documentation ISO 2.7/4GB

EDIT: Or just download some new help cab's from MS, about 300 MB.
Using this
Code: [Select]
;Windows Desktop App Development
[Server]
URL=https://offlinebook.mtps.microsoft.com/2fdcd860-b91b-4808-8e5d-49a457b2c468/
[Files]
File_1=v2Windows Desktop App Development_en-us_vs.85_0(b25d1053-6a3f-d38d-f7b1-baf2f30af078).cab
File_2=v2Windows Desktop App Development_en-us_vs.85_1(03aa0b59-bc51-92fe-786b-ba657f2b4200).cab
File_3=v2Windows Desktop App Development_en-us_vs.85_2(5d25098a-db2f-25f5-b2ed-03f6ad62b110).cab
File_4=v2Windows Desktop App Development_en-us_vs.85_3(031d3411-a97d-938f-4670-5fdb1f7eed3b).cab
File_5=v2Windows Desktop App Development_en-us_vs.85_4(e125c1e2-da3b-d29e-5448-0697d7155074).cab
File_6=v2Windows Desktop App Development_en-us_vs.85_5(e2ee8606-de36-ef9c-d915-8925cf72bcae).cab
File_7=v2Windows Desktop App Development_en-us_vs.85_6(2a916792-e581-5e4b-8085-366d14ad4148).cab
File_8=v2Windows Desktop App Development_en-us_vs.85_7(919d6f43-17ab-a8fa-595c-7823eb9deeaa).cab
File_9=v2Windows Desktop App Development_en-us_vs.85_8(c3a16ea1-ac71-fb99-1d1f-e470e574d4bd).cab
File_10=v2Windows Desktop App Development_en-us_vs.85_9(9320b800-4b1e-bd77-8fdd-a35550fefea6).cab
File_11=v2Windows Desktop App Development_en-us_vs.85_10(3930d14e-dbec-007a-6aea-a20f0f11a2ae).cab
File_12=v2Windows Desktop App Development_en-us_vs.85_11(7040b047-9d8b-a034-3f27-950684bba092).cab
26
Add-ins / Re: HelpView Addin (use the Visual studio help system in PEllesC IDE)
« Last post by frankie on November 29, 2017, 01:33:10 pm »
JJ
To update contents you must log as an administrator:
Quote
Sent by Microsoft on 09/02/2015 14:45
Hi Seva Alekseyev. Thank you for submitting this issue. Unfortunately this is a limitation of the current help viewer. To install online content you must be logged in as an administrator on that machine. We have a suggestion tracking this improvement for a future release but will close this bug because we do not use Connect bugs to track product suggestions.
For full issue description see here.

P.S. What you need for WinAPI is in "Windows Desktop App development"  ;).
27
Add-ins / Re: HelpView Addin (use the Visual studio help system in PEllesC IDE)
« Last post by jj2007 on November 29, 2017, 10:00:23 am »
Please use the new version that should solve the problem.

Now it works, kind of: takes ages to open a browser-type page saying "No content was found on your computer". Even the third time it still takes over two seconds to see that page. Oh Micros**t...

Anyway, compliments, if my setup was ready for that, it would be a nice addition.

P.S.: I clicked on the manage content thing, and tried to install the basics, VS fundamentals and VS C++. No effect, then I discovered a tiny line saying "you had errors - click here". MsgBox:

Code: [Select]
The following errors occurred while performing the requested tasks:

An error occurred while updating content: Unable to update content. To install content from online,
switch to the user account you used to log on to the computer, and try again.

I am on that account, of course. Just for fun, I could try Windows help now, but I don't want to spoil my whole day, so I will give up at this point. Bill Gates should be thrown into jail until he has paid everybody for the extra work that this s**tware has caused to Millions of users.
28
Beginner questions / Re: so why do I write int main(void){} and not int main(){}?
« Last post by TimoVJL on November 28, 2017, 01:55:36 pm »
C99
Quote
ISO/IEC 9899:TC2 Committee Draft — May 6, 2005 WG14/N1124
5.1.2.2.1 Program startup
1 The function called at program startup is named main. The implementation declares no
prototype for this function. It shall be defined with a return type of int and with no
parameters:
int main(void) { /* ... */ }
or with two parameters (referred to here as argc and argv, though any names may be
used, as they are local to the function in which they are declared):
int main(int argc, char *argv[]) { /* ... */ }
or equivalent; 9)
or in some other implementation-defined manner
29
Beginner questions / Re: so why do I write int main(void){} and not int main(){}?
« Last post by frankie on November 28, 2017, 01:29:12 pm »
There is a formal point and a practical point.
Formally ISO/IEC 9899:2011 §5.1.2.2.1 Program startup says:
Quote
The function called at program startup is named main. The implementation declares no prototype for this function. It shall be defined with a return type of int and with no parameters:
Code: [Select]
int main(void) { /* ... */ }or with two parameters (referred to here as argc and argv, though any names may be used, as they are local to the function in which they are declared):
Code: [Select]
int main(int argc, char *argv[]) { /* ... */ }or equivalent (thus, int can be replaced by a typedef name defined as int, or the type of argv can be written as char ** argv, and so on.); or in some other implementation-defined manner.

Practically a declaration with empty parenthesis is interpreted as a __cdecl function, and can create calling convention problems when writing code mixed with __stdcall, or other, calling conventions.
30
Beginner questions / What is __POCC_STD_VERSION__?
« Last post by ranadas on November 28, 2017, 01:25:54 pm »
What is the meaning of the following piece of screenshot found in "crtdef.h" in Pelles C Include Files.

Below is the attachment!!

Further what is the meaning on __POCC__ >=600 && !defined(__midl) ?

Please Help I'm an absolute beginner!

Also what is _CRTCHK(f,n,m)  function?
Pages: 1 2 [3] 4 5 ... 10