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

C / C++ / MFC

 
QuestionXMLHttpRequest POST message flow. Pin
Neville Franks6-Feb-08 9:25
Neville Franks6-Feb-08 9:25 
GeneralRe: XMLHttpRequest POST message flow. Pin
led mike8-Feb-08 8:41
led mike8-Feb-08 8:41 
GeneralRe: XMLHttpRequest POST message flow. Pin
Neville Franks8-Feb-08 9:53
Neville Franks8-Feb-08 9:53 
GeneralRe: XMLHttpRequest POST message flow. Pin
led mike8-Feb-08 10:10
led mike8-Feb-08 10:10 
GeneralRe: XMLHttpRequest POST message flow. Pin
Neville Franks8-Feb-08 10:56
Neville Franks8-Feb-08 10:56 
GeneralRe: XMLHttpRequest POST message flow. Pin
led mike8-Feb-08 11:16
led mike8-Feb-08 11:16 
GeneralRe: XMLHttpRequest POST message flow. Pin
Neville Franks8-Feb-08 12:14
Neville Franks8-Feb-08 12:14 
Generalcalling code with MFC in non MFC environment Pin
act_x6-Feb-08 8:16
act_x6-Feb-08 8:16 
I am developing a COM based exe that needs some already available functionality ( which exists in the form a static library using MFC ( MFC statically linked ) ). The API's exposed by the static library use primitive data types such as int , unsigned char etc .


However when I include the static library in the COM project, it gives me a linker error about some CString's used .

This is how the code is organized


static library header file mystatic.h
int LibFunc1( int in, char *out) ;
static library source file mystatic.cpp
int LibFunc1( int in, char *out) <br />
{<br />
<br />
   .. <br />
   CString s = "Hello"; <br />
}




Com Component using static library
#include "mystatic.h"<br />
<br />
<br />
..<br />
..<br />
LibFunc1(x, y)



I am wondering if there is a better way of re-using this as I dont want to rewrite the static library logic .

Help is appreciated.

Engineering is the effort !

GeneralRe: calling code with MFC in non MFC environment Pin
Mark Salsbery6-Feb-08 8:48
Mark Salsbery6-Feb-08 8:48 
GeneralRe: calling code with MFC in non MFC environment Pin
act_x6-Feb-08 8:51
act_x6-Feb-08 8:51 
GeneralRe: calling code with MFC in non MFC environment Pin
act_x6-Feb-08 8:52
act_x6-Feb-08 8:52 
GeneralRe: calling code with MFC in non MFC environment Pin
Mark Salsbery6-Feb-08 9:00
Mark Salsbery6-Feb-08 9:00 
GeneralNamedpipe communication Pin
harsha u6-Feb-08 5:52
harsha u6-Feb-08 5:52 
GeneralRe: Namedpipe communication Pin
Mark Salsbery6-Feb-08 6:09
Mark Salsbery6-Feb-08 6:09 
GeneralD3DXCreateTextureFromFile() Pin
Hanan8886-Feb-08 5:43
Hanan8886-Feb-08 5:43 
GeneralRe: D3DXCreateTextureFromFile() Pin
Cedric Moonen6-Feb-08 7:27
Cedric Moonen6-Feb-08 7:27 
GeneralRe: D3DXCreateTextureFromFile() Pin
Hanan8886-Feb-08 22:18
Hanan8886-Feb-08 22:18 
GeneralRe: D3DXCreateTextureFromFile() Pin
Cedric Moonen7-Feb-08 0:09
Cedric Moonen7-Feb-08 0:09 
GeneralRe: D3DXCreateTextureFromFile() Pin
Hanan8887-Feb-08 0:44
Hanan8887-Feb-08 0:44 
GeneralRe: D3DXCreateTextureFromFile() Pin
Maximilien6-Feb-08 8:11
Maximilien6-Feb-08 8:11 
GeneralRe: D3DXCreateTextureFromFile() Pin
Hanan8886-Feb-08 22:24
Hanan8886-Feb-08 22:24 
Questionhow to convert hex to int Pin
Electronic756-Feb-08 5:21
Electronic756-Feb-08 5:21 
AnswerRe: how to convert hex to int Pin
David Crow6-Feb-08 5:46
David Crow6-Feb-08 5:46 
GeneralRe: how to convert hex to int Pin
Electronic756-Feb-08 5:51
Electronic756-Feb-08 5:51 
AnswerRe: how to convert hex to int Pin
CPallini6-Feb-08 5:57
mveCPallini6-Feb-08 5: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.