Click here to Skip to main content
15,889,344 members
Home / Discussions / C#
   

C#

 
GeneralC# applect param pass problem Pin
aw1ay26-Aug-03 20:34
aw1ay26-Aug-03 20:34 
GeneralGPRS communication - PocketPC-SmartPhone.. Pin
ZippyBubbleHead26-Aug-03 20:14
ZippyBubbleHead26-Aug-03 20:14 
Generalhelp option... Pin
Member 52474026-Aug-03 20:05
Member 52474026-Aug-03 20:05 
GeneralRe: help option... Pin
Kannan Kalyanaraman27-Aug-03 23:19
Kannan Kalyanaraman27-Aug-03 23:19 
Generalchecking items in a ListView Pin
Member 50926226-Aug-03 20:02
Member 50926226-Aug-03 20:02 
GeneralRe: checking items in a ListView Pin
ZippyBubbleHead26-Aug-03 20:38
ZippyBubbleHead26-Aug-03 20:38 
GeneralRe: checking items in a ListView Pin
Member 50926226-Aug-03 21:55
Member 50926226-Aug-03 21:55 
General#include "wincrypt" Pin
devvvy26-Aug-03 19:06
devvvy26-Aug-03 19:06 
trying to use CAPI, so I included the header on top of my WIN32 console app:

#include "stdafx.h"

#using <mscorlib.dll>
#include <tchar.h>

#include "wincrypt.h" <--- remove this, all problems are gone?

using namespace System;

// This is the entry point for this application
int _tmain(void)
{



return 0;
}
C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\WinCrypt.h(37): error C2146: syntax error : missing ';' before identifier 'HRESULT'

The error trace to this line here:
#ifndef _HRESULT_DEFINED
#define _HRESULT_DEFINED
typedef LONG HRESULT; <-- THIS LINE


Any idea?




norm
GeneralRe: #include &quot;wincrypt&quot; Pin
David Stone26-Aug-03 19:40
sitebuilderDavid Stone26-Aug-03 19:40 
GeneralRe: #include &quot;wincrypt&quot; Pin
devvvy26-Aug-03 19:54
devvvy26-Aug-03 19:54 
GeneralGetting an intersect of a color Pin
Ista26-Aug-03 16:01
Ista26-Aug-03 16:01 
GeneralRe: Getting an intersect of a color Pin
Christian Graus26-Aug-03 16:11
protectorChristian Graus26-Aug-03 16:11 
GeneralRe: Getting an intersect of a color Pin
Ista26-Aug-03 16:12
Ista26-Aug-03 16:12 
GeneralRe: Getting an intersect of a color Pin
Christian Graus26-Aug-03 16:14
protectorChristian Graus26-Aug-03 16:14 
GeneralRe: Getting an intersect of a color Pin
Ista26-Aug-03 16:17
Ista26-Aug-03 16:17 
GeneralRe: Getting an intersect of a color Pin
Christian Graus26-Aug-03 16:20
protectorChristian Graus26-Aug-03 16:20 
GeneralRe: Getting an intersect of a color Pin
Ista26-Aug-03 16:22
Ista26-Aug-03 16:22 
GeneralRe: Getting an intersect of a color Pin
Christian Graus26-Aug-03 16:23
protectorChristian Graus26-Aug-03 16:23 
GeneralRe: Getting an intersect of a color Pin
Philip Fitzsimons27-Aug-03 2:45
Philip Fitzsimons27-Aug-03 2:45 
GeneralRe: Getting an intersect of a color Pin
Ista27-Aug-03 3:37
Ista27-Aug-03 3:37 
GeneralRe: Getting an intersect of a color Pin
Philip Fitzsimons27-Aug-03 3:54
Philip Fitzsimons27-Aug-03 3:54 
GeneralRe: Getting an intersect of a color Pin
Rein Hillmann27-Aug-03 7:59
Rein Hillmann27-Aug-03 7:59 
GeneralRe: Getting an intersect of a color Pin
Ista27-Aug-03 11:03
Ista27-Aug-03 11:03 
GeneralRe: Getting an intersect of a color Pin
Rein Hillmann27-Aug-03 12:03
Rein Hillmann27-Aug-03 12:03 
GeneralRe: Getting an intersect of a color Pin
Roger Alsing28-Aug-03 2:05
Roger Alsing28-Aug-03 2:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.