Welcome to %s forums

BrainModular Users Forum

Login Register

SDK area update

All about the Usine Manuals & Wiki
Post Reply
martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 06 May 2009, 12:16

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 ?
Martin FLEURENT - Usine Developer - SDK maintainer

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 09 May 2009, 22:15

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 ;)
Martin FLEURENT - Usine Developer - SDK maintainer

pansoul
Member
Posts: 39
Contact:

Unread post by pansoul » 11 May 2009, 03:08

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.

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 11 May 2009, 08:52

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 :)
Martin FLEURENT - Usine Developer - SDK maintainer

pansoul
Member
Posts: 39
Contact:

Unread post by pansoul » 11 May 2009, 12:44

ok it works in release and debug now

Post Reply

Who is online

Users browsing this forum: No registered users and 131 guests