Hi, I do not have cygwin installed so i am using visual studio, it gave a error while compiling 'uninitialized local variable 'm1' used' That should be fixed.
If you did not get a segfault, it is pure luck :) UNS8 LIBAPI canReceive_driver(CAN_HANDLE fd0, Message *m) { Message_ * m1; <cut> int res = reinterpret_cast<canDev*>(fd0)->canReceive_driver(m1); You might want to turn on a loot of the compiler warnings as it will help finding bugs. As soon as you have fixed the bug i can take a new look. Happy coding! Best Regards Lars On Tue, Apr 17, 2018 at 2:32 PM, <canfestival-devel@lists.sourceforge.net> wrote: > hi all > I need your help. > I added my source for my_virtual_can driver. > I want to run TestMasterSlave with that. > Its dll is built okay, but when I run it the nodes go to initial state and > then pre operational, > Then the master node goes to post_sync and stuck on that. > please look in my codes and guide me why my program doesn't go to slave boot > up state and other states, > I'll be grateful for any help > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Canfestival-devel mailing list > Canfestival-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/canfestival-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Canfestival-devel mailing list Canfestival-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/canfestival-devel