Hi

And what is the value of "usrCp" argument?
For me the code works just fine.

Best Regards,
Igor


On Fri, Feb 7, 2020 at 12:22 AM Anthony <harter...@gmail.com> wrote:

> Hello,
>
> I am new to ignite C++. I am using windows 10, VS community.
>
> I keep getting Access Violation when I am trying to run the following code.
>
> #include<iostream>
> #include<ignite/ignition.h>
> using namespace ignite;
>
> int main() {
> IgniteConfiguration cfg;
> Ignite node = Ignition::Start(cfg);
> std::cout << "node started" << std::endl;
> return 0;
> }
>
> Can anyone help with that?
>
> The error was generated from:
>
> std::string NormalizeClasspath(const std::string& usrCp)
>         {
>             if (usrCp.empty() || *usrCp.rbegin() == ';')
>                 return usrCp;
>
>             return usrCp + ';';
>         }
> Following are the error messages:
>
> Exception thrown at 0x00007FFBADD635D6 (ignite.jni.dll) in Project1.exe:
> 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF. occurred
>
> Thank you !!
>

Reply via email to