I have added:
# define GL2PSDLL_API
# define GL2PSDLL_API __declspec(dllexport)
and now it seems to work
Type: Posts; User: Whatever3
I have added:
# define GL2PSDLL_API
# define GL2PSDLL_API __declspec(dllexport)
and now it seems to work
Reopening. I have the dll but when I run DLL Export Viewer (DLL Export Viewer - view exported functions list in Windows DLL) over it, it does not give me the functions that I would expect from the .h...
Thank you for the information, a 'shl' in Pascal that is.
Hello,
Maybe a simple question, but I am trying to use a C dll in Pascal. For this I have to do some converstion. Now the only problem is that I dont understand what the '<<' means.
I have a...
Wow it worked with your pragma code! Thanks man! You don't know how happy I am right now, whereas it seemed to be not that hard as I suspected. Thanks!
Fixed the M_PI with:
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
Now I get:
1>gl2ps.c(3410): warning C4244: '=' : conversion from 'double' to 'GLfloat', possible loss...
1>------ Build started: Project: GL2PS, Configuration: Debug Win32 ------
1> gl2ps.c
1>gl2ps.c(3406): error C2065: 'M_PI' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0...
Hello,
I have found a library that I want to include in my program. I am a Pascal programmer and the library in written in C. It is GL2PS, to convert OpenGL drawings into images (EPS, PDF, SVG,...