Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGDI+ and DirectX/direct video output Pin
Roman Nurik6-Feb-03 11:04
Roman Nurik6-Feb-03 11:04 
Question__ftol2 ?? where did it come from? .NET? Pin
Jared Allen6-Feb-03 10:24
Jared Allen6-Feb-03 10:24 
AnswerRe: __ftol2 ?? where did it come from? .NET? Pin
Joaquín M López Muñoz6-Feb-03 10:37
Joaquín M López Muñoz6-Feb-03 10:37 
GeneralRe: __ftol2 ?? where did it come from? .NET? Pin
Chris Losinger6-Feb-03 10:50
professionalChris Losinger6-Feb-03 10:50 
GeneralRe: __ftol2 ?? where did it come from? .NET? Pin
Jared Allen6-Feb-03 11:51
Jared Allen6-Feb-03 11:51 
GeneralRe: __ftol2 ?? where did it come from? .NET? Pin
Chris Losinger6-Feb-03 12:20
professionalChris Losinger6-Feb-03 12:20 
QuestioncreateThread , Prototype, and extren call correctness? Pin
Pecan2046-Feb-03 7:42
Pecan2046-Feb-03 7:42 
AnswerRe: createThread , Prototype, and extren call correctness? Pin
Joaquín M López Muñoz6-Feb-03 9:13
Joaquín M López Muñoz6-Feb-03 9:13 
DWORD WINAPI FTREND3(LPVOID);
extern "C" __declspec(dllimport) long _stdcall FTREND3 ( long );
These two lines shouldn't coexist. Both are function prototypes. Remove the first.
As for the second problem, main is exiting right after the thread has been launched, i.e. it without waiting for it to complete. Try replacing
CloseHandle(hThread);
for
CloseHandle(hThread);
WaitForSingleObect(hThread,INFIINTE);
Last point is not a question of yours but of mine Smile | :) What do you want to create a thread to call FTREND3? You sure you cannot simply call it as a regular C function?



Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: createThread , Prototype, and extren call correctness? Pin
Pecan2046-Feb-03 15:14
Pecan2046-Feb-03 15:14 
GeneralDetect Audio CD Pin
Demian Panello6-Feb-03 7:12
Demian Panello6-Feb-03 7:12 
GeneralRe: Detect Audio CD Pin
Valeria Bogdevich7-Feb-03 2:41
Valeria Bogdevich7-Feb-03 2:41 
GeneralRe: Detect Audio CD Pin
Demian Panello7-Feb-03 6:45
Demian Panello7-Feb-03 6:45 
QuestionRunning a thread in non-paged memory? Pin
Michael D Bray6-Feb-03 6:43
Michael D Bray6-Feb-03 6:43 
AnswerRe: Running a thread in non-paged memory? Pin
Felix Gartsman6-Feb-03 7:15
Felix Gartsman6-Feb-03 7:15 
GeneralControlling the mime types used with CHtmlView Pin
Obliterator6-Feb-03 6:02
Obliterator6-Feb-03 6:02 
GeneralDebugging functions placed in the header file... Pin
Joan M6-Feb-03 5:19
professionalJoan M6-Feb-03 5:19 
GeneralRe: Debugging functions placed in the header file... Pin
Ian Darling6-Feb-03 5:41
Ian Darling6-Feb-03 5:41 
GeneralRe: Debugging functions placed in the header file... Pin
Joan M6-Feb-03 5:51
professionalJoan M6-Feb-03 5:51 
GeneralRe: Debugging functions placed in the header file... Pin
Ian Darling6-Feb-03 6:03
Ian Darling6-Feb-03 6:03 
Generalwhy? Pin
Joan M6-Feb-03 6:17
professionalJoan M6-Feb-03 6:17 
GeneralRe: why? Pin
Joaquín M López Muñoz6-Feb-03 7:12
Joaquín M López Muñoz6-Feb-03 7:12 
GeneralRe: why? Pin
Joan M6-Feb-03 21:25
professionalJoan M6-Feb-03 21:25 
GeneralRe: why? Pin
Joaquín M López Muñoz6-Feb-03 21:30
Joaquín M López Muñoz6-Feb-03 21:30 
GeneralRe: why? Pin
Joan M6-Feb-03 22:03
professionalJoan M6-Feb-03 22:03 
GeneralRe: Debugging functions placed in the header file... Pin
-=jarl=-6-Feb-03 10:13
-=jarl=-6-Feb-03 10:13 

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.