Click here to Skip to main content
15,914,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dangling pointers ? Pin
Antony M Kancidrowski25-Oct-04 6:42
Antony M Kancidrowski25-Oct-04 6:42 
AnswerRe: dangling pointers ? Pin
Jim Crafton25-Oct-04 7:18
Jim Crafton25-Oct-04 7:18 
AnswerRe: dangling pointers ? Pin
Ravi Bhavnani25-Oct-04 13:37
professionalRavi Bhavnani25-Oct-04 13:37 
GeneralRe: dangling pointers ? Pin
Asim N.25-Oct-04 15:39
Asim N.25-Oct-04 15:39 
GeneralRe: dangling pointers ? Pin
One Stone25-Oct-04 22:36
One Stone25-Oct-04 22:36 
QuestionHow to share data between DLLs Pin
yanping wang25-Oct-04 3:43
yanping wang25-Oct-04 3:43 
AnswerRe: How to share data between DLLs Pin
David Crow25-Oct-04 5:00
David Crow25-Oct-04 5:00 
AnswerRe: How to share data between DLLs Pin
Blake Miller25-Oct-04 5:11
Blake Miller25-Oct-04 5:11 
Just in case it is sotehing as STUPID as this..

I notice the documentation shows /INCLUDE, but the sample shows this:
#pragma comment(linker, "include:__mySymbol")

So, as a suggestion, why don't you try using all lowercase for the word 'section':

#pragma comment(linker, "/section:Shared, RWS")

Also, you might want to call your section something besides 'Shared' so you don't confuse the compiler or linker over another keyword. Use your company initialz in front of it or something..

#pragma data_seg("YCIShared")
HWND g_hWndCaller = NULL;
HHOOK g_hHook = NULL;
#pragma data_seg()

#pragma comment(linker, "/section:YCIShared, RWS")


GeneralRenaming Registry Key Pin
sundu25-Oct-04 3:18
sundu25-Oct-04 3:18 
GeneralRe: Renaming Registry Key Pin
David Crow25-Oct-04 4:52
David Crow25-Oct-04 4:52 
GeneralShowing a console window launched as hidden with CreateProcess()... Pin
wallacebw25-Oct-04 3:05
wallacebw25-Oct-04 3:05 
GeneralAccessing a VB DLL's functions from C++ Pin
esordini25-Oct-04 2:48
esordini25-Oct-04 2:48 
GeneralRe: Accessing a VB DLL's functions from C++ Pin
Cedric Moonen25-Oct-04 2:59
Cedric Moonen25-Oct-04 2:59 
GeneralCalling non-activex dlls from Visual C++ Pin
esordini25-Oct-04 2:45
esordini25-Oct-04 2:45 
GeneralCopy tables between 2 SQL Servers Pin
tgprakash25-Oct-04 2:25
tgprakash25-Oct-04 2:25 
GeneralRe: Copy tables between 2 SQL Servers Pin
David Crow25-Oct-04 4:57
David Crow25-Oct-04 4:57 
GeneralRe: Copy tables between 2 SQL Servers Pin
tgprakash25-Oct-04 18:32
tgprakash25-Oct-04 18:32 
GeneralRe: Copy tables between 2 SQL Servers Pin
David Crow26-Oct-04 8:08
David Crow26-Oct-04 8:08 
GeneralFill a tagSAFEARRAY with VARIANTs Pin
anderslundsgard25-Oct-04 2:09
anderslundsgard25-Oct-04 2:09 
Generalraw serial IrDA-port Pin
shibby25-Oct-04 1:49
shibby25-Oct-04 1:49 
GeneralChanging Menu font size Pin
Member 144737325-Oct-04 1:41
Member 144737325-Oct-04 1:41 
Generalon com in .NET Pin
ppp00125-Oct-04 1:20
ppp00125-Oct-04 1:20 
GeneralRe: on com in .NET Pin
Kevin McFarlane25-Oct-04 1:32
Kevin McFarlane25-Oct-04 1:32 
GeneralUpdateWindow() vs InvalidateRect() Pin
J.B.25-Oct-04 0:33
J.B.25-Oct-04 0:33 
GeneralRe: UpdateWindow() vs InvalidateRect() Pin
J.B.25-Oct-04 5:00
J.B.25-Oct-04 5:00 

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.