Hello,
I want to use the sisync... functions (with siappdll.dll) and I always have the same result : SI_SYNC_WRONG_HASHCODE
For information all non sisync... functions work well
Does anybody have any ideas about this problem?
Thanks in advance.
Philippe
Sisync functions
Moderator: Moderators
The hashcode is calculated by the siapp library when you get a sync request from the driver. You can't sync until you get one of these. To get one, you have to have APPLICATION_CONTROLS_BUTTONS = true in your application's .scg file (which means you need to make an scg file for your application).
Once you get a sync request event, you should be able to call the SiSync functions using that SiHdl.
Once you get a sync request event, you should be able to call the SiSync functions using that SiHdl.
No there is no way via the sync api to choose a specific scg file. The scg that is used is saved in the registry. Before you start mucking around in the registry though, the new driver doesn't use the registry, so anything you do now will be broken when 3DxWare 7 is released.
Make sure your scg file has the correct executable name. You'll have to edit it with notepad. Make sure it isn't using "*.*". Then you need to switch to it once in the GUI. The relationship of that exe to scg will be saved in the registry and it should be used next time you start your app.
Make sure your scg file has the correct executable name. You'll have to edit it with notepad. Make sure it isn't using "*.*". Then you need to switch to it once in the GUI. The relationship of that exe to scg will be saved in the registry and it should be used next time you start your app.