Ich habs so gemacht:
c_dll.cpp:
long APIENTRY xyz (long a) { return (a); }
c_dll.def:
LIBARY c_dll
EXPORTS
xyz @1
VB:
private declare function xyz lib "c_dll" (byval a as long)
Des funkt auch, is aber anders wie das oben -> gibts dadurch Probleme oder Unterschiede??
=======================================
Andere Frage: ist es auch möglich C-Klassen zu exportieren und in VB zu verwenden?
____________________________________
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
|