Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalbitmaps in statusbar Pin
Crash Operator6-Feb-03 13:20
Crash Operator6-Feb-03 13:20 
GeneralRe: bitmaps in statusbar Pin
-Dy6-Feb-03 23:04
-Dy6-Feb-03 23:04 
GeneralNot to Get Black background image Pin
mkashifkkj6-Feb-03 13:06
mkashifkkj6-Feb-03 13:06 
Generalavaoiding flicker on CUSTOMDRAW Pin
User 98856-Feb-03 12:39
User 98856-Feb-03 12:39 
GeneralRe: avaoiding flicker on CUSTOMDRAW Pin
Moak7-Feb-03 1:09
Moak7-Feb-03 1:09 
GeneralCHeaderCtrl Pin
User 98856-Feb-03 12:30
User 98856-Feb-03 12:30 
GeneralRe: CHeaderCtrl Pin
OBRon7-Feb-03 4:17
OBRon7-Feb-03 4:17 
GeneralRe: CHeaderCtrl Pin
User 98857-Feb-03 4:31
User 98857-Feb-03 4:31 
GeneralCoding database ! Pin
Hadi Rezaee6-Feb-03 11:50
Hadi Rezaee6-Feb-03 11:50 
GeneralRe: Coding database ! Pin
Anonymous6-Feb-03 11:57
Anonymous6-Feb-03 11:57 
GeneralRe: Coding database ! Pin
Hadi Rezaee6-Feb-03 12:21
Hadi Rezaee6-Feb-03 12:21 
GeneralRe: Coding database ! Pin
Willem B7-Feb-03 2:18
Willem B7-Feb-03 2:18 
QuestionGet Network namnes and there IP ? Pin
Larsson6-Feb-03 11:36
Larsson6-Feb-03 11:36 
AnswerRe: Get Network namnes and there IP ? Pin
palbano6-Feb-03 15:20
palbano6-Feb-03 15:20 
GeneralRe: Get Network namnes and there IP ? Pin
Larsson12-Feb-03 5:48
Larsson12-Feb-03 5:48 
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 

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.