> I don't have too much time and experience in programing

Without time and experience it is really not easy I guess. Maybe you can hire 
someone?

Unfortunately I do know nothing about VirtualBasic. Maybe the calling 
convention of your OnClick proc is wrong? For C procs I used cdecl pragma, you 
may need one also, maybe a different one. You get the crash when you click a 
button, so I would guess that your onClick proc is one problem. Can you pass 
nil when you register that onclick proc? When that is possible, and no crash 
occurs, then you may know that that proc is the problem. Maybe you can remove 
the proc body from onclick proc, so that it immediately returns for testing. 
And test various calling conventions. 

Reply via email to