Skip to content

Commit

Permalink
Update dmcs6.c
Browse files Browse the repository at this point in the history
  • Loading branch information
lange50 committed Mar 17, 2022
1 parent 0e8e8b3 commit 5ecf5c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion FAST ComTec/mcs6adll/dll/dmcs6.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ UINT MM_GETVAL=0;

#pragma data_seg()

bool test()
{
return true;
}

BOOL APIENTRY DllMain(HANDLE hInst, DWORD ul_reason_being_called, LPVOID lpReserved)
{
return 1;
Expand Down Expand Up @@ -906,7 +911,7 @@ int APIENTRY BytearrayToShortarray(short *Shortarray, char *Bytearray, int lengt
return i;
}

int APIENTRY LedBlink(int nDev)
extern "C" int APIENTRY LedBlink(int nDev)
{
if (!hwndServer) hwndServer = FIND_WINDOW("MCS6A Server",NULL);
switch(nDev) {
Expand Down

0 comments on commit 5ecf5c7

Please sign in to comment.