Please help: I need a simple dll which can be read by C-Script. I have done the function coding which runs in VC++ Express but I cannot manage to get a dll to compile despite the help from the C++ SDK download.


using namespace System;

//name of dll function

DLLFUNC var MSecs()
{
int window = 10; // eliminate this in dll
int time1;

DateTime d1 = DateTime::Now;
time1 = d1.Millisecond + 1000*d1.Second;
return time1;
}

I am willing to pay for your efforts, is $50 US fair?

Please mail a floppy or CD to:

Carl Rosenberg MD
108 Cowpath Rd
Lansdale, PA 19446

or email me at cerosenberg@att.net

Please include your name and address so I may mail a check. Of course the function will need to work and I can only pay for the first working solution I recieve.

I wish to thank all who help and hope someone out there is listening. I need this for my research. By the way, timing with "ticks" will not work as they are too variable. I know that there is only a 16 millisec accuracy but I have not discovered a way to do better.

Sincerely,

Carl Rosenberg MD


Researcher & clinician. A6, A7, & A8
First computer a Commodore Pet