Page 1 of 1

Posted: 06 May 2009, 12:16
by martignasse
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 ?

Posted: 09 May 2009, 22:15
by martignasse
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 ;)

Posted: 11 May 2009, 03:08
by pansoul
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.

Posted: 11 May 2009, 08:52
by martignasse
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)
oups :/
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.

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.
No problem, take your time.

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 :)

Posted: 11 May 2009, 12:44
by pansoul
ok it works in release and debug now