|
-
June 29th, 2009, 02:49 PM
#1
komunikations USMCDLL.dll
Kod:
// Motory.cpp : main project file.
#pragma warning(disable : 4996) // Disable warnings about some functions in VS 2005
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <stdio.h>
#include <tchar.h>
#include <conio.h>
#include <process.h>
#include "USMCDLL.h"
#include "stdafx.h"
#include "Form1.h"
[STAThreadAttribute]
USMC_Devices DVS;
DWORD Dev;
using namespace System;
using namespace Motory;
Chybová hlášky(Error):
.\Motory.cpp(14) : error C2337: 'STAThreadAttribute' : attribute not found
.\Motory.cpp(16) : error C2146: syntax error : missing ';' before identifier 'DVS'
.\Motory.cpp(16) : error C2470: 'USMC_Devices' : looks like a function definition, but there is no parameter list; skipping apparent body
.\Motory.cpp(16) : fatal error C1004: unexpected end-of-file found
-
June 29th, 2009, 02:57 PM
#2
Re: komunikations USMCDLL.dll
I think your program contains errors.
-
June 29th, 2009, 03:05 PM
#3
Re: komunikations USMCDLL.dll
Also, your application is written in managed C++ (C++/CLI), and there's a forum devoted to that language extension. You'll need to post in that forum to continue in managed C++ or C++/CLI.
If my post was interesting or helpful, perhaps you would consider clicking the 'rate this post' to let me know (middle icon of the group in the upper right of the post).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|