Hello all,
I just made some modification in the SDK area of the wiki (for now, only english)
I try to organise it a bit.
Feedback are welcome.
PS : what about the Delphi section, is it obsolete, or we just lake a Delphi coder/maintener to make a Delphi version of SDK V2 ?
SDK area update
-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
another update,
wiki SDK CPP area
two user modules examples with sources added
edit : and thanks a lots to woodslanding for the english grammar correction
wiki SDK CPP area
two user modules examples with sources added
edit : and thanks a lots to woodslanding for the english grammar correction
Martin FLEURENT - Usine Developer - SDK maintainer
Hello martignasse
i tried to compile your new module.
no problem with RollArray but DisplayNumber doesn't compile. i have two errors :
error C2664: 'CreateFontW' : impossible de convertir le paramètre 14 de 'const char [6]' en 'LPCWSTR'
1> Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction
error C2664: 'DrawTextW' : impossible de convertir le paramètre 2 de 'PCHAR' en 'LPCWSTR'
1> Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction
is it good for you or my visual studio configuration doesnot work correctly ? ( the same for all projects)
about new module and complete the wiki that we told during the workshop i will try to add some new things as soon as my knowledge of the SDK allow me.
i tried to compile your new module.
no problem with RollArray but DisplayNumber doesn't compile. i have two errors :
error C2664: 'CreateFontW' : impossible de convertir le paramètre 14 de 'const char [6]' en 'LPCWSTR'
1> Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction
error C2664: 'DrawTextW' : impossible de convertir le paramètre 2 de 'PCHAR' en 'LPCWSTR'
1> Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction
is it good for you or my visual studio configuration doesnot work correctly ? ( the same for all projects)
about new module and complete the wiki that we told during the workshop i will try to add some new things as soon as my knowledge of the SDK allow me.
-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
oups :/pansoul wrote:no problem with RollArray but DisplayNumber doesn't compile. i have two errors :
error C2664: 'CreateFontW' : impossible de convertir le paramètre 14 de 'const char [6]' en 'LPCWSTR'
1> Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction
error C2664: 'DrawTextW' : impossible de convertir le paramètre 2 de 'PCHAR' en 'LPCWSTR'
1> Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction
is it good for you or my visual studio configuration doesnot work correctly ? ( the same for all projects)
I can reproduce the problem in 'debug mode', 'release mode' compile ok, can you confirm.
There is an error in the 'debug mode' project properties :
'Configuration properties->general->character set' should be set to 'undefined', instead of 'unicode'.
('Propriétés de configuration->général->jeu de caractères' devrait être à 'non défini' au jieu de 'unicode')
it was making GDI function try to cast normal char string to Unicode one, obviously not possible.
It's corrected in the download file, tel me if all is ok now.
No problem, take your time.about new module and complete the wiki that we told during the workshop i will try to add some new things as soon as my knowledge of the SDK allow me.
The idea is to be 'more than one' in the future to provide regular update and feedback at SDK level.
For example, i had time to make a lot of wiki and forum entry at SDK level this WE , but can't do that all the time. The goal is to be less intensive, but more regular.
Thanks man, you already making good job with this feedback
Martin FLEURENT - Usine Developer - SDK maintainer
Who is online
Users browsing this forum: No registered users and 45 guests
