Comments (10)
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.
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.
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.
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.
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.
from dataframe.
Writing it here doesn't help. Open an issue on stack overflow and describe it in terms of STL vectors.
from dataframe.
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.
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.
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)
- No write to file example HOT 4
- Dataframe length HOT 2
- Plausibility of adapting for C++17 in a fork? HOT 2
- How to filter the DataFrame? HOT 1
- conflict with include <windows.h> HOT 1
- Aggregate visitors can't be used in groupby HOT 3
- Error: specializing member ‘hmdf::DataFrame<int, hmdf::HeteroVector<0> >::set_lock’ requires ‘template<>’ syntax| HOT 9
- Use of std::shared_mutex with shared_lock instead of native locks defined in ThreadGranularity.h HOT 2
- DateTime: Issue with parsing ISO datetime HOT 6
- StdVisitor error with user-defined type HOT 4
- MedianVisitor giving wrong result HOT 2
- Issues while compiling with DataFrame headers HOT 4
- test failed HOT 2
- load_column from single_act_visit.get_result() HOT 3
- failed to compile tests and examples in ubuntu HOT 2
- The `DataFrame.h` occurred an error: `In included file: unknown type name 'requires'` HOT 3
- Compile Failed with `VERSION 2.0.0` HOT 3
- How can I convert the `Eigen Matrix` to `DataFrame` or `DataFrame` to `Eigen Matrix`? HOT 4
- Error compiling on Linux x86_64 with g++ 14.0.1 or Clang 17.0.6 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataframe.