Click here to Skip to main content
15,915,691 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Read Foxpro dbf files Pin
pk_fox5-Feb-03 23:38
pk_fox5-Feb-03 23:38 
GeneralRe: Read Foxpro dbf files Pin
Mike Nordell12-Feb-03 9:24
Mike Nordell12-Feb-03 9:24 
GeneralWin9x error Pin
Anonymous5-Feb-03 5:34
Anonymous5-Feb-03 5:34 
GeneralRe: Win9x error Pin
David Chamberlain5-Feb-03 6:07
David Chamberlain5-Feb-03 6:07 
GeneralRe: Win9x error Pin
Joaquín M López Muñoz5-Feb-03 8:36
Joaquín M López Muñoz5-Feb-03 8:36 
GeneralRe: Win9x error Pin
Anonymous5-Feb-03 22:57
Anonymous5-Feb-03 22:57 
GeneralRe: Win9x error Pin
Anonymous5-Feb-03 23:00
Anonymous5-Feb-03 23:00 
GeneralErrors in createthread file. Need help! Pin
Pecan2045-Feb-03 5:24
Pecan2045-Feb-03 5:24 
Hello, I am getting syntax errors in this file upon compile but I can't figure out what is wrong. Can someone comment?
Thanks.

The errors are:
cinterface3.cpp(17) : error C2065: 'DWORD' : undeclared identifier
cinterface3.cpp(17) : error C2146: syntax error : missing ';' before identifier 'tid'
cinterface3.cpp(17) : error C2065: 'tid' : undeclared identifier
cinterface3.cpp(19) : error C2065: 'HANDLE' : undeclared identifier
cinterface3.cpp(19) : error C2146: syntax error : missing ';' before identifier 'hThread'
cinterface3.cpp(19) : error C2065: 'hThread' : undeclared identifier
cinterface3.cpp(21) : error C2065: 'CreateThread' : undeclared identifier
cinterface3.cpp(23) : error C2146: syntax error : missing ';' before identifier 'CloseHandle'
cinterface3.cpp(23) : error C2065: 'CloseHandle' : undeclared identifier


#include <stdio.h>
#include <string.h>

struct io {
char time[10];
int start;
};

struct io cio;

extern "C" __declspec(dllimport) void _stdcall FTREND3
( long * );

void main (void)
{
DWORD tid, cio;

HANDLE hThread;

hThread = CreateThread(NULL, 0, FTREND3, &cio, 0, &tid)

CloseHandle(hThread);

printf("In c after fortran thread started\n\n");

printf("string = %s\n",cio.time);
}
GeneralRe: Errors in createthread file. Need help! Pin
Anonymous5-Feb-03 5:48
Anonymous5-Feb-03 5:48 
GeneralRe: Errors in createthread file. Need help! Pin
Anonymous5-Feb-03 5:56
Anonymous5-Feb-03 5:56 
GeneralRe: Errors in createthread file. Need help! Pin
-=jarl=-5-Feb-03 6:54
-=jarl=-5-Feb-03 6:54 
GeneralRe: Errors in createthread file. Need help! Pin
Pecan2045-Feb-03 8:15
Pecan2045-Feb-03 8:15 
GeneralGUI Dll Problems Pin
Ricky_TheBard5-Feb-03 5:08
Ricky_TheBard5-Feb-03 5:08 
GeneralGetDlgItem question. Pin
Maximilien5-Feb-03 4:13
Maximilien5-Feb-03 4:13 
GeneralRe: GetDlgItem question. Pin
Paul M Watt5-Feb-03 8:13
mentorPaul M Watt5-Feb-03 8:13 
GeneralRe: GetDlgItem question. Pin
Abbas_Riazi5-Feb-03 22:24
professionalAbbas_Riazi5-Feb-03 22:24 
Questionusing template functions as part of a class? is it possible? Pin
Joan M5-Feb-03 4:09
professionalJoan M5-Feb-03 4:09 
AnswerRe: using template functions as part of a class? is it possible? Pin
-=jarl=-5-Feb-03 4:36
-=jarl=-5-Feb-03 4:36 
GeneralRe: using template functions as part of a class? is it possible? Pin
Joan M5-Feb-03 4:44
professionalJoan M5-Feb-03 4:44 
GeneralRe: using template functions as part of a class? is it possible? Pin
-=jarl=-5-Feb-03 4:46
-=jarl=-5-Feb-03 4:46 
GeneralRe: using template functions as part of a class? is it possible? Pin
-=jarl=-5-Feb-03 4:48
-=jarl=-5-Feb-03 4:48 
AnswerRe: using template functions as part of a class? is it possible? Pin
Joaquín M López Muñoz5-Feb-03 8:14
Joaquín M López Muñoz5-Feb-03 8:14 
GeneralRe: using template functions as part of a class? is it possible? Pin
Joan M5-Feb-03 4:44
professionalJoan M5-Feb-03 4:44 
GeneralRe: using template functions as part of a class? is it possible? Pin
Joan M5-Feb-03 20:27
professionalJoan M5-Feb-03 20:27 
GeneralRe: using template functions as part of a class? is it possible? Pin
-=jarl=-5-Feb-03 4:57
-=jarl=-5-Feb-03 4:57 

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.