01-05-2008 06:31 AM
01-05-2008 08:10 AM
01-07-2008 03:01 AM
Thanks Mike
Actually I need to run the counting program in LabVIEW with the source of C++ program(imported into LabVIEW as dll)
C++ program is compiling successfully,the code
#include "stdafx.h"
#include <iostream.h>
#include <windows.h>
#include <conio.h>
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
_declspec (dllexport) int a (int counter)
{
for (counter=1;
counter<=1000;
counter++)
return counter;
}
Thanks
Veera
01-07-2008 08:44 AM
_declspec (dllexport) int a (int counter)
{
for (counter=1; counter<=1000; counter++)
counter ++
return counter;
}