GithubHelp home page GithubHelp logo

Comments (10)

hosseinmoein avatar hosseinmoein commented on May 25, 2024

Do you mean the Windows DLL? If so, I am not familiar with Windows development environment. May be @SpaceIm or @yssource can help

from dataframe.

fxsts avatar fxsts commented on May 25, 2024

Yes, Windows DLL. Whether the dataframe is compiled into a static library or a dynamic library, when used in Windows DLLs, get_ column return empty vector. However, in executable programs or static libraries, the returned data is correct.

from dataframe.

hosseinmoein avatar hosseinmoein commented on May 25, 2024

This may help
https://stackoverflow.com/questions/44612626/dll-static-vector-which-is-filled-up-at-dll-s-initialization-time-returns-zer
But, as I said I am not a Windows programmer.

from dataframe.

fxsts avatar fxsts commented on May 25, 2024

After many tests, DataFrame cannot be used in the windows dll, and the returned vector is empty. For example, A is an executable program that defines DataFrame instance D1; B is dll, A passes D1(a reference or pointer) to B, adds data in B, uses get_column in A to get the data of D1, and returns a vector that is still empty. Is it related to DataFrame using vector?

from dataframe.

hosseinmoein avatar hosseinmoein commented on May 25, 2024

I am not a windows programmer but my gut feeling is that you are not using DLL the correct way. DLL is a very convoluted piece of engineering.
You either have to ask a Windows programmer expert or open a question in stack overflow.

from dataframe.

fxsts avatar fxsts commented on May 25, 2024

from dataframe.

hosseinmoein avatar hosseinmoein commented on May 25, 2024

Writing it here doesn't help. Open an issue on stack overflow and describe it in terms of STL vectors.

from dataframe.

fxsts avatar fxsts commented on May 25, 2024

Sorry,Mr. Hosseinmoein,not replying on time, the following is a little personal understanding:
1, in the windows dll encountered the get_column return empty vector problem, and there is no error or stack overflow problem, the reason is most likely std::vector in windows itself (SIOF).
2, dataframe uses std::vector to store column data, and SIOF problems are inevitable when used in windows dll.
3. I don't know if dataframe has any plans to promote under windows, and I don't know if other containers can be used to avoid this problem.

from dataframe.

hosseinmoein avatar hosseinmoein commented on May 25, 2024

DataFrame is being used by several teams on Windows. So It is already useable on Windows.
By "stack overflow" I mean the internet site (https://stackoverflow.com) where you can go and ask questions. Since I don't know Windows programing, I suggest you go to stack overflow and ask the question there.

from dataframe.

fxsts avatar fxsts commented on May 25, 2024

Currently, this problem only occurs in windows dll, static libraries and executables on windows systems are normal, as are linux and mac os.
I wonder if I could refer one of the teams to ask how to use dataframe in windows dll.

from dataframe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.